diff options
author | Björn Hagemeister | 2014-04-16 18:15:28 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-04-16 18:15:28 +0200 |
commit | 6d6041f03cd0e70563f12d5332050588ad6858e7 (patch) | |
tree | c8777d1421062c15d99c804aa2aa56142822876b /src/server/mainwindow/mainwindow.h | |
parent | Changed exit text to be "exit?" instead of "Beenden?". (diff) | |
download | pvs2-6d6041f03cd0e70563f12d5332050588ad6858e7.tar.gz pvs2-6d6041f03cd0e70563f12d5332050588ad6858e7.tar.xz pvs2-6d6041f03cd0e70563f12d5332050588ad6858e7.zip |
New feature. Download of tutor-ip-list and automated assingment.
TODO: Make source url configurable.
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 9b6c6d3..5d0bb18 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -4,6 +4,7 @@ #include <QtGui> #include <QMainWindow> #include "../net/client.h" +#include "../net/filedownloader.h" class SessionNameWindow; class ConnectionFrame; @@ -32,6 +33,8 @@ private: ListenServer *_listenServer; DiscoveryListener *_discoveryListener; qint64 _buttonBlockTime; + FileDownloader _fileDownloader; + QStringList _tutorList; void placeFrameInFreeSlot(ConnectionFrame* frame); ConnectionFrame* createFrame(); @@ -54,6 +57,7 @@ protected: protected slots: // This + void onTutorListDownloaded(QByteArray& tutorList); void onSessionNameClick(); void onSessionNameUpdate(); void onButtonSettings(); |