X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=d8b649b835f6ca377b5aaf01bb5eeeb1e79ea3b0;hp=290f01214f02651ce2f68e00b444d7ef1e1a516b;hb=98144aaad0cd747f186edcd0e36a1d67326ac766;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49 diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 290f0121..d8b649b8 100644 --- a/src/qtui/mainpage.h +++ b/src/qtui/mainpage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -23,15 +23,21 @@ #include +class QPushButton; + class MainPage : public QWidget { Q_OBJECT public: - MainPage(QWidget *parent = 0); + MainPage(QWidget *parent = nullptr); + +private slots: + void showCoreConnectionDlg(); + void coreConnectionStateChanged(); -protected: - void paintEvent(QPaintEvent *event); +private: + QPushButton *_connectButton; };