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

prepare to use HistorySwitchFolderManager

parent 3d1f0f18
Pipeline #87791 passed with stage
in 24 minutes and 23 seconds
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
#include <PimCommon/LogActivitiesManager> #include <PimCommon/LogActivitiesManager>
#include "historyswitchfoldermanager.h"
#include "kmail_debug.h" #include "kmail_debug.h"
// KF5 includes // KF5 includes
#include <KAcceleratorManager> #include <KAcceleratorManager>
...@@ -204,6 +205,7 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo ...@@ -204,6 +205,7 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo
: QWidget(parent) : QWidget(parent)
, mLaunchExternalComponent(new KMLaunchExternalComponent(this, this)) , mLaunchExternalComponent(new KMLaunchExternalComponent(this, this))
, mManageShowCollectionProperties(new ManageShowCollectionProperties(this, this)) , mManageShowCollectionProperties(new ManageShowCollectionProperties(this, this))
, mHistorySwitchFolderManager(new HistorySwitchFolderManager(this))
{ {
// must be the first line of the constructor: // must be the first line of the constructor:
mStartupDone = false; mStartupDone = false;
......
...@@ -91,6 +91,7 @@ class MailFilter; ...@@ -91,6 +91,7 @@ class MailFilter;
} }
class QStatusBar; class QStatusBar;
class KMailPluginCheckBeforeDeletingManagerInterface; class KMailPluginCheckBeforeDeletingManagerInterface;
class HistorySwitchFolderManager;
class KMAIL_EXPORT KMMainWidget : public QWidget class KMAIL_EXPORT KMMainWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
...@@ -656,5 +657,6 @@ private: ...@@ -656,5 +657,6 @@ private:
KUserFeedback::NotificationPopup *mUserFeedBackNotificationPopup = nullptr; KUserFeedback::NotificationPopup *mUserFeedBackNotificationPopup = nullptr;
#endif #endif
KMailPluginCheckBeforeDeletingManagerInterface *mPluginCheckBeforeDeletingManagerInterface = nullptr; KMailPluginCheckBeforeDeletingManagerInterface *mPluginCheckBeforeDeletingManagerInterface = nullptr;
HistorySwitchFolderManager *const mHistorySwitchFolderManager;
}; };
Markdown is supported
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