akonadi/contact
contactdefaultactions.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AKONADI_CONTACTDEFAULTACTIONS_H
00023 #define AKONADI_CONTACTDEFAULTACTIONS_H
00024
00025 #include "akonadi-contact_export.h"
00026
00027 #include <QtCore/QObject>
00028
00029 class KUrl;
00030
00031 namespace KABC {
00032 class Address;
00033 class PhoneNumber;
00034 }
00035
00036 namespace Akonadi {
00037
00086 class AKONADI_CONTACT_EXPORT ContactDefaultActions : public QObject
00087 {
00088 Q_OBJECT
00089
00090 public:
00096 ContactDefaultActions( QObject *parent = 0 );
00097
00101 virtual ~ContactDefaultActions();
00102
00107 void connectToView( QObject *view );
00108
00109 public Q_SLOTS:
00113 void showUrl( const KUrl &url );
00114
00120 void sendEmail( const QString &name, const QString &address );
00121
00126 void dialPhoneNumber( const KABC::PhoneNumber &number );
00127
00132 void showAddress( const KABC::Address &address );
00133
00134 private:
00135
00136 class Private;
00137 Private* const d;
00138
00139 };
00140
00141 }
00142
00143 #endif