File indexing completed on 2024-02-18 04:01:19

0001 #ifndef KACTIONCOLLECTIONTEST_H
0002 #define KACTIONCOLLECTIONTEST_H
0003 
0004 #include "kactioncollection.h"
0005 #include <KConfigGroup>
0006 
0007 class tst_KActionCollection : public QObject
0008 {
0009     Q_OBJECT
0010 
0011 public Q_SLOTS:
0012     void init();
0013     void cleanup();
0014 
0015 private Q_SLOTS:
0016     void clear();
0017     void deleted();
0018     void take();
0019     void writeSettings();
0020     void readSettings();
0021     void insertReplaces1();
0022     void insertReplaces2();
0023     void testSetShortcuts();
0024     void implicitStandardActionInsertionUsingCreate();
0025     void implicitStandardActionInsertionUsingCut();
0026     void shouldEmitSignals();
0027     void addStandardActionFunctorSignal();
0028 
0029 private:
0030     KConfigGroup clearConfig();
0031 
0032     KActionCollection *collection;
0033 };
0034 
0035 #endif // KACTIONCOLLECTIONTEST_H