X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=30e57269ff0a536d556a460ad8d97cccf2161ccb;hp=9ae9a2a2f8342e2998d599e01ccd5aed946f4c57;hb=c52a94cb937654bf06d5074bf0736a52ec94a52d;hpb=47a6910aed00018c7230cc2cc90ae8e80fa77dda diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index 9ae9a2a2..30e57269 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 * @@ -21,7 +21,7 @@ #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,6 +123,7 @@ private slots: void showNotificationsDlg(); void showIgnoreList(QString newRule = QString()); void showShortcutsDlg(); + void showNewTransferDlg(const ClientTransfer *transfer); void onFullScreenToggled(); void handleCoreConnectionError(const QString &errorMsg); @@ -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