forked from qt-creator/qt-creator
Unify pattern used for privates and constructors
In the 'managers' from ICore Change-Id: Iab98c9e0947b759843a62e3777ba46be3b304b06 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -37,9 +37,10 @@
|
||||
|
||||
namespace Core {
|
||||
|
||||
class VcsManagerPrivate;
|
||||
class IVersionControl;
|
||||
|
||||
namespace Internal { class MainWindow; }
|
||||
|
||||
/* VcsManager:
|
||||
* 1) Provides functionality for finding the IVersionControl * for a given
|
||||
* filename (findVersionControlForDirectory). Note that the VcsManager assumes
|
||||
@@ -57,9 +58,6 @@ class CORE_EXPORT VcsManager : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit VcsManager(QObject *parent = 0);
|
||||
virtual ~VcsManager();
|
||||
|
||||
void extensionsInitialized();
|
||||
|
||||
void resetVersionControlForDirectory(const QString &inputDirectory);
|
||||
@@ -104,7 +102,10 @@ private slots:
|
||||
void configureVcs();
|
||||
|
||||
private:
|
||||
VcsManagerPrivate *d;
|
||||
explicit VcsManager(QObject *parent = 0);
|
||||
virtual ~VcsManager();
|
||||
|
||||
friend class Core::Internal::MainWindow;
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user