author | cgandhi <chandradeep.gandhi@sasken.com> |
Tue, 18 May 2010 17:33:55 +0530 | |
changeset 6 | c39a6cfd1fb9 |
permissions | -rw-r--r-- |
6
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
1 |
#ifndef TESTSCREEN_H |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
2 |
#define TESTSCREEN_H |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
3 |
|
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
4 |
#include <QtGui/QWidget> |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
5 |
#include "ui_SmfClientApp.h" |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
6 |
#include <smfcontactfetcher.h> |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
7 |
#include <smfpostprovider.h> |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
8 |
#include <QSplashScreen> |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
9 |
class TestScreen : public QWidget |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
10 |
{ |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
11 |
Q_OBJECT |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
12 |
|
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
13 |
public: |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
14 |
TestScreen(QWidget *parent = 0); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
15 |
~TestScreen(); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
16 |
//debugging |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
17 |
void writeLog(QString log) const; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
18 |
public slots: |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
19 |
void friendsButtonClicked(); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
20 |
void postsButtonClicked(); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
21 |
void showGroups(SmfGroupList* grps, SmfError , SmfResultPage); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
22 |
void showFriends(SmfContactList* frnds, SmfError , SmfResultPage); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
23 |
void showPosts(SmfPostList* postlist, SmfError error, SmfResultPage resultPage); |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
24 |
private: |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
25 |
Ui::SmfClientApp ui; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
26 |
SmfProvider* m_provider; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
27 |
SmfContactFetcher* m_contactFetcher; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
28 |
SmfPostProvider* m_postProvider; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
29 |
QList<SmfProvider>* providerList; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
30 |
QPixmap pixmap; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
31 |
QSplashScreen splash; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
32 |
}; |
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
33 |
|
c39a6cfd1fb9
Updating the source code for plugin manager, transport manager, smfserver and smfclient. sample plugins and tests are included
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
34 |
#endif // TESTSCREEN_H |