diff options
| author | Peter Penz <[email protected]> | 2009-08-13 20:48:58 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-13 20:48:58 +0000 |
| commit | d84909dc36acbd91c37de76e793f81dca9b2ace9 (patch) | |
| tree | fc4b3e4bd70e2f0cfa9b1f0f77fb2ae9b1c47f05 /src/dolphinmodel.h | |
| parent | 54093338c413b578cff2377503940dbc2ab0238e (diff) | |
* Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.
* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1011058
Diffstat (limited to 'src/dolphinmodel.h')
| -rw-r--r-- | src/dolphinmodel.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dolphinmodel.h b/src/dolphinmodel.h index 1fd96c5f6..89a0a761c 100644 --- a/src/dolphinmodel.h +++ b/src/dolphinmodel.h @@ -22,7 +22,7 @@ #define DOLPHINMODEL_H #include <kdirmodel.h> -#include <revisioncontrolplugin.h> +#include <kversioncontrolplugin.h> #include <libdolphin_export.h> #include <QHash> @@ -34,7 +34,7 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinModel : public KDirModel public: enum AdditionalColumns { - Revision = KDirModel::ColumnCount, + Version = KDirModel::ColumnCount, ExtraColumnCount }; @@ -46,8 +46,8 @@ public: virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const; virtual int columnCount(const QModelIndex& parent = QModelIndex()) const; - void clearRevisionData(); - bool hasRevisionData() const; + void clearVersionData(); + bool hasVersionData() const; private slots: void slotRowsRemoved(const QModelIndex& parent, int start, int end); @@ -57,8 +57,8 @@ private: QVariant sortRoleData(const QModelIndex& index) const; private: - bool m_hasRevisionData; - QHash<QPersistentModelIndex, RevisionControlPlugin::RevisionState> m_revisionHash; + bool m_hasVersionData; + QHash<QPersistentModelIndex, KVersionControlPlugin::VersionState> m_revisionHash; static const char* m_others; }; |
