diff options
author | Manuel Schneider | 2014-05-06 14:37:44 +0200 |
---|---|---|
committer | Manuel Schneider | 2014-05-06 15:16:20 +0200 |
commit | 35c3facc81cf10a2070cc5091e4e447ecc7416e3 (patch) | |
tree | 0a29051637a37d419407fa266cb1d8234666f9d6 /src/shared | |
parent | Reduces button block time (diff) | |
download | pvs2-35c3facc81cf10a2070cc5091e4e447ecc7416e3.tar.gz pvs2-35c3facc81cf10a2070cc5091e4e447ecc7416e3.tar.xz pvs2-35c3facc81cf10a2070cc5091e4e447ecc7416e3.zip |
Changes the approach of Qt Gui initialization to the member pointer approach. This means multiple inheritance is avoided and the form is now a member pointer of the class. Immlicitely renamed some ui elements for clearification. Again changed unnecessary use of QDialog to QWidget.
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/settings.h b/src/shared/settings.h index c1c45c1..2713693 100644 --- a/src/shared/settings.h +++ b/src/shared/settings.h @@ -1,6 +1,8 @@ #ifndef _SETTINGS_H_ #define _SETTINGS_H_ +#include <QString> + #define CLIENT_PORT 5194 static const QString CLIENT_PORT_STR(QString::number(CLIENT_PORT)); static const QByteArray CLIENT_PORT_ARRAY(QString::number(CLIENT_PORT).toUtf8()); |