X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=6ac803942056ecf6d1f096e85e0ac21483456052;hb=2c62efdfd7e99e7af18704292acc2a0bcdcbbb95;hp=46d2389923fd6f4c57828d1cdcc84214b11d391d;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 46d23899..6ac80394 100644 --- a/src/qtui/mainpage.h +++ b/src/qtui/mainpage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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 * @@ -23,6 +23,8 @@ #include +class QPushButton; + class MainPage : public QWidget { Q_OBJECT @@ -30,8 +32,12 @@ class MainPage : public QWidget public: MainPage(QWidget *parent = 0); -protected: - void paintEvent(QPaintEvent *event); +private slots: + void showCoreConnectionDlg(); + void coreConnectionStateChanged(); + +private: + QPushButton *_connectButton; };