summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-31 11:19:26 +0900
committerOBATA Akio <obache@wizdas.com>2021-12-31 11:19:26 +0900
commita970f0f41357bf22b1ced5db332a02407efd30f4 (patch)
tree5559b8761ca96020b2d2314a4176da2097178fa9
parenta7c02bc96ada3a35ec7f8f5a69c7f6f0c0517b58 (diff)
downloadtdeaddons-a970f0f41357bf22b1ced5db332a02407efd30f4.tar.gz
tdeaddons-a970f0f41357bf22b1ced5db332a02407efd30f4.zip
Removed unnecessary hunks after switched to use krsync library
Signed-off-by: OBATA Akio <obache@wizdas.com>
-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