fix tricky regression noticed by Vyacheslav Tokarev on Google Reader.
[kdelibs.git] / kde3support / tests / kcommandtest.h
blob73fcf0105aaabd7eb5b388defd10513f53519603
1 #ifndef KCOMMANDTEST_H
2 #define KCOMMANDTEST_H
4 #include <QtCore/QObject>
5 class K3Command;
7 class KCommandTest : public QObject
9 Q_OBJECT
12 protected Q_SLOTS:
13 void slotCommandExecuted( K3Command* );
14 void slotDocumentRestored();
16 private Q_SLOTS:
17 // KMacroCommand tests
18 void testMacroCommand();
20 // KCommandHistory tests
21 void testCommandHistoryAdd();
22 void testDocumentRestored();
23 void testUndoLimit();
25 private:
26 int m_commandsExecuted;
27 int m_documentRestored;
30 #endif /* KCOMMANDTEST_H */