Commit d357c932 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add tools

parent e4d7d6cb
Pipeline #200399 passed with stage
in 14 minutes and 26 seconds
......@@ -5,6 +5,7 @@
*/
#include "akonadidatabasetoolsplugininterface.h"
// #include "akonadidatasetools_debug.h"
#include <KActionCollection>
#include <KLocalizedString>
#include <QAction>
......@@ -32,5 +33,12 @@ void AkonadiDatabaseToolsPluginInterface::slotActivated()
void AkonadiDatabaseToolsPluginInterface::exec()
{
// TODO
switch (mTool) {
case Unknown:
break;
case Vaccum:
break;
case Fsck:
break;
}
}
......@@ -11,6 +11,11 @@
class AkonadiDatabaseToolsPluginInterface : public PimCommon::GenericPluginInterface
{
public:
enum AkonadiDatabaseTool {
Unknown = 0,
Vaccum = 1,
Fsck = 2,
};
explicit AkonadiDatabaseToolsPluginInterface(QObject *parent = nullptr);
~AkonadiDatabaseToolsPluginInterface() override;
......@@ -19,4 +24,5 @@ public:
private:
void slotActivated();
AkonadiDatabaseTool mTool = AkonadiDatabaseTool::Unknown;
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment