aboutsummaryrefslogtreecommitdiff
path: root/tests/client/modeltest.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-12-16 23:00:41 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-12-16 23:00:41 -0300
commit64e7281e1de56c45a3cb6a75adbb7bf9a82eff21 (patch)
tree92a2b81be07368a632354b844675aa8c55b31ead /tests/client/modeltest.cpp
parentb601ff786a6c385f0a293e18d5947b4e79b46235 (diff)
downloadqmenumodel-64e7281e1de56c45a3cb6a75adbb7bf9a82eff21.tar.gz
qmenumodel-64e7281e1de56c45a3cb6a75adbb7bf9a82eff21.tar.bz2
qmenumodel-64e7281e1de56c45a3cb6a75adbb7bf9a82eff21.zip
Fixed model changes and singal.
Try to keep the module unchanged until the function begin[Insert|Remove]Rows is called.
Diffstat (limited to 'tests/client/modeltest.cpp')
-rw-r--r--tests/client/modeltest.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/client/modeltest.cpp b/tests/client/modeltest.cpp
index 3366177..017f859 100644
--- a/tests/client/modeltest.cpp
+++ b/tests/client/modeltest.cpp
@@ -29,15 +29,6 @@ extern "C" {
#include <gio/gio.h>
}
-class TestMenuModel : public QMenuModel
-{
-public:
- TestMenuModel(GMenuModel *other, QObject *parent=0)
- : QMenuModel(other, parent)
- {
- }
-};
-
class ModelTest : public QObject
{
Q_OBJECT
@@ -296,7 +287,6 @@ private Q_SLOTS:
QVariantMap extra = data["extra"].toMap();
QCOMPARE(extra.size(), 13);
QCOMPARE(extra["boolean"].toBool(), true);
-
}
};