X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=a08d9ce01ec84d35819bfca39ee2c1aa1f50a4ed;hp=0557f8e337e1c501e98e7e932451f2b29ea17726;hb=0d418069762066b4640250efd5ba8d68bf0af178;hpb=695758015a80eb8c158a9ac4c0f1c0b547e70df3 diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 0557f8e3..a08d9ce0 100644 --- a/src/qtui/mainpage.h +++ b/src/qtui/mainpage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2016 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; };