aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-19 09:13:39 +0100
committerMontel Laurent <[email protected]>2015-03-19 09:13:39 +0100
commit5f1352a6d11892089b7ce7a203523dbe16356634 (patch)
tree966371a162a71d639d94075711688e3d40bbf1c9
parentf235bf1e3987fa0cba33100c7f472a69a6bce413 (diff)
Make it compile
-rw-r--r--src/backends/kalgebra/CMakeLists.txt2
-rw-r--r--src/backends/kalgebra/kalgebrabackend.cpp6
-rw-r--r--src/backends/kalgebra/kalgebrabackend.h3
3 files changed, 5 insertions, 6 deletions
diff --git a/src/backends/kalgebra/CMakeLists.txt b/src/backends/kalgebra/CMakeLists.txt
index a1a06db..0a6e6e9 100644
--- a/src/backends/kalgebra/CMakeLists.txt
+++ b/src/backends/kalgebra/CMakeLists.txt
@@ -16,7 +16,7 @@ install(FILES kalgebrabackend.kcfg DESTINATION ${KCFG_INSTALL_DIR})
ki18n_wrap_ui(KAlgebraBackend_SRCS settings.ui)
add_library( cantor_kalgebrabackend MODULE ${KAlgebraBackend_SRCS} )
-target_link_libraries( cantor_kalgebrabackend cantorlibs KF5::Analitza KF5::AnalitzaGui)
+target_link_libraries( cantor_kalgebrabackend cantorlibs KF5::Analitza KF5::AnalitzaGui KF5::KDELibs4Support)
install( FILES cantor_kalgebra.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
install( FILES kalgebrabackend.desktop DESTINATION ${SERVICES_INSTALL_DIR}/cantor)
diff --git a/src/backends/kalgebra/kalgebrabackend.cpp b/src/backends/kalgebra/kalgebrabackend.cpp
index 98a7d1c..5d7fac9 100644
--- a/src/backends/kalgebra/kalgebrabackend.cpp
+++ b/src/backends/kalgebra/kalgebrabackend.cpp
@@ -63,10 +63,10 @@ KConfigSkeleton* KAlgebraBackend::config() const
return KAlgebraSettings::self();
}
-KUrl KAlgebraBackend::helpUrl() const
+QUrl KAlgebraBackend::helpUrl() const
{
- return i18nc("the url to the documentation of KAlgebra, please check if there is a translated version and use the correct url",
- "http://docs.kde.org/stable/en/kdeedu/kalgebra/");
+ return QUrl(i18nc("the url to the documentation of KAlgebra, please check if there is a translated version and use the correct url",
+ "http://docs.kde.org/stable/en/kdeedu/kalgebra/"));
}
diff --git a/src/backends/kalgebra/kalgebrabackend.h b/src/backends/kalgebra/kalgebrabackend.h
index 673d162..dae1d6a 100644
--- a/src/backends/kalgebra/kalgebrabackend.h
+++ b/src/backends/kalgebra/kalgebrabackend.h
@@ -20,7 +20,6 @@
#define KALGEBRA_BACKEND_H
#include "backend.h"
-
class KAlgebraBackend : public Cantor::Backend
{
Q_OBJECT
@@ -35,7 +34,7 @@ class KAlgebraBackend : public Cantor::Backend
QWidget* settingsWidget(QWidget* parent) const;
KConfigSkeleton* config() const;
- KUrl helpUrl() const;
+ QUrl helpUrl() const;
};