summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/qtcreator/gdbmacros/gdbmacros.cpp2
-rw-r--r--src/libs/qmljs/qmljscheck.h4
-rw-r--r--src/libs/qmljs/qmljscodeformatter.h4
-rw-r--r--src/libs/utils/crumblepath.h2
-rw-r--r--src/libs/utils/debuggerlanguagechooser.h6
-rw-r--r--src/libs/utils/historycompleter.cpp2
-rw-r--r--src/libs/utils/historycompleter.h2
-rw-r--r--src/libs/utils/unixutils.h2
-rw-r--r--src/plugins/coreplugin/editormanager/editormanager.h2
-rw-r--r--src/plugins/coreplugin/mimedatabase.cpp8
-rw-r--r--src/plugins/coreplugin/ssh/sshchannel_p.h2
-rw-r--r--src/plugins/coreplugin/ssh/sshpacket_p.h2
-rw-r--r--src/plugins/cpptools/cppcodeformatter.h4
-rw-r--r--src/plugins/cpptools/insertionpointlocator.h2
-rw-r--r--src/plugins/debugger/breakhandler.cpp2
-rw-r--r--src/plugins/debugger/breakpoint.h4
-rw-r--r--src/plugins/debugger/consolewindow.cpp4
-rw-r--r--src/plugins/debugger/debuggerconstants.h4
-rw-r--r--src/plugins/debugger/gdb/gdbengine.h8
-rw-r--r--src/plugins/debugger/gdb/gdbmi.cpp2
-rw-r--r--src/plugins/debugger/gdb/gdbmi.h4
-rw-r--r--src/plugins/debugger/gdb/remotegdbprocess.h2
-rw-r--r--src/plugins/debugger/gdb/symbian.h2
-rw-r--r--src/plugins/debugger/lldb/ipcengineguest.h2
-rw-r--r--src/plugins/debugger/lldb/ipcenginehost.h2
-rw-r--r--src/plugins/debugger/logwindow.cpp2
-rw-r--r--src/plugins/debugger/moduleshandler.h4
-rw-r--r--src/plugins/debugger/tcf/json.h2
-rw-r--r--src/plugins/debugger/watchhandler.h2
-rw-r--r--src/plugins/debugger/watchutils.cpp2
-rw-r--r--src/plugins/designer/formeditorstack.h2
-rw-r--r--src/plugins/fakevim/fakevimhandler.cpp12
-rw-r--r--src/plugins/fakevim/fakevimhandler.h2
-rw-r--r--src/plugins/git/gitorious/gitorious.h2
-rw-r--r--src/plugins/glsleditor/glsleditorplugin.cpp2
-rw-r--r--src/plugins/helloworld/helloworldwindow.h2
-rw-r--r--src/plugins/perforce/perforcesettings.cpp2
-rw-r--r--src/plugins/perforce/perforcesettings.h2
-rw-r--r--src/plugins/perforce/perforceversioncontrol.cpp2
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizardparameters.cpp4
-rw-r--r--src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h2
-rw-r--r--src/plugins/projectexplorer/outputformatter.h8
-rw-r--r--src/plugins/projectexplorer/processparameters.h2
-rw-r--r--src/plugins/projectexplorer/publishing/publishingwizardselectiondialog.h2
-rw-r--r--src/plugins/projectexplorer/runconfiguration.h4
-rw-r--r--src/plugins/qmldesigner/components/formeditor/dragtool.h2
-rw-r--r--src/plugins/qmldesigner/components/formeditor/scaleitem.h2
-rw-r--r--src/plugins/qmldesigner/components/integration/componentview.cpp2
-rw-r--r--src/plugins/qmldesigner/components/integration/designdocumentcontrollerview.cpp26
-rw-r--r--src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.h2
-rw-r--r--src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h2
-rw-r--r--src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp4
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/basicwidgets.h4
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/behaviordialog.cpp2
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/behaviordialog.h2
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h2
-rw-r--r--src/plugins/qmldesigner/designercore/include/abstractview.h6
-rw-r--r--src/plugins/qmljseditor/qmljseditor.cpp2
-rw-r--r--src/plugins/qmljseditor/qmljsoutline.h2
-rw-r--r--src/plugins/qmljsinspector/qmljsclientproxy.h2
-rw-r--r--src/plugins/qmljsinspector/qmljstoolbarcolorbox.h4
-rw-r--r--src/plugins/qmljstools/qmljslocatordata.h2
-rw-r--r--src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.h2
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h2
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectrunconfigurationwidget.h4
-rw-r--r--src/plugins/qt4projectmanager/qmldumptool.cpp2
-rw-r--r--src/plugins/qt4projectmanager/qmlobservertool.h2
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemodeployables.h2
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp2
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.h4
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.h2
-rw-r--r--src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.h2
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/passphraseforkeydialog.h6
-rw-r--r--src/plugins/qt4projectmanager/qt4nodes.cpp2
-rw-r--r--src/plugins/qt4projectmanager/qtmodulesinfo.cpp6
-rw-r--r--src/plugins/qt4projectmanager/wizards/abstractmobileapp.h2
-rw-r--r--src/plugins/qt4projectmanager/wizards/mobileapp.h4
-rw-r--r--src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.h2
-rw-r--r--src/plugins/texteditor/texteditorsettings.h4
-rw-r--r--src/shared/symbianutils/json.h2
-rw-r--r--src/shared/symbianutils/trkdevice.cpp2
-rw-r--r--src/shared/symbianutils/trkutils.h4
-rw-r--r--src/tools/qtpromaker/main.cpp2
83 files changed, 135 insertions, 135 deletions
diff --git a/share/qtcreator/gdbmacros/gdbmacros.cpp b/share/qtcreator/gdbmacros/gdbmacros.cpp
index be086693fe..a11c2671f9 100644
--- a/share/qtcreator/gdbmacros/gdbmacros.cpp
+++ b/share/qtcreator/gdbmacros/gdbmacros.cpp
@@ -2461,7 +2461,7 @@ static const char *qConnectionType(uint type)
#endif
};
return output;
-};
+}
#if QT_VERSION >= 0x040400
static const ConnectionList &qConnectionList(const QObject *ob, int signalNumber)
diff --git a/src/libs/qmljs/qmljscheck.h b/src/libs/qmljs/qmljscheck.h
index e6df22db14..9749974b58 100644
--- a/src/libs/qmljs/qmljscheck.h
+++ b/src/libs/qmljs/qmljscheck.h
@@ -70,9 +70,9 @@ public:
WarnUseBeforeDeclaration = 1 << 8,
WarnDuplicateDeclaration = 1 << 9,
WarnDeclarationsNotStartOfFunction = 1 << 10,
- WarnCaseWithoutFlowControlEnd = 1 << 11,
+ WarnCaseWithoutFlowControlEnd = 1 << 11
};
- Q_DECLARE_FLAGS(Options, Option);
+ Q_DECLARE_FLAGS(Options, Option)
protected:
virtual bool preVisit(AST::Node *ast);
diff --git a/src/libs/qmljs/qmljscodeformatter.h b/src/libs/qmljs/qmljscodeformatter.h
index da22601bcf..cc63fc9caf 100644
--- a/src/libs/qmljs/qmljscodeformatter.h
+++ b/src/libs/qmljs/qmljscodeformatter.h
@@ -169,7 +169,7 @@ public: // must be public to make Q_GADGET introspection work
switch_statement, // After 'switch' token
case_start, // after a 'case' or 'default' token
- case_cont, // after the colon in a case/default
+ case_cont // after the colon in a case/default
};
Q_ENUMS(StateType)
@@ -233,7 +233,7 @@ protected:
Question,
PlusPlus,
- MinusMinus,
+ MinusMinus
};
TokenKind extendedTokenKind(const QmlJS::Token &token) const;
diff --git a/src/libs/utils/crumblepath.h b/src/libs/utils/crumblepath.h
index bcb0551582..c96d1f58a5 100644
--- a/src/libs/utils/crumblepath.h
+++ b/src/libs/utils/crumblepath.h
@@ -34,7 +34,7 @@
#include <QtGui/QWidget>
-QT_FORWARD_DECLARE_CLASS(QResizeEvent);
+QT_FORWARD_DECLARE_CLASS(QResizeEvent)
namespace Utils {
diff --git a/src/libs/utils/debuggerlanguagechooser.h b/src/libs/utils/debuggerlanguagechooser.h
index 9cbba1e519..434c6484c3 100644
--- a/src/libs/utils/debuggerlanguagechooser.h
+++ b/src/libs/utils/debuggerlanguagechooser.h
@@ -5,9 +5,9 @@
#include <QtGui/QWidget>
-QT_FORWARD_DECLARE_CLASS(QCheckBox);
-QT_FORWARD_DECLARE_CLASS(QLabel);
-QT_FORWARD_DECLARE_CLASS(QSpinBox);
+QT_FORWARD_DECLARE_CLASS(QCheckBox)
+QT_FORWARD_DECLARE_CLASS(QLabel)
+QT_FORWARD_DECLARE_CLASS(QSpinBox)
namespace Utils {
diff --git a/src/libs/utils/historycompleter.cpp b/src/libs/utils/historycompleter.cpp
index ae508e0ebc..1cd5b45e32 100644
--- a/src/libs/utils/historycompleter.cpp
+++ b/src/libs/utils/historycompleter.cpp
@@ -65,7 +65,7 @@ public:
HistoryCompleterPrivate(HistoryCompleter *parent);
HistoryCompleter *q_ptr;
HistoryListModel *model;
- Q_DECLARE_PUBLIC(HistoryCompleter);
+ Q_DECLARE_PUBLIC(HistoryCompleter)
};
class HistoryLineDelegate : public QItemDelegate
diff --git a/src/libs/utils/historycompleter.h b/src/libs/utils/historycompleter.h
index 460c0197f3..466e461254 100644
--- a/src/libs/utils/historycompleter.h
+++ b/src/libs/utils/historycompleter.h
@@ -59,7 +59,7 @@ protected:
HistoryCompleterPrivate *d_ptr;
private:
- Q_DECLARE_PRIVATE(HistoryCompleter);
+ Q_DECLARE_PRIVATE(HistoryCompleter)
};
} // namespace Utils
diff --git a/src/libs/utils/unixutils.h b/src/libs/utils/unixutils.h
index fc4c19264c..bb6bd19851 100644
--- a/src/libs/utils/unixutils.h
+++ b/src/libs/utils/unixutils.h
@@ -51,6 +51,6 @@ public:
const QString &file);
};
-};
+}
#endif // UNIXUTILS_H
diff --git a/src/plugins/coreplugin/editormanager/editormanager.h b/src/plugins/coreplugin/editormanager/editormanager.h
index 5340df00e4..a2ad9a6cd0 100644
--- a/src/plugins/coreplugin/editormanager/editormanager.h
+++ b/src/plugins/coreplugin/editormanager/editormanager.h
@@ -277,5 +277,5 @@ private:
} // namespace Core
-Q_DECLARE_OPERATORS_FOR_FLAGS(Core::EditorManager::OpenEditorFlags);
+Q_DECLARE_OPERATORS_FOR_FLAGS(Core::EditorManager::OpenEditorFlags)
#endif // EDITORMANAGER_H
diff --git a/src/plugins/coreplugin/mimedatabase.cpp b/src/plugins/coreplugin/mimedatabase.cpp
index 74cc1c3740..09d1613cd6 100644
--- a/src/plugins/coreplugin/mimedatabase.cpp
+++ b/src/plugins/coreplugin/mimedatabase.cpp
@@ -113,7 +113,7 @@ namespace Internal {
// and read while checking).
class FileMatchContext {
- Q_DISABLE_COPY(FileMatchContext);
+ Q_DISABLE_COPY(FileMatchContext)
public:
// Max data to be read from a file
enum { MaxData = 2048 };
@@ -164,7 +164,7 @@ QByteArray FileMatchContext::data()
// The binary fallback matcher for "application/octet-stream".
class BinaryMatcher : public IMagicMatcher {
- Q_DISABLE_COPY(BinaryMatcher);
+ Q_DISABLE_COPY(BinaryMatcher)
public:
BinaryMatcher() {}
virtual bool matches(const QByteArray & /*data*/) const { return true; }
@@ -174,7 +174,7 @@ public:
// A heuristic text file matcher: If the data do not contain any character
// below tab (9), detect as text.
class HeuristicTextMagicMatcher : public IMagicMatcher {
- Q_DISABLE_COPY(HeuristicTextMagicMatcher);
+ Q_DISABLE_COPY(HeuristicTextMagicMatcher)
public:
HeuristicTextMagicMatcher() {}
virtual bool matches(const QByteArray &data) const;
@@ -646,7 +646,7 @@ namespace Internal {
// MimeDatabase helpers: Generic parser for a sequence of <mime-type>.
// Calls abstract handler function process for MimeType it finds.
class BaseMimeTypeParser {
- Q_DISABLE_COPY(BaseMimeTypeParser);
+ Q_DISABLE_COPY(BaseMimeTypeParser)
public:
BaseMimeTypeParser();
virtual ~BaseMimeTypeParser() {}
diff --git a/src/plugins/coreplugin/ssh/sshchannel_p.h b/src/plugins/coreplugin/ssh/sshchannel_p.h
index c260dec143..c518db78c7 100644
--- a/src/plugins/coreplugin/ssh/sshchannel_p.h
+++ b/src/plugins/coreplugin/ssh/sshchannel_p.h
@@ -34,7 +34,7 @@
#include <QtCore/QObject>
#include <QtCore/QString>
-QT_FORWARD_DECLARE_CLASS(QTimer);
+QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Core {
namespace Internal {
diff --git a/src/plugins/coreplugin/ssh/sshpacket_p.h b/src/plugins/coreplugin/ssh/sshpacket_p.h
index 7120f001fd..9bc55b715c 100644
--- a/src/plugins/coreplugin/ssh/sshpacket_p.h
+++ b/src/plugins/coreplugin/ssh/sshpacket_p.h
@@ -75,7 +75,7 @@ enum SshPacketType {
SSH_MSG_CHANNEL_CLOSE = 97,
SSH_MSG_CHANNEL_REQUEST = 98,
SSH_MSG_CHANNEL_SUCCESS = 99,
- SSH_MSG_CHANNEL_FAILURE = 100,
+ SSH_MSG_CHANNEL_FAILURE = 100
};
enum SshExtendedDataType { SSH_EXTENDED_DATA_STDERR = 1 };
diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h
index e828b7b7db..7efbf7107f 100644
--- a/src/plugins/cpptools/cppcodeformatter.h
+++ b/src/plugins/cpptools/cppcodeformatter.h
@@ -50,7 +50,7 @@ namespace TextEditor {
class TabSettings;
}
-namespace CppTools {
+namespace CppTools {
namespace Internal {
class CppCodeFormatterData;
}
@@ -170,7 +170,7 @@ public: // must be public to make Q_GADGET introspection work
assign_open, // after an assignment token
expression, // after a '=' in a declaration_start once we're sure it's not '= {'
- initializer, // after a '=' in a declaration start
+ initializer // after a '=' in a declaration start
};
Q_ENUMS(StateType)
diff --git a/src/plugins/cpptools/insertionpointlocator.h b/src/plugins/cpptools/insertionpointlocator.h
index 3124a528f9..4a730a102a 100644
--- a/src/plugins/cpptools/insertionpointlocator.h
+++ b/src/plugins/cpptools/insertionpointlocator.h
@@ -94,7 +94,7 @@ public:
PublicSlot = Public | SlotBit,
ProtectedSlot = Protected | SlotBit,
- PrivateSlot = Private | SlotBit,
+ PrivateSlot = Private | SlotBit
};
public:
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp
index 8cc0601c1f..3356f53764 100644
--- a/src/plugins/debugger/breakhandler.cpp
+++ b/src/plugins/debugger/breakhandler.cpp
@@ -1036,7 +1036,7 @@ static QString stateToString(BreakpointState state)
case BreakpointDead: return "Dead";
default: return "<invalid state>";
}
-};
+}
bool BreakHandler::BreakpointItem::needsChange() const
{
diff --git a/src/plugins/debugger/breakpoint.h b/src/plugins/debugger/breakpoint.h
index 7db0e01d29..e4d873cb02 100644
--- a/src/plugins/debugger/breakpoint.h
+++ b/src/plugins/debugger/breakpoint.h
@@ -54,7 +54,7 @@ enum BreakpointType
BreakpointAtThrow,
BreakpointAtCatch,
BreakpointAtMain,
- Watchpoint,
+ Watchpoint
};
enum BreakpointState
@@ -67,7 +67,7 @@ enum BreakpointState
BreakpointInserted,
BreakpointRemoveRequested,
BreakpointRemoveProceeding,
- BreakpointDead,
+ BreakpointDead
};
class BreakpointParameters
diff --git a/src/plugins/debugger/consolewindow.cpp b/src/plugins/debugger/consolewindow.cpp
index eecb3aa769..9c2b0f0cc7 100644
--- a/src/plugins/debugger/consolewindow.cpp
+++ b/src/plugins/debugger/consolewindow.cpp
@@ -151,7 +151,7 @@ public:
History() : m_index(0) {}
void append(const QString &item) {
m_items.removeAll(item);
- m_items.append(item); m_index = m_items.size() - 1;
+ m_items.append(item); m_index = m_items.size() - 1;
}
void down() { m_index = qMin(m_index + 1, m_items.size()); }
void up() { m_index = qMax(m_index - 1, 0); }
@@ -289,7 +289,7 @@ ConsoleWindow::ConsoleWindow(QWidget *parent)
//connect(m_console, SIGNAL(statusMessageRequested(QString,int)),
// this, SIGNAL(statusMessageRequested(QString,int)));
-};
+}
void ConsoleWindow::showOutput(int channel, const QString &output)
{
diff --git a/src/plugins/debugger/debuggerconstants.h b/src/plugins/debugger/debuggerconstants.h
index 3f734bd166..904c46ecfd 100644
--- a/src/plugins/debugger/debuggerconstants.h
+++ b/src/plugins/debugger/debuggerconstants.h
@@ -162,7 +162,7 @@ enum DebuggerCapabilities
CreateFullBacktraceCapability = 0x800,
AddWatcherCapability = 0x1000,
WatchpointCapability = 0x2000,
- ShowModuleSymbolsCapability = 0x4000,
+ ShowModuleSymbolsCapability = 0x4000
};
enum LogChannel
@@ -209,7 +209,7 @@ enum ModelRoles
LocalsIsWatchpointAtPointerValueRole,
// Snapshots
- SnapshotCapabilityRole,
+ SnapshotCapabilityRole
};
enum DebuggerEngineType
diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h
index 1b095e998e..97239fb4f9 100644
--- a/src/plugins/debugger/gdb/gdbengine.h
+++ b/src/plugins/debugger/gdb/gdbengine.h
@@ -72,7 +72,7 @@ enum DebuggingHelperState
DebuggingHelperUninitialized,
DebuggingHelperLoadTried,
DebuggingHelperAvailable,
- DebuggingHelperUnavailable,
+ DebuggingHelperUnavailable
};
@@ -182,7 +182,7 @@ private: ////////// Gdb Command Management //////////
enum GdbCommandFlag {
NoFlags = 0,
// The command needs a stopped inferior.
- NeedsStop = 1,
+ NeedsStop = 1,
// No need to wait for the reply before continuing inferior.
Discardable = 2,
// Trigger watch model rebuild when no such commands are pending anymore.
@@ -201,7 +201,7 @@ private: ////////// Gdb Command Management //////////
// This command needs to be send immediately.
Immediate = 256,
// This is a command that needs to be wrapped into -interpreter-exec console
- ConsoleCommand = 512,
+ ConsoleCommand = 512
};
Q_DECLARE_FLAGS(GdbCommandFlags, GdbCommandFlag)
private:
@@ -524,7 +524,7 @@ private: ////////// View & Data Stuff //////////
QtDumperHelper m_dumperHelper;
QString m_gdb;
- //
+ //
// Convenience Functions
//
QString errorMessage(QProcess::ProcessError error);
diff --git a/src/plugins/debugger/gdb/gdbmi.cpp b/src/plugins/debugger/gdb/gdbmi.cpp
index 158a1fc2b9..cf1346b0d5 100644
--- a/src/plugins/debugger/gdb/gdbmi.cpp
+++ b/src/plugins/debugger/gdb/gdbmi.cpp
@@ -386,7 +386,7 @@ QByteArray GdbResponse::stringFromResultClass(GdbResultClass resultClass)
case GdbResultExit: return "exit";
default: return "unknown";
}
-};
+}
QByteArray GdbResponse::toString() const
{
diff --git a/src/plugins/debugger/gdb/gdbmi.h b/src/plugins/debugger/gdb/gdbmi.h
index 8719082720..5a4436cd4e 100644
--- a/src/plugins/debugger/gdb/gdbmi.h
+++ b/src/plugins/debugger/gdb/gdbmi.h
@@ -100,7 +100,7 @@ public:
Invalid,
Const,
Tuple,
- List,
+ List
};
Type m_type;
@@ -152,7 +152,7 @@ enum GdbResultClass
GdbResultRunning,
GdbResultConnected,
GdbResultError,
- GdbResultExit,
+ GdbResultExit
};
class GdbResponse
diff --git a/src/plugins/debugger/gdb/remotegdbprocess.h b/src/plugins/debugger/gdb/remotegdbprocess.h
index 8fafe9560b..f218360933 100644
--- a/src/plugins/debugger/gdb/remotegdbprocess.h
+++ b/src/plugins/debugger/gdb/remotegdbprocess.h
@@ -91,7 +91,7 @@ private slots:
private:
enum State {
Inactive, Connecting, CreatingFifo, StartingFifoReader,
- StartingGdb, RunningGdb,
+ StartingGdb, RunningGdb
};
static QByteArray readerCmdLine(const QByteArray &file);
diff --git a/src/plugins/debugger/gdb/symbian.h b/src/plugins/debugger/gdb/symbian.h
index 791653f40a..9174c56bf7 100644
--- a/src/plugins/debugger/gdb/symbian.h
+++ b/src/plugins/debugger/gdb/symbian.h
@@ -84,7 +84,7 @@ namespace Symbian {
enum CodeMode
{
ArmMode = 0,
- ThumbMode,
+ ThumbMode
};
enum TargetConstants
diff --git a/src/plugins/debugger/lldb/ipcengineguest.h b/src/plugins/debugger/lldb/ipcengineguest.h
index be939e4929..ce5189ef73 100644
--- a/src/plugins/debugger/lldb/ipcengineguest.h
+++ b/src/plugins/debugger/lldb/ipcengineguest.h
@@ -124,7 +124,7 @@ public:
UpdateWatchData = 47,
FrameSourceFetched = 48
};
- Q_ENUMS(Function);
+ Q_ENUMS(Function)
DebuggerState state() const;
void notifyEngineSetupOk();
diff --git a/src/plugins/debugger/lldb/ipcenginehost.h b/src/plugins/debugger/lldb/ipcenginehost.h
index b36840641c..aa6eb534a4 100644
--- a/src/plugins/debugger/lldb/ipcenginehost.h
+++ b/src/plugins/debugger/lldb/ipcenginehost.h
@@ -85,7 +85,7 @@ public:
RequestUpdateWatchData = 25,
FetchFrameSource = 26
};
- Q_ENUMS(Function);
+ Q_ENUMS(Function)
void setupEngine();
void setupInferior();
diff --git a/src/plugins/debugger/logwindow.cpp b/src/plugins/debugger/logwindow.cpp
index bdd731541a..2b76c9e254 100644
--- a/src/plugins/debugger/logwindow.cpp
+++ b/src/plugins/debugger/logwindow.cpp
@@ -382,7 +382,7 @@ LogWindow::LogWindow(QWidget *parent)
this, SIGNAL(statusMessageRequested(QString,int)));
connect(m_inputText, SIGNAL(commandSelected(int)),
m_combinedText, SLOT(gotoResult(int)));
-};
+}
void LogWindow::showOutput(int channel, const QString &output)
{
diff --git a/src/plugins/debugger/moduleshandler.h b/src/plugins/debugger/moduleshandler.h
index 0d7d04a41f..8bd05edfc2 100644
--- a/src/plugins/debugger/moduleshandler.h
+++ b/src/plugins/debugger/moduleshandler.h
@@ -75,12 +75,12 @@ public:
enum SymbolReadState {
UnknownReadState, // Not tried.
ReadFailed, // Tried to read, but failed.
- ReadOk, // Dwarf index available.
+ ReadOk // Dwarf index available.
};
enum SymbolType {
UnknownType, // Unknown.
PlainSymbols, // Ordinary symbols available.
- FastSymbols, // Dwarf index available.
+ FastSymbols // Dwarf index available.
};
QString moduleName;
QString modulePath;
diff --git a/src/plugins/debugger/tcf/json.h b/src/plugins/debugger/tcf/json.h
index 711a087b1b..611e146df3 100644
--- a/src/plugins/debugger/tcf/json.h
+++ b/src/plugins/debugger/tcf/json.h
@@ -51,7 +51,7 @@ public:
String,
Number,
Object,
- Array,
+ Array
};
Type m_type;
diff --git a/src/plugins/debugger/watchhandler.h b/src/plugins/debugger/watchhandler.h
index 38f34a4106..f75509599a 100644
--- a/src/plugins/debugger/watchhandler.h
+++ b/src/plugins/debugger/watchhandler.h
@@ -59,7 +59,7 @@ enum IntegerFormat
DecimalFormat = 0, // Keep that at 0 as default.
HexadecimalFormat,
BinaryFormat,
- OctalFormat,
+ OctalFormat
};
class WatchModel : public QAbstractItemModel
diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp
index a21af15c46..9eade3983d 100644
--- a/src/plugins/debugger/watchutils.cpp
+++ b/src/plugins/debugger/watchutils.cpp
@@ -691,7 +691,7 @@ bool currentTextEditorPosition(QString *fileNameIn /* = 0 */,
int *lineNumberIn /* = 0 */)
{
QString fileName;
- int lineNumber;
+ int lineNumber = 0;
if (TextEditor::ITextEditor *textEditor = currentTextEditor()) {
if (const Core::IFile *file = textEditor->file()) {
fileName = file->fileName();
diff --git a/src/plugins/designer/formeditorstack.h b/src/plugins/designer/formeditorstack.h
index 130625aa72..a069d7baab 100644
--- a/src/plugins/designer/formeditorstack.h
+++ b/src/plugins/designer/formeditorstack.h
@@ -57,7 +57,7 @@ namespace Internal {
class FormEditorStack : public QStackedWidget
{
Q_OBJECT
- Q_DISABLE_COPY(FormEditorStack);
+ Q_DISABLE_COPY(FormEditorStack)
public:
explicit FormEditorStack(QWidget *parent = 0);
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp
index afdcf758b5..aa6f3f8901 100644
--- a/src/plugins/fakevim/fakevimhandler.cpp
+++ b/src/plugins/fakevim/fakevimhandler.cpp
@@ -139,7 +139,7 @@ enum Mode
InsertMode,
ReplaceMode,
CommandMode,
- ExMode,
+ ExMode
};
/*! A \e SubMode is used for things that require one more data item
@@ -162,7 +162,7 @@ enum SubMode
CapitalZSubMode, // Used for Z
ReplaceSubMode, // Used for r
OpenSquareSubMode, // Used for [
- CloseSquareSubMode, // Used for ]
+ CloseSquareSubMode // Used for ]
};
/*! A \e SubSubMode is used for things that require one more data item
@@ -179,7 +179,7 @@ enum SubSubMode
DownCaseSubSubMode, // Used for gu.
UpCaseSubSubMode, // Used for gU.
TextObjectSubSubMode, // Used for thing like iw, aW, as etc.
- SearchSubSubMode,
+ SearchSubSubMode
};
enum VisualMode
@@ -187,14 +187,14 @@ enum VisualMode
NoVisualMode,
VisualCharMode,
VisualLineMode,
- VisualBlockMode,
+ VisualBlockMode
};
enum MoveType
{
MoveExclusive,
MoveInclusive,
- MoveLineWise,
+ MoveLineWise
};
/*!
@@ -1948,7 +1948,7 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input)
m_findPending = true;
m_findStartPosition = position();
m_movetype = MoveExclusive;
- setAnchor(); // clear selection: otherwise, search is restricted to selection
+ setAnchor(); // clear selection: otherwise, search is restricted to selection
emit q->findRequested(!m_lastSearchForward);
} else {
// FIXME: make core find dialog sufficiently flexible to
diff --git a/src/plugins/fakevim/fakevimhandler.h b/src/plugins/fakevim/fakevimhandler.h
index 2797d8c49b..f379ffea6e 100644
--- a/src/plugins/fakevim/fakevimhandler.h
+++ b/src/plugins/fakevim/fakevimhandler.h
@@ -44,7 +44,7 @@ enum RangeMode
RangeLineMode, // V
RangeLineModeExclusive,
RangeBlockMode, // Ctrl-v
- RangeBlockAndTailMode, // Ctrl-v for D and X
+ RangeBlockAndTailMode // Ctrl-v for D and X
};
struct Range
diff --git a/src/plugins/git/gitorious/gitorious.h b/src/plugins/git/gitorious/gitorious.h
index d61ae27c3d..6644b2f9a0 100644
--- a/src/plugins/git/gitorious/gitorious.h
+++ b/src/plugins/git/gitorious/gitorious.h
@@ -53,7 +53,7 @@ struct GitoriousRepository
CloneRepository,
BaselineRepository, // Nokia extension
SharedRepository, // Nokia extension
- PersonalRepository, // Nokia extension
+ PersonalRepository // Nokia extension
};
GitoriousRepository();
diff --git a/src/plugins/glsleditor/glsleditorplugin.cpp b/src/plugins/glsleditor/glsleditorplugin.cpp
index 6c47328aa4..fe66604d46 100644
--- a/src/plugins/glsleditor/glsleditorplugin.cpp
+++ b/src/plugins/glsleditor/glsleditorplugin.cpp
@@ -281,7 +281,7 @@ QByteArray GLSLEditorPlugin::glslFile(const QString &fileName)
void GLSLEditorPlugin::parseGlslFile(const QString &fileName, InitFile *initFile)
{
// Parse the builtins for any langugage variant so we can use all keywords.
- const int variant = GLSL::Lexer::Variant_All;
+ const unsigned variant = GLSL::Lexer::Variant_All;
const QByteArray code = glslFile(fileName);
initFile->engine = new GLSL::Engine();
diff --git a/src/plugins/helloworld/helloworldwindow.h b/src/plugins/helloworld/helloworldwindow.h
index 1a8f451260..0f5990810e 100644
--- a/src/plugins/helloworld/helloworldwindow.h
+++ b/src/plugins/helloworld/helloworldwindow.h
@@ -32,7 +32,7 @@
#include <QtGui/QWidget>
-QT_FORWARD_DECLARE_CLASS(QLabel);
+QT_FORWARD_DECLARE_CLASS(QLabel)
namespace HelloWorld {
namespace Internal {
diff --git a/src/plugins/perforce/perforcesettings.cpp b/src/plugins/perforce/perforcesettings.cpp
index 7cf1f8712d..37e10735d9 100644
--- a/src/plugins/perforce/perforcesettings.cpp
+++ b/src/plugins/perforce/perforcesettings.cpp
@@ -82,7 +82,7 @@ bool Settings::equals(const Settings &rhs) const
&& p4Client == rhs.p4Client && p4User == rhs.p4User
&& timeOutS == rhs.timeOutS && promptToSubmit == rhs.promptToSubmit
&& autoOpen == rhs.autoOpen;
-};
+}
QStringList Settings::commonP4Arguments() const
{
diff --git a/src/plugins/perforce/perforcesettings.h b/src/plugins/perforce/perforcesettings.h
index cdb1ee0675..1c5d77f2eb 100644
--- a/src/plugins/perforce/perforcesettings.h
+++ b/src/plugins/perforce/perforcesettings.h
@@ -82,7 +82,7 @@ inline bool operator!=(const Settings &s1, const Settings &s2) { return !s1.equa
* "-d" option, so that running p4 in "/depot/dev/foo" results in "-d $HOME/dev/foo". */
class PerforceSettings {
- Q_DISABLE_COPY(PerforceSettings);
+ Q_DISABLE_COPY(PerforceSettings)
public:
PerforceSettings();
~PerforceSettings();
diff --git a/src/plugins/perforce/perforceversioncontrol.cpp b/src/plugins/perforce/perforceversioncontrol.cpp
index 8e755a960a..3824f86698 100644
--- a/src/plugins/perforce/perforceversioncontrol.cpp
+++ b/src/plugins/perforce/perforceversioncontrol.cpp
@@ -78,7 +78,7 @@ Core::IVersionControl::SettingsFlags PerforceVersionControl::settingsFlags() con
if (m_plugin->settings().autoOpen())
rc|= AutoOpen;
return rc;
-};
+}
bool PerforceVersionControl::vcsAdd(const QString &fileName)
{
diff --git a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
index 8a908c3605..3c99abefe9 100644
--- a/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
+++ b/src/plugins/projectexplorer/customwizard/customwizardparameters.cpp
@@ -388,7 +388,7 @@ static ParseState nextOpeningState(ParseState in, const QStringRef &name)
break;
}
return ParseError;
-};
+}
// Switch parser state depending on closing element name.
static ParseState nextClosingState(ParseState in, const QStringRef &name)
@@ -454,7 +454,7 @@ static ParseState nextClosingState(ParseState in, const QStringRef &name)
break;
}
return ParseError;
-};
+}
// Parse kind attribute
static inline Core::IWizard::WizardKind kindAttribute(const QXmlStreamReader &r)
diff --git a/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h b/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h
index a3feb6b0b5..7e38d395a5 100644
--- a/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h
+++ b/src/plugins/projectexplorer/customwizard/customwizardscriptgenerator.h
@@ -35,7 +35,7 @@
namespace Core {
class GeneratedFile;
-};
+}
namespace ProjectExplorer {
namespace Internal {
diff --git a/src/plugins/projectexplorer/outputformatter.h b/src/plugins/projectexplorer/outputformatter.h
index d1501c1b66..0d03157c9a 100644
--- a/src/plugins/projectexplorer/outputformatter.h
+++ b/src/plugins/projectexplorer/outputformatter.h
@@ -34,10 +34,10 @@
#include <QtCore/QObject>
-QT_FORWARD_DECLARE_CLASS(QMouseEvent);
-QT_FORWARD_DECLARE_CLASS(QPlainTextEdit);
-QT_FORWARD_DECLARE_CLASS(QTextCharFormat);
-QT_FORWARD_DECLARE_CLASS(QColor);
+QT_FORWARD_DECLARE_CLASS(QMouseEvent)
+QT_FORWARD_DECLARE_CLASS(QPlainTextEdit)
+QT_FORWARD_DECLARE_CLASS(QTextCharFormat)
+QT_FORWARD_DECLARE_CLASS(QColor)
namespace ProjectExplorer {
diff --git a/src/plugins/projectexplorer/processparameters.h b/src/plugins/projectexplorer/processparameters.h
index 62fed68e21..1b7e739d42 100644
--- a/src/plugins/projectexplorer/processparameters.h
+++ b/src/plugins/projectexplorer/processparameters.h
@@ -36,7 +36,7 @@
namespace Utils {
class AbstractMacroExpander;
-};
+}
namespace ProjectExplorer {
diff --git a/src/plugins/projectexplorer/publishing/publishingwizardselectiondialog.h b/src/plugins/projectexplorer/publishing/publishingwizardselectiondialog.h
index 7f8a018bcf..aaff3282fc 100644
--- a/src/plugins/projectexplorer/publishing/publishingwizardselectiondialog.h
+++ b/src/plugins/projectexplorer/publishing/publishingwizardselectiondialog.h
@@ -32,7 +32,7 @@
#include <QtCore/QList>
#include <QtGui/QDialog>
-QT_FORWARD_DECLARE_CLASS(QWizard);
+QT_FORWARD_DECLARE_CLASS(QWizard)
namespace ProjectExplorer {
class IPublishingWizardFactory;
diff --git a/src/plugins/projectexplorer/runconfiguration.h b/src/plugins/projectexplorer/runconfiguration.h
index 5047e38c19..d78b3f2a3a 100644
--- a/src/plugins/projectexplorer/runconfiguration.h
+++ b/src/plugins/projectexplorer/runconfiguration.h
@@ -57,7 +57,7 @@ class OutputFormatter;
* That is the lifetime of the RunConfiguration might exceed the life of the target.
* The user might still have a RunControl running (or output tab of that RunControl open)
* and yet unloaded the target.
- * Also a RunConfiguration might be already removed from the list of RunConfigurations
+ * Also a RunConfiguration might be already removed from the list of RunConfigurations
* for a target, but stil be runnable via the output tab.
*/
class PROJECTEXPLORER_EXPORT RunConfiguration : public ProjectConfiguration
@@ -180,7 +180,7 @@ class PROJECTEXPLORER_EXPORT RunControl : public QObject
public:
enum StopResult {
StoppedSynchronously, // Stopped.
- AsynchronousStop, // Stop sequence has been started
+ AsynchronousStop // Stop sequence has been started
};
explicit RunControl(RunConfiguration *runConfiguration, QString mode);
diff --git a/src/plugins/qmldesigner/components/formeditor/dragtool.h b/src/plugins/qmldesigner/components/formeditor/dragtool.h
index 74d59c3d46..2db3eea4d0 100644
--- a/src/plugins/qmldesigner/components/formeditor/dragtool.h
+++ b/src/plugins/qmldesigner/components/formeditor/dragtool.h
@@ -58,7 +58,7 @@ public slots:
private:
DragTool *m_dragTool;
};
-};
+}
class DragTool : public AbstractFormEditorTool
{
diff --git a/src/plugins/qmldesigner/components/formeditor/scaleitem.h b/src/plugins/qmldesigner/components/formeditor/scaleitem.h
index c6eb3bc727..0ead6c80b8 100644
--- a/src/plugins/qmldesigner/components/formeditor/scaleitem.h
+++ b/src/plugins/qmldesigner/components/formeditor/scaleitem.h
@@ -48,6 +48,6 @@ private:
ScaleIndicator* m_indicator;
};
-};
+}
#endif // SCALEITEM_H
diff --git a/src/plugins/qmldesigner/components/integration/componentview.cpp b/src/plugins/qmldesigner/components/integration/componentview.cpp
index d24d6fb364..b851ae9daf 100644
--- a/src/plugins/qmldesigner/components/integration/componentview.cpp
+++ b/src/plugins/qmldesigner/components/integration/componentview.cpp
@@ -160,7 +160,7 @@ void ComponentView::variantPropertiesChanged(const QList<VariantProperty>& /*pro
void ComponentView::bindingPropertiesChanged(const QList<BindingProperty>& /*propertyList*/, PropertyChangeFlags /*propertyChange*/) {}
void ComponentView::rootNodeTypeChanged(const QString &/*type*/, int /*majorVersion*/, int /*minorVersion*/) {}
void ComponentView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/) {}
-void ComponentView::instancePropertyChange(const QList<QPair<ModelNode, QString> > &/*propertyList*/) {};
+void ComponentView::instancePropertyChange(const QList<QPair<ModelNode, QString> > &/*propertyList*/) {}
void ComponentView::instancesCompleted(const QVector<ModelNode> &/*completedNodeList*/) {}
diff --git a/src/plugins/qmldesigner/components/integration/designdocumentcontrollerview.cpp b/src/plugins/qmldesigner/components/integration/designdocumentcontrollerview.cpp
index a1e967a021..d6cead8fb5 100644
--- a/src/plugins/qmldesigner/components/integration/designdocumentcontrollerview.cpp
+++ b/src/plugins/qmldesigner/components/integration/designdocumentcontrollerview.cpp
@@ -40,22 +40,22 @@
namespace QmlDesigner {
-void DesignDocumentControllerView::nodeCreated(const ModelNode & /*createdNode*/) {};
-void DesignDocumentControllerView::nodeAboutToBeRemoved(const ModelNode & /*removedNode*/) {};
-void DesignDocumentControllerView::nodeRemoved(const ModelNode & /*removedNode*/, const NodeAbstractProperty & /*parentProperty*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {};
-void DesignDocumentControllerView::nodeAboutToBeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {};
-void DesignDocumentControllerView::nodeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {};
-void DesignDocumentControllerView::nodeIdChanged(const ModelNode& /*node*/, const QString& /*newId*/, const QString& /*oldId*/) {};
-void DesignDocumentControllerView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& /*propertyList*/) {};
-void DesignDocumentControllerView::propertiesRemoved(const QList<AbstractProperty>& /*propertyList*/) {};
-void DesignDocumentControllerView::variantPropertiesChanged(const QList<VariantProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {};
-void DesignDocumentControllerView::bindingPropertiesChanged(const QList<BindingProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {};
-void DesignDocumentControllerView::rootNodeTypeChanged(const QString & /*type*/, int /*majorVersion*/, int /*minorVersion*/) {};
+void DesignDocumentControllerView::nodeCreated(const ModelNode & /*createdNode*/) {}
+void DesignDocumentControllerView::nodeAboutToBeRemoved(const ModelNode & /*removedNode*/) {}
+void DesignDocumentControllerView::nodeRemoved(const ModelNode & /*removedNode*/, const NodeAbstractProperty & /*parentProperty*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {}
+void DesignDocumentControllerView::nodeAboutToBeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {}
+void DesignDocumentControllerView::nodeReparented(const ModelNode & /*node*/, const NodeAbstractProperty & /*newPropertyParent*/, const NodeAbstractProperty & /*oldPropertyParent*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {}
+void DesignDocumentControllerView::nodeIdChanged(const ModelNode& /*node*/, const QString& /*newId*/, const QString& /*oldId*/) {}
+void DesignDocumentControllerView::propertiesAboutToBeRemoved(const QList<AbstractProperty>& /*propertyList*/) {}
+void DesignDocumentControllerView::propertiesRemoved(const QList<AbstractProperty>& /*propertyList*/) {}
+void DesignDocumentControllerView::variantPropertiesChanged(const QList<VariantProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {}
+void DesignDocumentControllerView::bindingPropertiesChanged(const QList<BindingProperty>& /*propertyList*/, AbstractView::PropertyChangeFlags /*propertyChange*/) {}
+void DesignDocumentControllerView::rootNodeTypeChanged(const QString & /*type*/, int /*majorVersion*/, int /*minorVersion*/) {}
void DesignDocumentControllerView::selectedNodesChanged(const QList<ModelNode> & /*selectedNodeList*/,
- const QList<ModelNode> & /*lastSelectedNodeList*/) {};
+ const QList<ModelNode> & /*lastSelectedNodeList*/) {}
-void DesignDocumentControllerView::nodeOrderChanged(const NodeListProperty & /*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {};
+void DesignDocumentControllerView::nodeOrderChanged(const NodeListProperty & /*listProperty*/, const ModelNode & /*movedNode*/, int /*oldIndex*/) {}
void DesignDocumentControllerView::scriptFunctionsChanged(const ModelNode &/*node*/, const QStringList &/*scriptFunctionList*/)
{
diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.h b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.h
index 5a5da139c7..5a405d1fd3 100644
--- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.h
+++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarymodel.h
@@ -36,7 +36,7 @@
#include <QScriptEngine>
#include <private/qdeclarativelistmodel_p.h>
-QT_FORWARD_DECLARE_CLASS(QMimeData);
+QT_FORWARD_DECLARE_CLASS(QMimeData)
namespace QmlDesigner {
diff --git a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h
index 75556abb19..cd5ee4cd7b 100644
--- a/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h
+++ b/src/plugins/qmldesigner/components/itemlibrary/itemlibrarywidget.h
@@ -49,7 +49,7 @@ class ItemLibraryWidget : public QFrame
enum FilterChangeFlag {
QtBasic = 0x0,
Meego = 0x1,
- Symbian = 0x2,
+ Symbian = 0x2
};
public:
diff --git a/src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp b/src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp
index 49468353ac..fb740b51b4 100644
--- a/src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp
+++ b/src/plugins/qmldesigner/components/navigator/navigatortreeview.cpp
@@ -174,7 +174,7 @@ NavigatorTreeView::NavigatorTreeView(QWidget *parent)
TreeViewStyle *style = new TreeViewStyle;
setStyle(style);
style->setParent(this);
-};
+}
QSize IconCheckboxItemDelegate::sizeHint(const QStyleOptionViewItem &option,
const QModelIndex &index) const
@@ -224,7 +224,7 @@ void NameItemDelegate::paint(QPainter *painter,
painter->save();
QFontMetrics fm(option.font);
- int width;
+ int width = 0;
if (index.data(Qt::UserRole).isValid()) {
int pixmapSide = 16;
diff --git a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.h b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.h
index 87986816fd..679d9eedec 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/basicwidgets.h
@@ -101,8 +101,8 @@ public:
Action(QObject *parent = 0) : QAction(parent) {}
};
-QML_DECLARE_TYPE(QMenu);
-QML_DECLARE_TYPE(Action);
+QML_DECLARE_TYPE(QMenu)
+QML_DECLARE_TYPE(Action)
//QML_DECLARE_TYPE(QToolBox)
diff --git a/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.cpp b/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.cpp
index 7245e59fae..21d13889aa 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.cpp
@@ -173,4 +173,4 @@ void BehaviorDialog::reject()
QDialog::reject();
}
-};
+}
diff --git a/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.h b/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.h
index ccf93602b7..1947c94349 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/behaviordialog.h
@@ -92,7 +92,7 @@ private:
};
-};
+}
QML_DECLARE_TYPE(QmlDesigner::BehaviorWidget)
diff --git a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
index cce822d585..1c85225e7f 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
+++ b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.h
@@ -50,7 +50,7 @@ class QmlAnchorBindingProxy : public QObject
Q_PROPERTY(bool bottomAnchored READ bottomAnchored WRITE setBottomAnchor NOTIFY bottomAnchorChanged)
Q_PROPERTY(bool leftAnchored READ leftAnchored WRITE setLeftAnchor NOTIFY leftAnchorChanged)
Q_PROPERTY(bool rightAnchored READ rightAnchored WRITE setRightAnchor NOTIFY rightAnchorChanged)
- Q_PROPERTY(bool hasParent READ hasParent NOTIFY parentChanged);
+ Q_PROPERTY(bool hasParent READ hasParent NOTIFY parentChanged)
Q_PROPERTY(QVariant topTarget READ topTarget WRITE setTopTarget NOTIFY topTargetChanged)
Q_PROPERTY(QVariant bottomTarget READ bottomTarget WRITE setBottomTarget NOTIFY bottomTargetChanged)
diff --git a/src/plugins/qmldesigner/designercore/include/abstractview.h b/src/plugins/qmldesigner/designercore/include/abstractview.h
index 70b8383b4d..eae232631e 100644
--- a/src/plugins/qmldesigner/designercore/include/abstractview.h
+++ b/src/plugins/qmldesigner/designercore/include/abstractview.h
@@ -61,15 +61,15 @@ class CORESHARED_EXPORT AbstractView : public QObject
{
Q_OBJECT
public:
- Q_FLAGS(PropertyChangeFlag PropertyChangeFlags);
+ Q_FLAGS(PropertyChangeFlag PropertyChangeFlags)
typedef QWeakPointer<AbstractView> Pointer;
enum PropertyChangeFlag {
NoAdditionalChanges = 0x0,
PropertiesAdded = 0x1,
- EmptyPropertiesRemoved = 0x2,
+ EmptyPropertiesRemoved = 0x2
};
- Q_DECLARE_FLAGS(PropertyChangeFlags, PropertyChangeFlag);
+ Q_DECLARE_FLAGS(PropertyChangeFlags, PropertyChangeFlag)
AbstractView(QObject *parent = 0)
: QObject(parent) {}
diff --git a/src/plugins/qmljseditor/qmljseditor.cpp b/src/plugins/qmljseditor/qmljseditor.cpp
index 33f754290f..fbd15669ca 100644
--- a/src/plugins/qmljseditor/qmljseditor.cpp
+++ b/src/plugins/qmljseditor/qmljseditor.cpp
@@ -87,7 +87,7 @@
enum {
UPDATE_DOCUMENT_DEFAULT_INTERVAL = 100,
UPDATE_USES_DEFAULT_INTERVAL = 150,
- UPDATE_OUTLINE_INTERVAL = 500, // msecs after new semantic info has been arrived / cursor has moved
+ UPDATE_OUTLINE_INTERVAL = 500 // msecs after new semantic info has been arrived / cursor has moved
};
using namespace QmlJS;
diff --git a/src/plugins/qmljseditor/qmljsoutline.h b/src/plugins/qmljseditor/qmljsoutline.h
index c54fc36b15..87430cb4dc 100644
--- a/src/plugins/qmljseditor/qmljsoutline.h
+++ b/src/plugins/qmljseditor/qmljsoutline.h
@@ -13,7 +13,7 @@ class IEditor;
namespace QmlJS {
class Editor;
-};
+}
namespace QmlJSEditor {
namespace Internal {
diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.h b/src/plugins/qmljsinspector/qmljsclientproxy.h
index 96d735d0d4..7612156952 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.h
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.h
@@ -144,7 +144,7 @@ private:
QDeclarativeDebugObjectReference objectReferenceForId(int debugId, const QDeclarativeDebugObjectReference &ref) const;
private:
- Q_DISABLE_COPY(ClientProxy);
+ Q_DISABLE_COPY(ClientProxy)
void buildDebugIdHashRecursive(const QDeclarativeDebugObjectReference &ref);
Debugger::QmlAdapter *m_adapter;
diff --git a/src/plugins/qmljsinspector/qmljstoolbarcolorbox.h b/src/plugins/qmljsinspector/qmljstoolbarcolorbox.h
index 1ab8762ab6..749a67dd8a 100644
--- a/src/plugins/qmljsinspector/qmljstoolbarcolorbox.h
+++ b/src/plugins/qmljsinspector/qmljstoolbarcolorbox.h
@@ -33,8 +33,8 @@
#include <QColor>
#include <QPoint>
-QT_FORWARD_DECLARE_CLASS(QContextMenuEvent);
-QT_FORWARD_DECLARE_CLASS(QAction);
+QT_FORWARD_DECLARE_CLASS(QContextMenuEvent)
+QT_FORWARD_DECLARE_CLASS(QAction)
namespace QmlJSInspector {
diff --git a/src/plugins/qmljstools/qmljslocatordata.h b/src/plugins/qmljstools/qmljslocatordata.h
index 9357fca7e9..906e3920cc 100644
--- a/src/plugins/qmljstools/qmljslocatordata.h
+++ b/src/plugins/qmljstools/qmljslocatordata.h
@@ -47,7 +47,7 @@ public:
enum EntryType
{
- Function,
+ Function
};
class Entry
diff --git a/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.h b/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.h
index 63a6bc0d77..5b92169792 100644
--- a/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.h
+++ b/src/plugins/qmlprojectmanager/fileformat/qmlprojectitem.h
@@ -27,7 +27,7 @@ class QmlProjectItem : public QObject {
Q_PROPERTY(QStringList importPaths READ importPaths WRITE setImportPaths NOTIFY importPathsChanged)
Q_PROPERTY(QString mainFile READ mainFile WRITE setMainFile NOTIFY mainFileChanged)
- Q_CLASSINFO("DefaultProperty", "content");
+ Q_CLASSINFO("DefaultProperty", "content")
public:
QmlProjectItem(QObject *parent = 0);
diff --git a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h
index b0a2493074..f3ddae862a 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h
+++ b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.h
@@ -36,7 +36,7 @@
#include <QComboBox>
#include <QLabel>
-QT_FORWARD_DECLARE_CLASS(QStringListModel);
+QT_FORWARD_DECLARE_CLASS(QStringListModel)
namespace Core {
class IEditor;
diff --git a/src/plugins/qmlprojectmanager/qmlprojectrunconfigurationwidget.h b/src/plugins/qmlprojectmanager/qmlprojectrunconfigurationwidget.h
index 7f981b4545..1dacf7a7a1 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectrunconfigurationwidget.h
+++ b/src/plugins/qmlprojectmanager/qmlprojectrunconfigurationwidget.h
@@ -32,8 +32,8 @@
#include <QWidget>
-QT_FORWARD_DECLARE_CLASS(QComboBox);
-QT_FORWARD_DECLARE_CLASS(QStandardItemModel);
+QT_FORWARD_DECLARE_CLASS(QComboBox)
+QT_FORWARD_DECLARE_CLASS(QStandardItemModel)
namespace ProjectExplorer {
diff --git a/src/plugins/qt4projectmanager/qmldumptool.cpp b/src/plugins/qt4projectmanager/qmldumptool.cpp
index 4f11e60421..37239bcf56 100644
--- a/src/plugins/qt4projectmanager/qmldumptool.cpp
+++ b/src/plugins/qt4projectmanager/qmldumptool.cpp
@@ -52,7 +52,7 @@ using namespace Qt4ProjectManager;
class QmlDumpBuildTask;
typedef QHash<int, QmlDumpBuildTask *> QmlDumpByVersion;
-Q_GLOBAL_STATIC(QmlDumpByVersion, qmlDumpBuilds);
+Q_GLOBAL_STATIC(QmlDumpByVersion, qmlDumpBuilds)
// A task suitable to be run by QtConcurrent to build qmldump.
class QmlDumpBuildTask : public QObject {
diff --git a/src/plugins/qt4projectmanager/qmlobservertool.h b/src/plugins/qt4projectmanager/qmlobservertool.h
index 65223919ca..a7d7cbaa3f 100644
--- a/src/plugins/qt4projectmanager/qmlobservertool.h
+++ b/src/plugins/qt4projectmanager/qmlobservertool.h
@@ -33,7 +33,7 @@
#include <utils/buildablehelperlibrary.h>
#include "qt4projectmanager_global.h"
-QT_FORWARD_DECLARE_CLASS(QDir);
+QT_FORWARD_DECLARE_CLASS(QDir)
namespace Utils {
class Environment;
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeployables.h b/src/plugins/qt4projectmanager/qt-maemo/maemodeployables.h
index b7175116b7..9d3f797bef 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemodeployables.h
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeployables.h
@@ -49,7 +49,7 @@
#include <QtCore/QHash>
#include <QtCore/QList>
-QT_FORWARD_DECLARE_CLASS(QTimer);
+QT_FORWARD_DECLARE_CLASS(QTimer)
namespace ProjectExplorer { class BuildStep; }
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
index 8cf45b34da..cdb03a51c4 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
@@ -79,7 +79,7 @@ namespace {
const AuthType DefaultAuthType(Core::SshConnectionParameters::AuthByKey);
const int DefaultTimeout(30);
const MaemoDeviceConfig::DeviceType DefaultDeviceType(MaemoDeviceConfig::Physical);
-};
+}
class DevConfIdMatcher
{
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.h b/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.h
index c28081875c..bc93630896 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.h
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemoqemumanager.h
@@ -39,9 +39,9 @@
#include <QtGui/QIcon>
-QT_FORWARD_DECLARE_CLASS(QAction);
+QT_FORWARD_DECLARE_CLASS(QAction)
QT_FORWARD_DECLARE_CLASS(QFileSystemWatcher)
-QT_FORWARD_DECLARE_CLASS(QStringList);
+QT_FORWARD_DECLARE_CLASS(QStringList)
namespace ProjectExplorer {
class BuildConfiguration;
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.h b/src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.h
index 48d9abcc55..cff56c4edf 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.h
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemoremotemounter.h
@@ -41,7 +41,7 @@
#include <QtCore/QSharedPointer>
#include <QtCore/QString>
-QT_FORWARD_DECLARE_CLASS(QTimer);
+QT_FORWARD_DECLARE_CLASS(QTimer)
namespace Core {
class SftpChannel;
diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.h b/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.h
index 08c44e9a06..6fe3ae0cbf 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.h
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemotemplatesmanager.h
@@ -36,7 +36,7 @@
#include <QtCore/QSharedPointer>
#include <QtGui/QIcon>
-QT_FORWARD_DECLARE_CLASS(QFileSystemWatcher);
+QT_FORWARD_DECLARE_CLASS(QFileSystemWatcher)
namespace ProjectExplorer {
class Project;
diff --git a/src/plugins/qt4projectmanager/qt-s60/passphraseforkeydialog.h b/src/plugins/qt4projectmanager/qt-s60/passphraseforkeydialog.h
index 4fe4c000b1..9ef827de0e 100644
--- a/src/plugins/qt4projectmanager/qt-s60/passphraseforkeydialog.h
+++ b/src/plugins/qt4projectmanager/qt-s60/passphraseforkeydialog.h
@@ -32,9 +32,9 @@
#include <QtGui/QDialog>
-QT_FORWARD_DECLARE_CLASS(QCheckBox);
-QT_FORWARD_DECLARE_CLASS(QDialogButtonBox);
-QT_FORWARD_DECLARE_CLASS(QLineEdit);
+QT_FORWARD_DECLARE_CLASS(QCheckBox)
+QT_FORWARD_DECLARE_CLASS(QDialogButtonBox)
+QT_FORWARD_DECLARE_CLASS(QLineEdit)
namespace Qt4ProjectManager {
diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp
index ceb272bc4c..b7d255854b 100644
--- a/src/plugins/qt4projectmanager/qt4nodes.cpp
+++ b/src/plugins/qt4projectmanager/qt4nodes.cpp
@@ -146,7 +146,7 @@ Q_GLOBAL_STATIC_WITH_INITIALIZER(Qt4NodeStaticData, qt4NodeStaticData, {
x->projectIcon.addPixmap(projectPixmap);
qAddPostRoutine(clearQt4NodeStaticData);
-});
+})
static void clearQt4NodeStaticData()
{
diff --git a/src/plugins/qt4projectmanager/qtmodulesinfo.cpp b/src/plugins/qt4projectmanager/qtmodulesinfo.cpp
index 84fc7e4f1e..e62db51bb7 100644
--- a/src/plugins/qt4projectmanager/qtmodulesinfo.cpp
+++ b/src/plugins/qt4projectmanager/qtmodulesinfo.cpp
@@ -125,19 +125,19 @@ const itemVectorType itemVector()
Q_GLOBAL_STATIC_WITH_INITIALIZER(itemVectorType, staticItemVector, {
*x = itemVector();
-});
+})
Q_GLOBAL_STATIC_WITH_INITIALIZER(QStringList, staticModulesList, {
const itemVectorType * const itemVector = staticItemVector();
for (int i = 0; i < itemVector->count(); i++)
x->append(QString::fromLatin1(itemVector->at(i)->config));
-});
+})
Q_GLOBAL_STATIC_WITH_INITIALIZER(itemHashType, staticItemHash, {
const itemVectorType * const itemVector = staticItemVector();
for (int i = 0; i < itemVector->count(); i++)
x->insert(QString::fromLatin1(itemVector->at(i)->config), itemVector->at(i));
-});
+})
QStringList QtModulesInfo::modules()
{
diff --git a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.h b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.h
index fdef7d681d..d3517ca283 100644
--- a/src/plugins/qt4projectmanager/wizards/abstractmobileapp.h
+++ b/src/plugins/qt4projectmanager/wizards/abstractmobileapp.h
@@ -36,7 +36,7 @@
#include <coreplugin/basefilewizard.h>
#endif // CREATORLESSTEST
-QT_FORWARD_DECLARE_CLASS(QTextStream);
+QT_FORWARD_DECLARE_CLASS(QTextStream)
namespace Qt4ProjectManager {
namespace Internal {
diff --git a/src/plugins/qt4projectmanager/wizards/mobileapp.h b/src/plugins/qt4projectmanager/wizards/mobileapp.h
index 621219ce56..de5bbe92b7 100644
--- a/src/plugins/qt4projectmanager/wizards/mobileapp.h
+++ b/src/plugins/qt4projectmanager/wizards/mobileapp.h
@@ -40,7 +40,7 @@ struct MobileAppGeneratedFileInfo : AbstractGeneratedFileInfo
enum ExtendedFileType {
MainWindowCppFile = ExtendedFile,
MainWindowHFile,
- MainWindowUiFile,
+ MainWindowUiFile
};
MobileAppGeneratedFileInfo() : AbstractGeneratedFileInfo() {}
@@ -56,7 +56,7 @@ public:
MainWindowH,
MainWindowHOrigin,
MainWindowUi,
- MainWindowUiOrigin,
+ MainWindowUiOrigin
};
MobileApp();
diff --git a/src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.h b/src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.h
index 5cd48d5e1d..b7f93260c1 100644
--- a/src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.h
+++ b/src/plugins/qt4projectmanager/wizards/qmlstandaloneapp.h
@@ -79,7 +79,7 @@ struct QmlAppGeneratedFileInfo : public AbstractGeneratedFileInfo
MainQmlFile = ExtendedFile,
AppViewerPriFile,
AppViewerCppFile,
- AppViewerHFile,
+ AppViewerHFile
};
QmlAppGeneratedFileInfo() : AbstractGeneratedFileInfo() {}
diff --git a/src/plugins/texteditor/texteditorsettings.h b/src/plugins/texteditor/texteditorsettings.h
index 737b68dd56..91195cd958 100644
--- a/src/plugins/texteditor/texteditorsettings.h
+++ b/src/plugins/texteditor/texteditorsettings.h
@@ -86,8 +86,8 @@ signals:
private:
Internal::TextEditorSettingsPrivate *m_d;
- Q_PRIVATE_SLOT(m_d, void fontZoomRequested(int pointSize));
- Q_PRIVATE_SLOT(m_d, void zoomResetRequested());
+ Q_PRIVATE_SLOT(m_d, void fontZoomRequested(int pointSize))
+ Q_PRIVATE_SLOT(m_d, void zoomResetRequested())
static TextEditorSettings *m_instance;
};
diff --git a/src/shared/symbianutils/json.h b/src/shared/symbianutils/json.h
index ef574bdae2..6cff175d41 100644
--- a/src/shared/symbianutils/json.h
+++ b/src/shared/symbianutils/json.h
@@ -55,7 +55,7 @@ public:
Boolean,
Object,
NullObject,
- Array,
+ Array
};
Type m_type;
diff --git a/src/shared/symbianutils/trkdevice.cpp b/src/shared/symbianutils/trkdevice.cpp
index f1d52ec218..b3a1b3fffd 100644
--- a/src/shared/symbianutils/trkdevice.cpp
+++ b/src/shared/symbianutils/trkdevice.cpp
@@ -179,7 +179,7 @@ public:
enum WriteResult {
WriteOk,
WriteFailedDiscard, // Discard failed message
- WriteFailedKeep, // Keep failed message
+ WriteFailedKeep // Keep failed message
};
void notifyWriteResult(WriteResult ok);
diff --git a/src/shared/symbianutils/trkutils.h b/src/shared/symbianutils/trkutils.h
index 9885053484..249a63e5cc 100644
--- a/src/shared/symbianutils/trkutils.h
+++ b/src/shared/symbianutils/trkutils.h
@@ -133,7 +133,7 @@ enum DSOSItemTypes {
kDSOSProcAttachItem = 0x0005,
kDSOSThreadAttachItem = 0x0006,
kDSOSProcAttach2Item = 0x0007,
- kDSOSProcRunItem = 0x0008,
+ kDSOSProcRunItem = 0x0008
/* 0x0009 - 0x00ff reserved for general expansion */
/* 0x0100 - 0xffff available for target-specific use */
};
@@ -158,7 +158,7 @@ enum Endianness
{
LittleEndian,
BigEndian,
- TargetByteOrder = BigEndian,
+ TargetByteOrder = BigEndian
};
SYMBIANUTILS_EXPORT void appendShort(QByteArray *ba, ushort s, Endianness = TargetByteOrder);
diff --git a/src/tools/qtpromaker/main.cpp b/src/tools/qtpromaker/main.cpp
index c353b673d4..a4851218a7 100644
--- a/src/tools/qtpromaker/main.cpp
+++ b/src/tools/qtpromaker/main.cpp
@@ -299,7 +299,7 @@ void ProMaker::createContents()
{
for (int i = 0; i != m_projects.size(); ++i)
m_projects[i]->createFileLists();
-};
+}
void ProMaker::writeOutput()
{