Commit d8ce1dfb authored by David Faure's avatar David Faure
Browse files

Port categoryhierarchyreader from KComboBox to QComboBox.

Required to fix compilation of eventviews after a similar change in libkdepim
parent 28ffa7c3
......@@ -20,7 +20,7 @@
#include "categoryhierarchyreader.h"
#include "categoryconfig.h"
#include <KComboBox>
#include <QComboBox>
#include <QTreeWidget>
......
......@@ -23,7 +23,7 @@
#include <QVariant>
class KComboBox;
class QComboBox;
class QTreeWidget;
class QTreeWidgetItem;
......@@ -53,7 +53,7 @@ protected:
class CALENDARSUPPORT_EXPORT CategoryHierarchyReaderQComboBox : public CategoryHierarchyReader
{
public:
explicit CategoryHierarchyReaderQComboBox(KComboBox *box) : mBox(box)
explicit CategoryHierarchyReaderQComboBox(QComboBox *box) : mBox(box)
{
}
......@@ -68,7 +68,7 @@ protected:
int depth() const override;
private:
KComboBox *mBox = nullptr;
QComboBox *mBox = nullptr;
int mCurrentDepth = 0;
};
......
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