#include "uisettings.h"
class ActionCollection;
+class BufferHotListFilter;
class BufferView;
class BufferViewConfig;
class ClientBufferViewConfig;
+class CoreAccount;
+class CoreConnectionStatusWidget;
class BufferViewDock;
class BufferWidget;
class InputWidget;
void addBufferView(ClientBufferViewConfig *config);
BufferView *allBuffersView() const;
+ BufferWidget *bufferWidget() const { return _bufferWidget; }
+
inline SystemTray *systemTray() const;
bool event(QEvent *event);
void restoreStateFromSettings(UiSettings &);
public slots:
- void saveStateToSession(const QString &sessionId);
- void saveStateToSessionSettings(SessionSettings &s);
void showStatusBarMessage(const QString &message);
void toggleMinimizedToTray();
//! Bring window to front and focus it
void forceActivated();
+ //! Quit application
+ void quit();
+
protected:
void closeEvent(QCloseEvent *event);
void changeEvent(QEvent *event);
void addBufferView(int bufferViewConfigId);
void awayLogDestroyed();
void removeBufferView(int bufferViewConfigId);
+ void currentBufferChanged(BufferId);
void messagesInserted(const QModelIndex &parent, int start, int end);
void showAboutDlg();
void showChannelList(NetworkId netId = NetworkId());
void startInternalCore();
- void showCoreConnectionDlg(bool autoConnect = false);
+ void userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage);
+ void showCoreConnectionDlg();
void showCoreInfoDlg();
void showAwayLog();
void showSettingsDlg();
void showNotificationsDlg();
+ void showIgnoreList(QString newRule = QString());
#ifdef HAVE_KDE
void showShortcutsDlg();
#endif
void on_actionConfigureNetworks_triggered();
void on_actionConfigureViews_triggered();
void on_actionLockLayout_toggled(bool lock);
+ void on_jumpHotBuffer_triggered();
void on_actionDebugNetworkModel_triggered();
void on_actionDebugBufferViewOverlay_triggered();
void on_actionDebugMessageModel_triggered();
+ void on_actionDebugHotList_triggered();
void on_actionDebugLog_triggered();
void clientNetworkCreated(NetworkId);
void clientNetworkUpdated();
void connectOrDisconnectFromNet();
+ void saveMenuBarStatus(bool enabled);
void saveStatusBarStatus(bool enabled);
- void aboutToQuit();
void loadLayout();
void saveLayout();
QLabel *coreLagLabel;
QLabel *sslLabel;
- MsgProcessorStatusWidget *msgProcessorStatusWidget;
+ MsgProcessorStatusWidget *_msgProcessorStatusWidget;
+ CoreConnectionStatusWidget *_coreConnectionStatusWidget;
TitleSetter _titleSetter;
void setupSystray();
void setupTitleSetter();
void setupToolBars();
+ void setupHotList();
void updateIcon();
void enableMenus();
QWidget *_awayLog;
+ bool _layoutLoaded;
+
QSize _normalSize; //!< Size of the non-maximized window
QPoint _normalPos; //!< Position of the non-maximized window
- bool _isHidden;
#ifdef Q_WS_WIN
DWORD dwTickCount;
#endif
+ BufferHotListFilter *_bufferHotList;
+
friend class QtUi;
};