qa: Avoid deprecation warnings for QList/QSet conversions
[quassel.git] / src / qtui / coreconnectionstatuswidget.h
index f6432e6..db88e1f 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2013 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  *
 
 #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