X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.h;h=682b37b76ce21540561a12bed6620740a98ac8a1;hp=cc8d8d128bc0645ac3fe5f77e87ebc4893b92691;hb=4bff244f658ebb38e435d0f65fc49a9c73e54c4d;hpb=a35e9270e608bfbc5b21ba47d49b3139f06b13e9 diff --git a/src/qtui/mainwin.h b/src/qtui/mainwin.h index cc8d8d12..682b37b7 100644 --- a/src/qtui/mainwin.h +++ b/src/qtui/mainwin.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -38,6 +38,7 @@ class BufferView; class BufferViewConfig; class BufferViewDock; class BufferWidget; +class InputWidget; class MsgProcessorStatusWidget; class NickListWidget; class SystemTrayIcon; @@ -66,7 +67,6 @@ class MainWin BufferView *allBuffersView() const; inline QSystemTrayIcon *systemTrayIcon() const; - inline BufferWidget *bufferWidget() const; virtual bool event(QEvent *event); @@ -85,8 +85,7 @@ class MainWin protected slots: void connectedToCore(); void setConnectedState(); - void updateLagIndicator(int lag); - void securedConnection(); + void updateLagIndicator(int lag = -1); void disconnectedFromCore(); void setDisconnectedState(); void systrayActivated(QSystemTrayIcon::ActivationReason); @@ -150,7 +149,8 @@ class MainWin void setupTitleSetter(); void updateIcon(); - void toggleVisibility(); + void hideToTray(); + void toggleMinimizedToTray(); void enableMenus(); QSystemTrayIcon *_trayIcon; @@ -158,6 +158,7 @@ class MainWin QList _bufferViews; BufferWidget *_bufferWidget; NickListWidget *_nickListWidget; + InputWidget *_inputWidget; QMenu *_fileMenu, *_networksMenu, *_viewMenu, *_bufferViewsMenu, *_settingsMenu, *_helpMenu, *_helpDebugMenu; @@ -168,8 +169,4 @@ QSystemTrayIcon *MainWin::systemTrayIcon() const { return _trayIcon; } -BufferWidget *MainWin::bufferWidget() const { - return _bufferWidget; -} - #endif