cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git] / src / qtui / mainpage.h
index 0557f8e..fe17588 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2015 by the Quassel Project                        *
+ *   Copyright (C) 2005-2022 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 
 #include <QWidget>
 
+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