X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainpage.h;h=5ddab334d3a37db1583394c5eb0e431e2c39608d;hp=f09050462084094cd7ab6e1db8e755d21e04263f;hb=HEAD;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/qtui/mainpage.h b/src/qtui/mainpage.h index f0905046..fe17588f 100644 --- a/src/qtui/mainpage.h +++ b/src/qtui/mainpage.h @@ -1,38 +1,43 @@ /*************************************************************************** -* Copyright (C) 2005-09 by the Quassel Project * -* devel@quassel-irc.org * -* * -* This program is free software; you can redistribute it and/or modify * -* it under the terms of the GNU General Public License as published by * -* the Free Software Foundation; either version 2 of the License, or * -* (at your option) version 3. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -* GNU General Public License for more details. * -* * -* You should have received a copy of the GNU General Public License * -* along with this program; if not, write to the * -* Free Software Foundation, Inc., * -* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * -***************************************************************************/ + * Copyright (C) 2005-2022 by the Quassel Project * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ #ifndef MAINPAGE_H_ #define MAINPAGE_H_ #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