qa: Avoid deprecation warnings for QList/QSet conversions
[quassel.git] / src / qtui / coreconnectionstatuswidget.h
index b6f5be7..db88e1f 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2009 by the Quassel Project                             *
+ *   Copyright (C) 2005-2019 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -15,7 +15,7 @@
  *   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.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.         *
  ***************************************************************************/
 
 #ifndef CORECONNECTIONSTATUSWIDGET_H
 
 #include <QWidget>
 
-#include "ui_coreconnectionstatuswidget.h"
-
 #include "coreconnection.h"
 
+#include "ui_coreconnectionstatuswidget.h"
+
 class CoreConnectionStatusWidget : public QWidget
 {
     Q_OBJECT
 
 public:
-    CoreConnectionStatusWidget(CoreConnection *connection, QWidget *parent = 0);
+    CoreConnectionStatusWidget(CoreConnection* connection, QWidget* parent = nullptr);
 
-    inline CoreConnection *coreConnection() const { return _coreConnection; }
+    inline CoreConnectioncoreConnection() const { return _coreConnection; }
 
 public slots:
     void update();
@@ -47,8 +47,7 @@ private slots:
 private:
     Ui::CoreConnectionStatusWidget ui;
 
-    CoreConnection *_coreConnection;
+    CoreConnection_coreConnection;
 };
 
-
-#endif // CORECONNECTIONSTATUSWIDGET_H
+#endif  // CORECONNECTIONSTATUSWIDGET_H