Imageviewer: Compile

This commit is contained in:
Friedemann Kleint
2010-02-18 14:53:47 +01:00
parent 02ce57e4bf
commit 3076303933
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -97,14 +97,14 @@ QString ImageViewerFactory::displayName() const
return tr("Image Viewer");
}
Core::IFile *ImageViewerFactory::open(const QString &fileName)
Core::IFile *ImageViewerFactory::open(const QString & /* fileName */)
{
return 0;
}
// #pragma mark -- ImageViewerFile
void ImageViewerFile::modified(ReloadBehavior *behavior)
void ImageViewerFile::modified(ReloadBehavior * /* behavior */)
{
// TODO
}
+3 -3
View File
@@ -65,7 +65,7 @@ class ImageViewerFile : public Core::IFile
{
Q_OBJECT
public:
explicit ImageViewerFile(QObject *parent = 0) {}
explicit ImageViewerFile(QObject *parent = 0) : Core::IFile(parent) {}
bool save(const QString &fileName = QString()) { Q_UNUSED(fileName); return false; }
QString fileName() const { return m_fileName; }
@@ -107,10 +107,10 @@ public:
void setDisplayName(const QString &title);
bool duplicateSupported() const { return false; }
IEditor *duplicate(QWidget *parent) { return 0; }
IEditor *duplicate(QWidget * /* parent */) { return 0; }
QByteArray saveState() const { return QByteArray(); }
bool restoreState(const QByteArray &state) { Q_UNUSED(state); }
bool restoreState(const QByteArray & /* state */) { return true; }
int currentLine() const { return 0; }
int currentColumn() const { return 0; }