~klimczak-k/beaver-feeds/client

« back to all changes in this revision

Viewing changes to ui/mainwindow.h

  • Committer: Krzysztof Klimczak
  • Date: 2011-01-24 01:52:19 UTC
  • Revision ID: klimczak.k@gmail.com-20110124015219-yicivqucamv6ix23
*moved connection with server to own thread
*moved all settings keys to one file and put they into const variables

*some minor fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include <QMainWindow>
5
5
#include <QModelIndex>
6
6
#include <QCloseEvent>
 
7
#include <QStringList>
7
8
 
8
9
#include "connector.h"
9
10
#include "database_plugins/idatabase.h"
33
34
 
34
35
 
35
36
private slots:
 
37
        void threadStarted();
 
38
 
36
39
        void showItem(QModelIndex item);
37
40
        void showConfigDialog();
 
41
        void tryConnect();
 
42
 
 
43
        void connectSlot();
 
44
        void disconnectSlot();
 
45
        void hostNotFoundSlot();
 
46
        void connectionRefusedSlot();
 
47
        void sslErrorSlot(QStringList errors);
 
48
 
38
49
signals:
39
50
        void itemReaded(const QModelIndex &index);
 
51
        void connectToHostEncrypted(const QString &hostName, quint16 port);
40
52
};
41
53
 
42
54
#endif // MAINWINDOW_H