equal
deleted
inserted
replaced
1 #ifndef TESTSCREEN_H |
|
2 #define TESTSCREEN_H |
|
3 |
|
4 #include <QtGui/QWidget> |
|
5 #include "ui_SmfClientApp.h" |
|
6 #include <smfcontactfetcher.h> |
|
7 #include <smfpostprovider.h> |
|
8 #include <QSplashScreen> |
|
9 class TestScreen : public QWidget |
|
10 { |
|
11 Q_OBJECT |
|
12 |
|
13 public: |
|
14 TestScreen(QWidget *parent = 0); |
|
15 ~TestScreen(); |
|
16 //debugging |
|
17 void writeLog(QString log) const; |
|
18 public slots: |
|
19 void friendsButtonClicked(); |
|
20 void postsButtonClicked(); |
|
21 void showGroups(SmfGroupList* grps, SmfError , SmfResultPage); |
|
22 void showFriends(SmfContactList* frnds, SmfError , SmfResultPage); |
|
23 void showPosts(SmfPostList* postlist, SmfError error, SmfResultPage resultPage); |
|
24 private: |
|
25 Ui::SmfClientApp ui; |
|
26 SmfProvider* m_provider; |
|
27 SmfContactFetcher* m_contactFetcher; |
|
28 SmfPostProvider* m_postProvider; |
|
29 QList<SmfProvider>* providerList; |
|
30 QPixmap pixmap; |
|
31 QSplashScreen splash; |
|
32 }; |
|
33 |
|
34 #endif // TESTSCREEN_H |
|