Commit 801e5a2f authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

de-inline functions from IFile

parent b950d7ae
......@@ -69,6 +69,7 @@ SOURCES += mainwindow.cpp \
fileiconprovider.cpp \
mimedatabase.cpp \
icore.cpp \
ifile.cpp \
editormanager/ieditor.cpp \
dialogs/ioptionspage.cpp \
dialogs/iwizard.cpp \
......
/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used under the terms of the GNU Lesser General Public
** License version 2.1 as published by the Free Software Foundation and
** appearing in the file LICENSE.LGPL included in the packaging of this file.
** Please review the following information to ensure the GNU Lesser General
** Public License version 2.1 requirements will be met:
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** Other Usage
**
** Alternatively, this file may be used in accordance with the terms and
** conditions contained in a signed written agreement between you and Nokia.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**************************************************************************/
#include "ifile.h"
namespace Core {
IFile::IFile(QObject *parent) : QObject(parent)
{
}
IFile::~IFile()
{
}
void IFile::checkPermissions()
{
}
} // namespace Core
......@@ -80,8 +80,8 @@ public:
FlagIgnore
};
IFile(QObject *parent = 0) : QObject(parent) {}
virtual ~IFile() {}
IFile(QObject *parent = 0);
virtual ~IFile();
virtual bool save(QString *errorString, const QString &fileName = QString()) = 0;
virtual QString fileName() const = 0;
......@@ -98,7 +98,7 @@ public:
virtual bool reload(QString *errorString, ReloadFlag flag, ChangeType type) = 0;
virtual void rename(const QString &newName) = 0;
virtual void checkPermissions() {}
virtual void checkPermissions();
signals:
void changed();
......
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