Commit 149d2812 authored by Jonathan Marten's avatar Jonathan Marten

fish ioslave: Port away from KDELibs4Support

Differential Revision: https://phabricator.kde.org/D5562
parent cefa4de6
......@@ -2,6 +2,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"kio5_fish\")
include(CheckIncludeFiles)
include(CheckFunctionExists)
include(ECMQtDeclareLoggingCategory)
check_include_files(termios.h HAVE_TERMIOS_H)
check_include_files(util.h HAVE_UTIL_H)
......@@ -43,9 +44,15 @@ if (MD5SUM_EXECUTABLE)
set(kio_fish_PART_SRCS fish.cpp ${CMAKE_CURRENT_BINARY_DIR}/fishcode.h)
ecm_qt_declare_logging_category(kio_fish_PART_SRCS
HEADER loggingcategory.h
IDENTIFIER KIO_FISH_DEBUG
CATEGORY_NAME kio_fish
DEFAULT_SEVERITY Debug)
add_library(kio_fish MODULE ${kio_fish_PART_SRCS})
target_link_libraries(kio_fish KF5::KIOCore KF5::KDELibs4Support)
target_link_libraries(kio_fish KF5::KIOCore KF5::WidgetsAddons KF5::I18n)
set_target_properties(kio_fish PROPERTIES OUTPUT_NAME "fish")
......
This diff is collapsed.
......@@ -16,12 +16,9 @@
#ifndef FISH_H
#define FISH_H
#include <kurl.h>
#include <kio/global.h>
#include <kio/slavebase.h>
#include <kprocess.h>
#include <kio/authinfo.h>
#include <time.h>
#define FISH_EXEC_CMD 'X'
......@@ -113,7 +110,7 @@ protected: // Protected attributes
QString wantedFn;
QString statPath;
/** url of current request */
KUrl url;
QUrl url;
/** true if connection is logged in successfully */
bool isLoggedIn;
/** host name of current connection */
......
add_executable( copytester main.cpp copytester.cpp)
target_link_libraries( copytester KF5::KDELibs4Support KF5::KIOCore )
target_link_libraries( copytester KF5::KIOCore )
install( TARGETS copytester ${INSTALL_TARGETS_DEFAULT_ARGS} )
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