X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=f7d279d5bf65045d5c046762bfc5b4b70d0d6f70;hp=2e68b2f5789e6173e9232b762c9b8ee99c889ef5;hb=30b77d8f6e230f97e706e5a6630add16b88bda3f;hpb=584085c95a70e921f401b387bb73e66e2d71a714 diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index 2e68b2f5..f7d279d5 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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 @@ -154,6 +154,7 @@ private slots: void saveMenuBarStatus(bool enabled); void saveStatusBarStatus(bool enabled); + void saveMainToolBarStatus(bool enabled); void loadLayout(); void saveLayout(); @@ -219,6 +220,3 @@ private: friend class QtUi; }; - - -#endif