Copyright + contact info
[qcheapbastard.git] / qcheapbastard.h
blob55cf8f62c700a7440377062e24179bff84bd4836
1 #ifndef QCHEAPBASTARD_H
2 #define QCHEAPBASTARD_H
4 #include <QtGui>
5 #include <QtNetwork>
6 #include <qfile.h>
8 class QCheapBastard : public QWidget
10 Q_OBJECT
12 public:
13 QCheapBastard(QWidget *p = 0);
15 private slots:
16 void findDeals();
17 void viewDoubleClicked(QModelIndex);
18 private:
19 void parseResults();
20 void addResults(QList<QStandardItem *>);
21 void popNextOffer();
23 QSystemTrayIcon *trayIcon;
24 QHttp *http;
25 QFile *file;
26 int getId;
27 QListView *view;
28 QStandardItemModel *model;
29 QList<QStandardItem*> *list;
30 QTimer *timer;
31 QMenu *menu;
32 QQueue<QStandardItem*> *queue;
33 QStandardItem *currentOffer;
35 private slots:
36 void httpRequestFinished( int, bool );
37 void balloonClicked();
38 void activated( QSystemTrayIcon::ActivationReason );
40 #endif