summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/mainwindow/mainwindow.cpp19
-rw-r--r--src/server/mainwindow/mainwindow.h10
2 files changed, 9 insertions, 20 deletions
diff --git a/src/server/mainwindow/mainwindow.cpp b/src/server/mainwindow/mainwindow.cpp
index 48afcd8..d48e32c 100644
--- a/src/server/mainwindow/mainwindow.cpp
+++ b/src/server/mainwindow/mainwindow.cpp
@@ -38,16 +38,15 @@
#include "ui_mainwindow.h"
#include "ui_reloadroom.h"
-
-const QString MainWindow::sStrTutorNdef = tr("No tutor defined.");
-const QString MainWindow::sStrTutorOffline = tr("Tutor is offline.");
-const QString MainWindow::sStrSourceNdef = tr("Please select a projection source.");
-const QString MainWindow::sStrSourceOffline = tr("The projection source is offline.");
-const QString MainWindow::sStrDestNdef = tr("Please select a projection destination.");
-const QString MainWindow::sStrDestOffline = tr("The projection destination is offline.");
-const QString MainWindow::sStrSourceDestSame = tr("Selected projection target is tutor.");
-const QString MainWindow::sStrClientOnline = tr("Selected client is currently online.");
-const QString MainWindow::sStrNoDestAv = tr("No projection destination available.");
+#define sStrTutorNdef MainWindow::tr("No tutor defined.")
+#define sStrTutorOffline MainWindow::tr("Tutor is offline.")
+#define sStrSourceNdef MainWindow::tr("Please select a projection source.")
+#define sStrSourceOffline MainWindow::tr("The projection source is offline.")
+#define sStrDestNdef MainWindow::tr("Please select a projection destination.")
+#define sStrDestOffline MainWindow::tr("The projection destination is offline.")
+#define sStrSourceDestSame MainWindow::tr("Selected projection target is tutor.")
+#define sStrClientOnline MainWindow::tr("Selected client is currently online.")
+#define sStrNoDestAv MainWindow::tr("No projection destination available.")
/***************************************************************************//**
* Initialize MainWindow and ListenServer.
diff --git a/src/server/mainwindow/mainwindow.h b/src/server/mainwindow/mainwindow.h
index 488ecc4..a4c73a2 100644
--- a/src/server/mainwindow/mainwindow.h
+++ b/src/server/mainwindow/mainwindow.h
@@ -66,16 +66,6 @@ private:
FileDownloader _fileDownloader;
QStringList _tutorList;
- static const QString sStrTutorNdef;
- static const QString sStrTutorOffline;
- static const QString sStrSourceNdef;
- static const QString sStrSourceOffline;
- static const QString sStrDestNdef;
- static const QString sStrDestOffline;
- static const QString sStrSourceDestSame;
- static const QString sStrClientOnline;
- static const QString sStrNoDestAv;
-
void placeFrameInFreeSlot(ConnectionFrame* frame);
ConnectionFrame* createFrame();
ConnectionFrame* createFrame(QString computerId, QPoint position);