diff options
Diffstat (limited to 'src/server/mainwindow/mainwindow.h')
-rw-r--r-- | src/server/mainwindow/mainwindow.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h index 4b23ae7..e5179ed 100644 --- a/src/server/mainwindow/mainwindow.h +++ b/src/server/mainwindow/mainwindow.h @@ -16,6 +16,10 @@ namespace Ui class MainWindow; } +/** + * Initializing MainWindow. + * Handle ButtonEvents and initialize ListenServer. + */ class MainWindow : public QMainWindow { Q_OBJECT @@ -24,6 +28,10 @@ private: Ui::MainWindow *ui; SessionNameWindow *_sessionNameWindow; QLabel *_sessionNameLabel; + + /** + * List of current clients in session. + */ QList<ConnectionFrame*> _clientFrames; int _tbIconSize; Qt::ToolBarArea _tbArea; @@ -31,7 +39,15 @@ private: int _timerId, _timerTimeout; ListenServer *_listenServer; DiscoveryListener *_discoveryListener; + + /** + * Downloader for IP - List of possible tutors. + */ FileDownloader _fileDownloader; + + /** + * Stored List of possible tutor IPs. + */ QStringList _tutorList; // Magic numbers |