Some models were still needed: FileModel and MediaImageModel extending
[emufront] / src / models / setupmodel.h
index f1082f7..aae4be7 100644 (file)
 **
 ** You should have received a copy of the GNU General Public License
 ** along with EmuFront.  If not, see <http://www.gnu.org/licenses/>.
-*/#ifndef SETUPMODEL_H
+*/
+
+#ifndef SETUPMODEL_H
 #define SETUPMODEL_H
 
 #include "emufrontquerymodel.h"
 
-class SetupLt;
-
 class SetupModel : public EmuFrontQueryModel
 {
     Q_OBJECT
@@ -33,14 +33,12 @@ public:
     virtual bool setData(const QModelIndex &index, const QVariant &value, int role);
     virtual bool insertRows(int row, int count, const QModelIndex &parent);
     virtual bool removeRows(int row, int count, const QModelIndex &parent);
-    //virtual EmuFrontObject* getObject(int row) const;
     enum { Setup_Id = 0,
            Setup_PlatformId,
            Setup_MediaTypeId,
            Setup_FileTypeExtensions,
            Setup_Name };
     static const QString FILE_TYPE_EXTENSION_SEPARATOR;
-    SetupLt* getCurrentItem();
 
 protected:
     virtual void refresh();