Updated the git clone command.
[emufront] / src / models / setupmodel.h
index f1082f7..04c9ee0 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,17 +33,18 @@ 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();
+    virtual void refresh();
+
+signals:
+       void dataChanged();
 
 protected:
-    virtual void refresh();
     virtual QString constructSelect(QString where = "") const;
     virtual bool setPlatform(int id, int platformId);
     virtual bool setMediaType(int id, int platformId);