X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=5ddab334d3a37db1583394c5eb0e431e2c39608d;hb=4e51500401db3c85dbe5e92e5e5c15b6e3c87787;hp=290f01214f02651ce2f68e00b444d7ef1e1a516b;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a;p=quassel.git diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 290f0121..5ddab334 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-2020 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