X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=f7d279d5bf65045d5c046762bfc5b4b70d0d6f70;hp=dc79f1041b627a16b90e67b0544bf9b19e70f5b4;hb=30b77d8f6e230f97e706e5a6630add16b88bda3f;hpb=921e54680da16fcf2adb7a90506875aceb6633a4 diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index dc79f104..f7d279d5 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -18,11 +18,12 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef MAINWIN_H_ -#define MAINWIN_H_ +#pragma once -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 # include +#elif defined HAVE_KF5 +# include #else # include #endif @@ -57,10 +58,9 @@ class KHelpMenu; //!\brief The main window of Quassel's QtUi. class MainWin #ifdef HAVE_KDE - : public KMainWindow -{ + : public KMainWindow { #else -: public QMainWindow { + : public QMainWindow { #endif Q_OBJECT @@ -220,6 +220,3 @@ private: friend class QtUi; }; - - -#endif