X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=062bfbf5c01dc7800a19be2afa8dcbe4937301d7;hb=13425536062e5cf1b2d9f0ef258f3eb9dab1923c;hp=0557f8e337e1c501e98e7e932451f2b29ea17726;hpb=e50ae7a06fc4e5d3a911c361d30953410deab609;p=quassel.git diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 0557f8e3..062bfbf5 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-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -23,16 +23,21 @@ #include +class QPushButton; + class MainPage : public QWidget { Q_OBJECT public: - MainPage(QWidget *parent = 0); + MainPage(QWidget* parent = nullptr); -protected: - void paintEvent(QPaintEvent *event); -}; +private slots: + void showCoreConnectionDlg(); + void coreConnectionStateChanged(); +private: + QPushButton* _connectButton; +}; #endif