forked from qt-creator/qt-creator
ClearCase: Small cleanups (no code changes)
Change-Id: Iaf0292f6f494102ab617cd6127f19c2d6b33e8fc Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -52,24 +52,14 @@ class QTextCodec;
|
|||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace Core {
|
namespace Core {
|
||||||
class IVersionControl;
|
class IVersionControl;
|
||||||
class IEditor;
|
class IEditor;
|
||||||
}
|
} // namespace Core
|
||||||
namespace Utils {
|
|
||||||
class ParameterAction;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace VcsBase {
|
namespace Utils { class ParameterAction; }
|
||||||
class VcsBaseSubmitEditor;
|
namespace VcsBase { class VcsBaseSubmitEditor; }
|
||||||
}
|
namespace Locator { class CommandLocator; }
|
||||||
|
namespace ProjectExplorer { class Project; }
|
||||||
namespace Locator {
|
|
||||||
class CommandLocator;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ProjectExplorer {
|
|
||||||
class Project;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ClearCase {
|
namespace ClearCase {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
@@ -87,8 +77,9 @@ public:
|
|||||||
QString message;
|
QString message;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct FileStatus
|
class FileStatus
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
enum Status
|
enum Status
|
||||||
{
|
{
|
||||||
Unknown = 0x0f,
|
Unknown = 0x0f,
|
||||||
@@ -194,9 +185,9 @@ protected:
|
|||||||
private:
|
private:
|
||||||
inline bool isCheckInEditorOpen() const;
|
inline bool isCheckInEditorOpen() const;
|
||||||
QString findTopLevel(const QString &directory) const;
|
QString findTopLevel(const QString &directory) const;
|
||||||
Core::IEditor * showOutputInEditor(const QString& title, const QString &output,
|
Core::IEditor *showOutputInEditor(const QString& title, const QString &output,
|
||||||
int editorType, const QString &source,
|
int editorType, const QString &source,
|
||||||
QTextCodec *codec) const;
|
QTextCodec *codec) const;
|
||||||
QString runCleartoolSync(const QString &workingDir, const QStringList &arguments) const;
|
QString runCleartoolSync(const QString &workingDir, const QStringList &arguments) const;
|
||||||
ClearCaseResponse runCleartool(const QString &workingDir,
|
ClearCaseResponse runCleartool(const QString &workingDir,
|
||||||
const QStringList &arguments, int timeOut,
|
const QStringList &arguments, int timeOut,
|
||||||
@@ -257,14 +248,14 @@ private:
|
|||||||
QAction *m_submitUndoAction;
|
QAction *m_submitUndoAction;
|
||||||
QAction *m_submitRedoAction;
|
QAction *m_submitRedoAction;
|
||||||
QAction *m_menuAction;
|
QAction *m_menuAction;
|
||||||
bool m_submitActionTriggered;
|
bool m_submitActionTriggered;
|
||||||
QMutex *activityMutex;
|
QMutex *activityMutex;
|
||||||
QList<QStringPair> m_activities;
|
QList<QStringPair> m_activities;
|
||||||
|
|
||||||
static ClearCasePlugin *m_clearcasePluginInstance;
|
static ClearCasePlugin *m_clearcasePluginInstance;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace ClearCase
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
} // namespace ClearCase
|
||||||
|
|
||||||
#endif // CLEARCASEPLUGIN_H
|
#endif // CLEARCASEPLUGIN_H
|
||||||
|
|||||||
Reference in New Issue
Block a user