Commit 78a347a2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QCombobox

parent b5bd01f0
......@@ -206,7 +206,6 @@ target_link_libraries(KF5MessageComposer
KF5::LibkdepimAkonadi
KF5::KIOCore
KF5::I18n
KF5::Completion # for KComboBox
KF5::KIOWidgets # for KIO::JobUiDelegate
KF5::KIOFileWidgets # for KEncodingDialog
KF5::XmlGui # for KActionCollection
......
......@@ -30,7 +30,7 @@ using namespace MessageComposer;
using namespace KPIM;
RecipientComboBox::RecipientComboBox(QWidget *parent)
: KComboBox(parent)
: QComboBox(parent)
{
}
......@@ -39,7 +39,7 @@ void RecipientComboBox::keyPressEvent(QKeyEvent *ev)
if (ev->key() == Qt::Key_Right) {
Q_EMIT rightPressed();
} else {
KComboBox::keyPressEvent(ev);
QComboBox::keyPressEvent(ev);
}
}
......
......@@ -28,10 +28,10 @@
#include <Libkdepim/MultiplyingLine>
#include <MessageComposer/ComposerLineEdit>
#include <KComboBox>
#include <QComboBox>
namespace MessageComposer {
class RecipientComboBox : public KComboBox
class RecipientComboBox : public QComboBox
{
Q_OBJECT
public:
......
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