From 2e0cbf393a5320dbf5448ca44a9b5905314b0be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 29 Jul 2013 00:59:35 +0200 Subject: Massive renaming in the backend folder, all around restructure in the same. --- gui/mainwindow.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gui/mainwindow.h') diff --git a/gui/mainwindow.h b/gui/mainwindow.h index a10d570c..67ae859e 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -18,9 +18,9 @@ #include -#include "instancelist.h" -#include "loginresponse.h" -#include "instance.h" +#include "lists/InstanceList.h" +#include "tasks/LoginResponse.h" +#include "BaseInstance.h" class InstanceModel; class InstanceProxyModel; @@ -41,7 +41,7 @@ class MainWindow : public QMainWindow /*! * The currently selected instance. */ - Q_PROPERTY(Instance* selectedInstance READ selectedInstance STORED false) + Q_PROPERTY(BaseInstance* selectedInstance READ selectedInstance STORED false) public: explicit MainWindow(QWidget *parent = 0); @@ -53,7 +53,7 @@ public: void openWebPage(QUrl url); - Instance *selectedInstance(); + BaseInstance *selectedInstance(); private slots: void on_actionAbout_triggered(); @@ -119,7 +119,7 @@ public slots: void launchInstance(LoginResponse response); void launchInstance(QString instID, LoginResponse response); - void launchInstance(Instance *inst, LoginResponse response); + void launchInstance(BaseInstance *inst, LoginResponse response); private: Ui::MainWindow *ui; @@ -134,7 +134,7 @@ private: // A pointer to the instance we are actively doing stuff with. // This is set when the user launches an instance and is used to refer to that // instance throughout the launching process. - Instance *m_activeInst; + BaseInstance *m_activeInst; Task *m_versionLoadTask; }; -- cgit v1.2.3