example/DemoGUI/CustomListWidget.h
author cgandhi
Mon, 11 Oct 2010 21:59:54 +0530
changeset 26 83d6a149c755
parent 16 b78fa4cdbf2b
permissions -rw-r--r--
Submitting following changes - AuthApps for Last.fm and Twitter added API for checking ServiceAuthorization added for SMFCredMgrClient API added for forcefully removing credential details from SMFCredMgr Extra argument checks in SMfClient APIs APIs for service login and logout from SMFClient Redundant members removed from SmfServerSymbian DSM bug fixes Test Apps included
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     1
#ifndef CUSTOMLISTWIDGET_H
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     2
#define CUSTOMLISTWIDGET_H
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     3
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     4
#include <qlistwidget.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     5
#include <smfcontact.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     6
#include <smfpost.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     7
#include <smfactions.h>
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     8
#include "qmainwindow.h"
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
     9
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    10
class CustomListWidget : public QListWidget
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    11
{
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    12
public:
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    13
    CustomListWidget();
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    14
    //QWidget* CreateListwidget(QStrng aIconPath,QString aFirstLine,QString aSecondLine);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    15
    QWidget* CreateListwidget(SmfContactList* friendsList);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    16
    QWidget* CreateListwidget(SmfPostList *postsList);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    17
    QWidget* CreateListwidget(SmfActivityEntryList *activityList);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    18
    void AddListItem(QString aIconPath,QString aFirstLine,QString aSecondLine);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    19
    void AddListItem(QMainWindow *mainWindow,QStringList aIconPath, QStringList iconName);
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    20
    ~CustomListWidget();
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    21
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    22
};
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    23
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    24
b78fa4cdbf2b pushing the demo application
cgandhi
parents:
diff changeset
    25
#endif // CUSTOMLISTWIDGET_H