diff options
| author | Montel Laurent <[email protected]> | 2015-09-01 22:02:29 +0200 |
|---|---|---|
| committer | Montel Laurent <[email protected]> | 2015-09-01 22:02:47 +0200 |
| commit | bfa4274f58fcf5c873f20210ce6a88277671ccee (patch) | |
| tree | 6aa5e205f4636da9b5229c264a7a1b5924c7d405 /src/tests | |
| parent | 6eae544e2943af4e1dea874b07dd3218b3d8bb1d (diff) | |
Pedantic--
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 10 | ||||
| -rw-r--r-- | src/tests/kitemlistselectionmanagertest.cpp | 12 | ||||
| -rw-r--r-- | src/tests/kitemrangetest.cpp | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index e34731fa4..e170e7b5b 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -71,10 +71,10 @@ private: bool m_activateItemOnSingleClick; }; -Q_DECLARE_METATYPE(KFileItemListView::ItemLayout); -Q_DECLARE_METATYPE(Qt::Orientation); -Q_DECLARE_METATYPE(KItemListController::SelectionBehavior); -Q_DECLARE_METATYPE(KItemSet); +Q_DECLARE_METATYPE(KFileItemListView::ItemLayout) +Q_DECLARE_METATYPE(Qt::Orientation) +Q_DECLARE_METATYPE(KItemListController::SelectionBehavior) +Q_DECLARE_METATYPE(KItemSet) class KItemListControllerTest : public QObject { @@ -209,7 +209,7 @@ struct ViewState { // We have to define a typedef for the pair in order to make the test compile. typedef QPair<KeyPress, ViewState> keyPressViewStatePair; -Q_DECLARE_METATYPE(QList<keyPressViewStatePair>); +Q_DECLARE_METATYPE(QList<keyPressViewStatePair>) /** * This function provides the data for the actual test function diff --git a/src/tests/kitemlistselectionmanagertest.cpp b/src/tests/kitemlistselectionmanagertest.cpp index 7cf60df42..b183de302 100644 --- a/src/tests/kitemlistselectionmanagertest.cpp +++ b/src/tests/kitemlistselectionmanagertest.cpp @@ -322,12 +322,12 @@ namespace { }; } -Q_DECLARE_METATYPE(KItemSet); -Q_DECLARE_METATYPE(ChangeType); -Q_DECLARE_METATYPE(KItemRange); -Q_DECLARE_METATYPE(KItemRangeList); -Q_DECLARE_METATYPE(KItemListSelectionManager::SelectionMode); -Q_DECLARE_METATYPE(QList<int>); +Q_DECLARE_METATYPE(KItemSet) +Q_DECLARE_METATYPE(ChangeType) +Q_DECLARE_METATYPE(KItemRange) +Q_DECLARE_METATYPE(KItemRangeList) +Q_DECLARE_METATYPE(KItemListSelectionManager::SelectionMode) +Q_DECLARE_METATYPE(QList<int>) /** * The following function provides a generic way to test the selection functionality. diff --git a/src/tests/kitemrangetest.cpp b/src/tests/kitemrangetest.cpp index ce7b48012..5e4ea653f 100644 --- a/src/tests/kitemrangetest.cpp +++ b/src/tests/kitemrangetest.cpp @@ -22,8 +22,8 @@ #include <QTest> #include <QVector> -Q_DECLARE_METATYPE(QVector<int>); -Q_DECLARE_METATYPE(KItemRangeList); +Q_DECLARE_METATYPE(QVector<int>) +Q_DECLARE_METATYPE(KItemRangeList) class KItemRangeTest : public QObject { |
