Some more issues with virtual

This commit is contained in:
Christophe Dumez
2010-10-31 08:55:15 +00:00
parent 5d0d63d89a
commit 81778a0090
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ class HttpResponseGenerator : public QHttpResponseHeader
void setMessage(const QString message); void setMessage(const QString message);
void stripMessage(); void stripMessage();
void setContentTypeByExt(const QString ext); void setContentTypeByExt(const QString ext);
virtual QByteArray toByteArray() const; QByteArray toByteArray() const;
}; };
#endif #endif

View File

@@ -45,7 +45,7 @@ class ScanFoldersModel : public QAbstractTableModel {
public: public:
enum PathStatus { Ok, DoesNotExist, CannotRead, CannotWrite, AlreadyInList }; enum PathStatus { Ok, DoesNotExist, CannotRead, CannotWrite, AlreadyInList };
static ScanFoldersModel *instance(QObject *parent = 0); static ScanFoldersModel *instance(QObject *parent = 0);
~ScanFoldersModel(); virtual ~ScanFoldersModel();
virtual int rowCount(const QModelIndex & parent = QModelIndex()) const; virtual int rowCount(const QModelIndex & parent = QModelIndex()) const;
virtual int columnCount(const QModelIndex &parent = QModelIndex()) const; virtual int columnCount(const QModelIndex &parent = QModelIndex()) const;