Commit 55a807f7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add signals

parent 9cc00e74
Pipeline #86892 passed with stage
in 24 minutes and 47 seconds
......@@ -27,3 +27,8 @@ void HistorySwitchFolderManager::clear()
{
mUndoStack->clear();
}
void HistorySwitchFolderManager::addCollection(const Akonadi::Collection &col)
{
// TODO
}
......@@ -7,6 +7,10 @@
#include <QObject>
class QUndoStack;
namespace Akonadi
{
class Collection;
}
class HistorySwitchFolderManager : public QObject
{
Q_OBJECT
......@@ -17,6 +21,10 @@ public:
void clear();
void addHistory();
void addCollection(const Akonadi::Collection &col);
Q_SIGNALS:
void switchToFolder(const Akonadi::Collection &col);
private:
QUndoStack *const mUndoStack;
};
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