diff options
author | Björn Hagemeister | 2014-04-28 19:35:59 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-04-28 19:35:59 +0200 |
commit | a2fd531c81ba0e895dff319b0597e45b4206273f (patch) | |
tree | 533ea0063eab4d4060f06b732c66e3c21f05ada9 /src/server/mainwindow/mainwindow.h | |
parent | recognize a dragmove only if the distance is larger than 40 px (diff) | |
download | pvs2-a2fd531c81ba0e895dff319b0597e45b4206273f.tar.gz pvs2-a2fd531c81ba0e895dff319b0597e45b4206273f.tar.xz pvs2-a2fd531c81ba0e895dff319b0597e45b4206273f.zip |
Adding comments for each method in the .cpp files and class definition in the .h files.
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 |