X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmainwindow.h;h=390691e8ef2300216543483ba0a81dce0ab4905a;hb=e5a98e5dea6497ceecc8cc5f28563a0d69381afa;hp=eb6d2b2a848d399f16d90efcd2c34a2ff635d7dd;hpb=f36ea00d8428620fdacf11fd83c066c98f9fdfd7;p=emufront
diff --git a/src/mainwindow.h b/src/mainwindow.h
index eb6d2b2..390691e 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -1,5 +1,4 @@
-/*
-** EmuFront
+/* ** EmuFront
** Copyright 2010 Mikko Keinänen
**
** This file is part of EmuFront.
@@ -17,33 +16,30 @@
**
** You should have received a copy of the GNU General Public License
** along with EmuFront. If not, see .
-*/#ifndef MAINWINDOW_H
+*/
+
+#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include
class QAction;
-// TODO: DEPRECATED
-class PlatformDialog;
class PlatformEditView;
class MediaTypeEditView;
-// TODO: DEPRECATED
-class MediaTypeDialog;
class MediaTypeEditView;
-// TODO: DEPRECATED
-class MediaImagePathMainDialog;
class FilePathEditView;
-// TODO: DEPRECATED
-class SetupMainDialog;
class SetupEditView;
-class ExecutableMainDialog;
-//class TmpFolderEditDialog;
+class ExternalExecutableEditView;
class QLabel;
class DatabaseManager;
class EmuFrontDialog;
class EmuLauncher;
class DatFileUtil;
class QErrorMessage;
+class SetupModel;
+class ExternalExecutableModel;
+class PlatformModel;
+class MediaTypeModel;
class MainWindow : public QMainWindow
{
@@ -57,18 +53,10 @@ protected:
void closeEvent(QCloseEvent *event);
private slots:
- // TODO: DEPRECATED
void configurePlatforms();
- void configurePlatformss();
- // TODO: DEPRECATED
void configureMediaTypes();
- void configureMediaTypess();
- // TODO: DEPRECATED
void configureMediaImagePaths();
- void configureMediaImagePathss();
- // TODO: DEPRECATED
void configureSetups();
- void configureSetupss();
void configureEmulators();
void configureTmpDir();
void resetDb();
@@ -90,36 +78,19 @@ private:
bool testDB(bool reset);
void createDB() const;
- // TODO: deprecated
- PlatformDialog *platformDialog;
PlatformEditView *plfDialog;
- // TODO: deprecated
- MediaTypeDialog *mediaTypeDialog;
MediaTypeEditView *mdtDialog;
- // TODO: DEPRECATED
- MediaImagePathMainDialog *mediaImagePathDialog;
FilePathEditView *mediaImagePathView;
- // TODO: deprecated
- SetupMainDialog *setupMainDialog;
SetupEditView *setupMainView;
- ExecutableMainDialog *executableMainDialog;
- //TmpFolderEditDialog *tmpFolderDialog;
+ ExternalExecutableEditView *emulatorEditView;
QMenu *configMenu;
QMenu *fileMenu;
QMenu *helpMenu;
- // TODO: deprecated
- QAction *configPlatformAction;
QAction *configPlatformsAction;
- // TODO: deprecated
- QAction *configMediaTypeAction;
QAction *configMediaTypesAction;
- // TODO: DEPRECATED
- QAction *configMediaImagePathAction;
QAction *configMediaImagePathsAction;
- // TODO: deprecated
- QAction *configSetupAction;
QAction *configSetupsAction;
- QAction *configEmulatorAction;
+ QAction *configEmulatorsAction;
QAction *exitAction;
QAction *resetDbAction;
QAction *aboutAction;
@@ -130,6 +101,10 @@ private:
EmuLauncher *launcher;
QString tmpDirFilePath;
QErrorMessage *errorMessage;
+ SetupModel *supModel;
+ ExternalExecutableModel *emuModel;
+ PlatformModel *plfModel;
+ MediaTypeModel *mdtModel;
};
#endif