aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Whiting <[email protected]>2015-09-12 15:34:41 -0600
committerJeremy Whiting <[email protected]>2015-09-12 15:34:41 -0600
commitd6db7feee07d1ccf554aa6901a2acef1e9c33af2 (patch)
tree81550f3d34f5cabacf522153da9e86e81945e308
parent50f7f1c05958c3892dbdb92b011a88726decd2fd (diff)
Remove last remnants of KDELibs4Support
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/editor.cpp7
-rw-r--r--src/mainwindow.cpp4
4 files changed, 5 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9382faf..78063f7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,6 @@ find_package(KF5 REQUIRED
#GuiAddons
I18n
#WidgetsAddons
- KDELibs4Support
CoreAddons
)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 258a8c0..7ca4069 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -47,7 +47,6 @@ target_link_libraries(kturtle
Qt5::Svg
Qt5::PrintSupport
KF5::TextWidgets
- KF5::KDELibs4Support
)
install (TARGETS kturtle ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/src/editor.cpp b/src/editor.cpp
index db652cd..c3f89f4 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -23,6 +23,7 @@
#include "interpreter/tokenizer.h"
#include <QBoxLayout>
+#include <QFileDialog>
#include <QFontDatabase>
#include <QSaveFile>
#include <QTemporaryFile>
@@ -31,10 +32,8 @@
#include <KFind>
#include <KLocalizedString>
#include <KMessageBox>
-
-#include <kio/netaccess.h>
-#include <QFileDialog>
-
+#include <KIO/StatJob>
+#include <KIO/StoredTransferJob>
static const int CURSOR_WIDTH = 2; // in pixels
static const int TAB_WIDTH = 2; // in character widths
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index f09021d..358da62 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -38,14 +38,14 @@
#include <KActionCollection>
#include <KConfigGroup>
#include <KHelpClient>
+#include <KIO/StatJob>
#include <KLocalizedString>
#include <KMessageBox>
#include <KRecentFilesAction>
#include <KSharedConfig>
#include <KToolBarPopupAction>
-#include <kio/netaccess.h>
-#include <knewstuff3/downloaddialog.h>
+#include <kns3/downloaddialog.h>
#include <QFileDialog>
#include "interpreter/errormsg.h"