Added missing comments.
[situare] / src / ui / ossoabookdialog.h
1 #ifndef OSSOABOOKDIALOG_H
2 #define OSSOABOOKDIALOG_H
3
4 #include <QObject>
5 #include <QStringList>
6
7 #undef signals // Collides with GTK symbols
8 #include <libosso-abook/osso-abook.h>
9
10 /**
11 * @brief Shows contact dialog.
12 */
13 class OssoABookDialog : public QObject
14 {
15     Q_OBJECT
16 public:
17     /**
18     * @brief Constructor
19     *
20     * @param parent QObject
21     */
22     OssoABookDialog(QObject *parent = 0);
23
24 /*******************************************************************************
25 * MEMBER FUNCTIONS AND SLOTS
26 ******************************************************************************/
27     /**
28     * @brief Shows contact dialog.
29     *
30     * @param id contact ID
31     */
32     static void showContactDialog(const QString &id);
33
34 private:
35     /**
36     * @brief Returns address book contact.
37     *
38     * @param id contact ID
39     * @return OssoABookContact
40     */
41     static OssoABookContact *lookup(const QString& id);
42 };
43
44 #endif // OSSOABOOKDIALOG_H