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

Continue to implement kuserfeedback

parent c6409ea9
......@@ -63,6 +63,8 @@ option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branc
option(KDEPIM_RUN_AKONADI_TEST "Enable autotest based on Akonadi." TRUE)
option(KDEPIM_KUSERFEEDBACK "Enable user feedback support (experimental)" FALSE)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED DBus Network Test Widgets WebEngine WebEngineWidgets)
set(LIBGRAVATAR_VERSION_LIB "5.13.40")
set(MAILCOMMON_LIB_VERSION_LIB "5.13.40")
......@@ -154,8 +156,10 @@ add_definitions(-DQT_NO_FOREACH)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
#Optional
find_package(KUserFeedback)
if (KDEPIM_KUSERFEEDBACK)
#Optional
find_package(KUserFeedback)
endif()
add_subdirectory(src)
add_subdirectory(agents)
......
......@@ -32,6 +32,9 @@ using namespace PimCommon::ConfigureImmutableWidgetUtils;
#include <WebEngineViewer/NetworkUrlInterceptorPluginManager>
#include <WebEngineViewer/NetworkPluginUrlInterceptor>
#ifdef WITH_KUSERFEEDBACK
#endif
using namespace MailCommon;
QString MiscPage::helpAnchor() const
{
......@@ -172,3 +175,28 @@ void MiscPagePrintingTab::save()
{
mPrintingUi->save();
}
#ifdef WITH_KUSERFEEDBACK
KuserFeedBackPagePrintingTab::KuserFeedBackPagePrintingTab(QWidget *parent)
: ConfigModuleTab(parent)
{
}
void KuserFeedBackPagePrintingTab::save()
{
}
void KuserFeedBackPagePrintingTab::doResetToDefaultsOther()
{
}
void KuserFeedBackPagePrintingTab::doLoadFromGlobalSettings()
{
}
#endif
......@@ -89,4 +89,19 @@ private:
MessageViewer::PrintingSettings *mPrintingUi = nullptr;
};
#ifdef WITH_KUSERFEEDBACK
class KuserFeedBackPagePrintingTab : public ConfigModuleTab
{
Q_OBJECT
public:
explicit KuserFeedBackPagePrintingTab(QWidget *parent = nullptr);
void save() override;
void doResetToDefaultsOther() override;
private:
void doLoadFromGlobalSettings() override;
};
#endif
#endif // CONFIGUREMISCPAGE_H
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