~klimczak-k/beaver-feeds/server

« back to all changes in this revision

Viewing changes to app/myapp.h

  • Committer: Krzysztof Klimczak
  • Date: 2011-01-31 05:44:57 UTC
  • Revision ID: klimczak.k@gmail.com-20110131054457-39goidzjg9qs26u2
*keys and default values of setting now stored in one place
*moved starting listening and connecting to db from main.cpp to MyApp

*testing connection with RSS channel

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#include <QApplication>
5
5
#include <QTranslator>
 
6
#include <QTimer>
 
7
 
 
8
#include "sslserver.h"
6
9
 
7
10
#include "systemtray.h"
8
11
 
 
12
#include "connector.h"
 
13
#include "xmlparser.h"
 
14
 
9
15
class MyApp : public QApplication
10
16
{
11
17
    Q_OBJECT
12
18
private:
13
19
        SystemTray *m_pTray;
 
20
        SSLServer *m_pServer;
14
21
 
 
22
        Connector m_connector;
 
23
        XMLParser m_parser;
 
24
        QTimer m_timer;
15
25
        QTranslator m_qtTranslator;
16
26
public:
17
27
        explicit MyApp( int & argc, char ** argv, bool GUIenabled = true );
18
28
        ~MyApp();
19
 
 
 
29
private slots:
 
30
        void gather();
20
31
signals:
21
32
 
22
33
public slots: