Commit 30763039 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Imageviewer: Compile

parent 02ce57e4
......@@ -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
}
......
......@@ -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; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment