Commit 746a5655 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

port away from kurl

parent 5908c7b8
......@@ -28,7 +28,6 @@
#include "action_data/simple_action_data.h"
#include <QDebug>
#include <KUrl>
#include <QSignalMapper>
#include <QContextMenuEvent>
......@@ -245,7 +244,7 @@ void HotkeysTreeViewContextMenu::exportAction()
}
QString id = widget->importId();
KUrl url = widget->url();
QUrl url = widget->url();
bool allowMerging = widget->allowMerging();
if (!url.isEmpty())
{
......
......@@ -81,7 +81,7 @@ KHotkeysExportDialog::state() const
}
KUrl
QUrl
KHotkeysExportDialog::url() const
{
return w->ui.filename->url();
......
......@@ -22,7 +22,7 @@
#include "ui_hotkeys_export_widget.h"
#include "kdialog.h"
#include "kurl.h"
#include <QUrl>
#include <QWidget>
......@@ -59,7 +59,7 @@ public:
void setAllowMerging(bool);
void setImportId(const QString &id);
int state() const;
KUrl url() const;
QUrl url() const;
private:
......
......@@ -23,7 +23,7 @@
#include <KConfigGroup>
#include <QDebug>
#include <KMessageBox>
#include <KUrl>
#include <QUrl>
#include <KRun>
namespace KHotKeys {
......@@ -93,7 +93,7 @@ void MenuEntryAction::execute()
return;
}
if (!KRun::run( *service(), KUrl::List(), nullptr ))
if (!KRun::run( *service(), {}, nullptr ))
{
KMessageBox::sorry(
nullptr,
......
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