diff options
author | Pekka Vuorela <pvuorela@iki.fi> | 2024-03-31 21:08:27 +0300 |
---|---|---|
committer | Pekka Vuorela <pvuorela@iki.fi> | 2024-04-01 09:31:24 +0300 |
commit | d18952aa8def7d2087f1ef18701adf8c5cbac2ca (patch) | |
tree | becea93d368c3106a34180eca1e8b589be613d91 /examples/qtmail/emailclient.h | |
parent | bdfc6a6dc57a65ea675e62e7ac1a193904add619 (diff) |
Remove SERVER_AS_DLL
I doubt this has been used anywhere in long time. Also for email client
example it feels a bit strange. And there's was nothing setting it
enabled on the example.
Change-Id: I7a408ed490a84789000f2db8eebfa8324b493846
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'examples/qtmail/emailclient.h')
-rw-r--r-- | examples/qtmail/emailclient.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/examples/qtmail/emailclient.h b/examples/qtmail/emailclient.h index 8b4fabba..8dea6992 100644 --- a/examples/qtmail/emailclient.h +++ b/examples/qtmail/emailclient.h @@ -44,9 +44,6 @@ #include <QSystemTrayIcon> #include <QTime> #include <QTimer> -#if defined(SERVER_AS_DLL) -#include <QThread> -#endif #include <QProcess> class EmailFolderModel; @@ -437,11 +434,7 @@ private: QMailMessageId lastDraftId; -#if defined(SERVER_AS_DLL) - QThread* m_messageServerThread; -#else QProcess* m_messageServerProcess; -#endif QSet<QMailMessageId> flagMessageIds; QMenu* m_contextMenu; QToolBar* m_toolBar; @@ -456,22 +449,6 @@ private: QList<QMailMessage> m_outboxingMessages; }; -#if defined(SERVER_AS_DLL) -class MessageServerThread : public QThread -{ - Q_OBJECT - -public: - MessageServerThread(); - ~MessageServerThread(); - - void run(); - -signals: - void messageServerStarted(); -}; -#endif - #ifndef QT_NO_SYSTEMTRAYICON class NotificationTray : public QSystemTrayIcon { Q_OBJECT |