X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=a5d860edbdc7da509f7a25b031328b243b066144;hb=5941a9d24333401874e051c349b391e2bcac0e0d;hp=290f01214f02651ce2f68e00b444d7ef1e1a516b;hpb=04315f46a16fc3627218377071e008b6b9744992;p=quassel.git diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index 290f0121..a5d860ed 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,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; };