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

Remove directly

parent a413b4d6
......@@ -59,15 +59,9 @@ set(kdepim_job_LIB_SRCS
job/addemaildisplayjob.cpp
)
set(kdepimakonadi_widgets_LIB_SRCS
widgets/tagcombobox.cpp
)
set(kdepimakonadi_LIB_SRCS
${kdepim_job_LIB_SRCS}
${kdepimakonadi_widgets_LIB_SRCS}
${kdepim_addressline_LIB_SRCS}
${kdepim_addressline_blacklist_baloo_LIB_SRCS}
${kdepimakonadi_progresswidget_LIB_SRCS}
......@@ -128,14 +122,6 @@ install(TARGETS
EXPORT KF5LibkdepimAkonadiTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS} ${LIBRARY_NAMELINK}
)
ecm_generate_headers(libkdepimakonadi_Camelcasewidgets_HEADERS
HEADER_NAMES
TagComboBox
REQUIRED_HEADERS libkdepimakonadi_widgets_HEADERS
PREFIX LibkdepimAkonadi
RELATIVE widgets
)
ecm_generate_headers(libkdepimakonadi_Camelcaseprogresswidget_HEADERS
HEADER_NAMES
ProgressManagerAkonadi
......@@ -189,7 +175,6 @@ install(FILES
${libkdepim_Camelcasecompletionconfiguredialog_HEADERS}
${libkdepim_Camelcasecompletionorder_HEADERS}
${libkdepimakonadi_Camelcaseprogresswidget_HEADERS}
${libkdepimakonadi_Camelcasewidgets_HEADERS}
${libkdepim_Camelcasejob_HEADERS}
${libkdepim_Camelcaseaddressline_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/LibkdepimAkonadi
......@@ -201,7 +186,6 @@ install(FILES
${libkdepim_completionorder_HEADERS}
${CMAKE_CURRENT_BINARY_DIR}/kdepimakonadi_export.h
${libkdepimakonadi_progresswidget_HEADERS}
${libkdepimakonadi_widgets_HEADERS}
${libkdepim_job_HEADERS}
${libkdepim_addressline_HEADERS}
DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/libkdepimakonadi
......
/*
Copyright (c) 2014 Christian Mollekopf <mollekopf@kolabsys.com>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "tagcombobox.h"
#include <AkonadiCore/Monitor>
#include <AkonadiCore/TagModel>
using namespace KPIM;
TagComboBox::TagComboBox(QWidget *parent)
: KComboBox(parent)
{
Akonadi::Monitor *monitor = new Akonadi::Monitor(this);
monitor->setObjectName(QStringLiteral("TagSelectionComboMonitor"));
monitor->setTypeMonitored(Akonadi::Monitor::Tags);
Akonadi::TagModel *model = new Akonadi::TagModel(monitor, this);
setModel(model);
}
/*
Copyright (c) 2014 Christian Mollekopf <mollekopf@kolabsys.com>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef TAGCOMBOBOX_H
#define TAGCOMBOBOX_H
#include "kdepimakonadi_export.h"
#include <KComboBox>
namespace KPIM {
/**
* @brief The TagCombo class
*/
class KDEPIMAKONADI_EXPORT TagComboBox : public KComboBox
{
Q_OBJECT
public:
explicit TagComboBox(QWidget *parent = nullptr);
};
}
#endif
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