summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-31 11:19:26 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-12-31 10:40:48 +0100
commit66a6fc4c27f1d78cec7a6f455cd9151120f98038 (patch)
tree6811677649f59f1077cfbe639ad87358fae76cb4
parent353d101fbc36161f136cfab48fb6483c87cfd485 (diff)
downloadtdeaddons-66a6fc4c.tar.gz
tdeaddons-66a6fc4c.zip
Removed unnecessary hunks after switched to use krsync library
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a970f0f41357bf22b1ced5db332a02407efd30f4)
-rw-r--r--ConfigureChecks.cmake11
-rw-r--r--config.h.cmake7
-rw-r--r--konq-plugins/rsync/rsyncplugin.cpp40
3 files changed, 0 insertions, 58 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 1fce07f..9a1f20c 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -48,17 +48,6 @@ if( BUILD_KICKER_APPLETS )
endif( BUILD_KICKER_APPLETS )
-##### konq-plugins ##############################
-
-if( BUILD_KONQ_PLUGINS )
- check_include_file( "pty.h" HAVE_PTY_H )
- check_include_file( "terminos.h" HAVE_TERMIOS_H )
- check_include_file( "stropts.h" HAVE_STROPTS )
- check_include_file( "sys/ioctl.h" HAVE_SYS_IOCTL_H )
- check_include_file( "libutil.h" HAVE_LIBUTIL_H )
- check_include_file( "util.h" HAVE_UTIL_H )
-endif( BUILD_KONQ_PLUGINS )
-
##### other dependencies ########################
diff --git a/config.h.cmake b/config.h.cmake
index 61f58bb..59a77ce 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -3,10 +3,3 @@
#cmakedefine HAVE_FCNTL_H 1
#cmakedefine HAVE_XMMS 1
-// konq-plugins
-#cmakedefine HAVE_PTY_H 1
-#cmakedefine HAVE_TERMIOS_H 1
-#cmakedefine HAVE_STROPTS 1
-#cmakedefine HAVE_SYS_IOCTL_H 1
-#cmakedefine HAVE_LIBUTIL_H 1
-#cmakedefine HAVE_UTIL_H 1
diff --git a/konq-plugins/rsync/rsyncplugin.cpp b/konq-plugins/rsync/rsyncplugin.cpp
index 68816b1..f0b6d2c 100644
--- a/konq-plugins/rsync/rsyncplugin.cpp
+++ b/konq-plugins/rsync/rsyncplugin.cpp
@@ -15,40 +15,6 @@
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
-#include <unistd.h>
-#include <sys/types.h>
-#include <signal.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <errno.h>
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-
-#define HAVE_TERMIOS_H 1
-#define HAVE_GRANTPT 1
-
-#include <stdlib.h>
-#ifdef HAVE_PTY_H
-#include <pty.h>
-#endif
-#ifdef HAVE_TERMIOS_H
-#include <termios.h>
-#endif
-#ifdef HAVE_STROPTS
-#include <stropts.h>
-#endif
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
-#ifdef HAVE_LIBUTIL_H
-#include <libutil.h>
-#endif
-#ifdef HAVE_UTIL_H
-#include <util.h>
-#endif
#include <tqfile.h>
#include <tqtimer.h>
@@ -76,10 +42,7 @@
#include <kurl.h>
#include <tdeaction.h>
#include <tdepopupmenu.h>
-#include <tdemessagebox.h>
#include <kiconloader.h>
-#include <kprogressbox.h>
-#include <kpassdlg.h>
#include <tdelistview.h>
#include <tdeapplication.h>
#include <tdeconfigdialog.h>
@@ -94,9 +57,6 @@
#include <kgenericfactory.h>
#include <tdeparts/browserextension.h>
-#include <tdeio/global.h>
-#include <tdeio/slavebase.h>
-
#include "rsyncplugin.h"
#define myDebug(x) kdDebug(7127) << __LINE__ << ": " x