forked from qt-creator/qt-creator
Use classes in favor of structs
Change-Id: I6ad2df70b7ad9b5fdc5baddc3ef85d0fed0c139c Reviewed-on: http://codereview.qt.nokia.com/2518 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -66,8 +66,9 @@ struct GitSubmitEditorPanelData
|
||||
|
||||
QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &);
|
||||
|
||||
struct CommitData
|
||||
class CommitData
|
||||
{
|
||||
public:
|
||||
// A pair of state string/file name ('modified', 'file.cpp').
|
||||
typedef QPair<QString, QString> StateFilePair;
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace Internal {
|
||||
class GitPlugin;
|
||||
class GitOutputWindow;
|
||||
class GitCommand;
|
||||
struct CommitData;
|
||||
class CommitData;
|
||||
struct GitSubmitEditorPanelData;
|
||||
class Stash;
|
||||
|
||||
|
||||
@@ -74,8 +74,8 @@ class GitVersionControl;
|
||||
class GitClient;
|
||||
class ChangeSelectionDialog;
|
||||
class GitSubmitEditor;
|
||||
struct CommitData;
|
||||
struct GitSettings;
|
||||
class CommitData;
|
||||
class GitSettings;
|
||||
class StashDialog;
|
||||
class BranchDialog;
|
||||
class RemoteDialog;
|
||||
|
||||
@@ -43,8 +43,9 @@ namespace Git {
|
||||
namespace Internal {
|
||||
|
||||
// Todo: Add user name and password?
|
||||
struct GitSettings
|
||||
class GitSettings
|
||||
{
|
||||
public:
|
||||
GitSettings();
|
||||
|
||||
void fromSettings(QSettings *);
|
||||
|
||||
@@ -47,7 +47,7 @@ QT_END_NAMESPACE
|
||||
namespace Git {
|
||||
namespace Internal {
|
||||
|
||||
struct GitSettings;
|
||||
class GitSettings;
|
||||
|
||||
class SettingsPageWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
|
||||
Reference in New Issue
Block a user