X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=30e57269ff0a536d556a460ad8d97cccf2161ccb;hp=8f40405249c5e0eba8a2c51c467c5f738687cdaf;hb=c52a94cb937654bf06d5074bf0736a52ec94a52d;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index 8f404052..30e57269 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 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 * @@ -15,13 +15,13 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef MAINWIN_H_ #define MAINWIN_H_ -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 # include #else # include @@ -36,6 +36,7 @@ class BufferHotListFilter; class BufferView; class BufferViewConfig; class ClientBufferViewConfig; +class ClientTransfer; class CoreAccount; class CoreConnectionStatusWidget; class BufferViewDock; @@ -55,7 +56,7 @@ class KHelpMenu; //!\brief The main window of Quassel's QtUi. class MainWin -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 : public KMainWindow { #else @@ -122,7 +123,8 @@ private slots: void showNotificationsDlg(); void showIgnoreList(QString newRule = QString()); void showShortcutsDlg(); - void toggleFullscreen(); + void showNewTransferDlg(const ClientTransfer *transfer); + void onFullScreenToggled(); void handleCoreConnectionError(const QString &errorMsg); void userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage); @@ -152,6 +154,7 @@ private slots: void saveMenuBarStatus(bool enabled); void saveStatusBarStatus(bool enabled); + void saveMainToolBarStatus(bool enabled); void loadLayout(); void saveLayout(); @@ -166,7 +169,7 @@ signals: void disconnectFromCore(); private: -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 KHelpMenu *_kHelpMenu; #endif