cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
38 lines
813 B
C++
38 lines
813 B
C++
#ifndef KACTIONCOLLECTIONTEST_H
|
|
#define KACTIONCOLLECTIONTEST_H
|
|
|
|
#include "kactioncollection.h"
|
|
#include <KConfigGroup>
|
|
|
|
class tst_KActionCollection : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public Q_SLOTS:
|
|
void init();
|
|
void cleanup();
|
|
|
|
private Q_SLOTS:
|
|
void clear();
|
|
void deleted();
|
|
void take();
|
|
void writeSettings();
|
|
void readSettings();
|
|
void insertReplaces1();
|
|
void insertReplaces2();
|
|
void testSetShortcuts();
|
|
void implicitStandardActionInsertionUsingCreate();
|
|
void implicitStandardActionInsertionUsingCut();
|
|
void shouldEmitSignals();
|
|
void addStandardActionFunctorSignal();
|
|
void testActionsAreInInsertionOrder();
|
|
void testActionForName();
|
|
|
|
private:
|
|
KConfigGroup clearConfig();
|
|
|
|
KActionCollection *collection;
|
|
};
|
|
|
|
#endif // KACTIONCOLLECTIONTEST_H
|