summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rsync/rsyncplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-02 19:33:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-04-02 19:33:39 +0000
commit1fbeee4477a957c3c17a8b6473547fe5b063f273 (patch)
treeefbc1b031b385fdb05bff715344c80e38061944e /konq-plugins/rsync/rsyncplugin.h
parent545e53fd4648ddbc95725225b025e94054001720 (diff)
downloadtdeaddons-1fbeee4477a957c3c17a8b6473547fe5b063f273.tar.gz
tdeaddons-1fbeee4477a957c3c17a8b6473547fe5b063f273.zip
Cleanup and fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1110341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/rsync/rsyncplugin.h')
-rw-r--r--konq-plugins/rsync/rsyncplugin.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/konq-plugins/rsync/rsyncplugin.h b/konq-plugins/rsync/rsyncplugin.h
index 86aa17f..96a3caa 100644
--- a/konq-plugins/rsync/rsyncplugin.h
+++ b/konq-plugins/rsync/rsyncplugin.h
@@ -29,25 +29,22 @@
#include <kparts/plugin.h>
#include <kio/global.h>
#include <kio/slavebase.h>
-#include <kio/authinfo.h>
#include "rsyncconfigdialog.h"
+// NOTE: If ANY of these functions are not utilized in the C file,
+// and in a manner identical to these declarations, the plugin will
+// mysteriously fail when launched with kshell but work fine under BASH
+
class KActionMenu;
class KonqDirPart;
class KLineEdit;
-
namespace KParts
{
struct URLArgs;
}
-namespace KIO
-{
- class Job;
-}
-
class RsyncPlugin : public KParts::Plugin
{
Q_OBJECT
@@ -55,7 +52,7 @@ class RsyncPlugin : public KParts::Plugin
public:
RsyncPlugin (QObject* parent, const char* name, const QStringList &);
- ~RsyncPlugin ();
+ virtual ~RsyncPlugin();
protected:
void loadSettings();
@@ -87,7 +84,6 @@ private slots:
void slotSync();
void slotSetup();
void slotOpenURL();
- void slotShowPopup();
void slotSetupOK();
void slotSetupCancelled();
void slotRsyncCancelled();
@@ -98,7 +94,6 @@ private:
KonqDirPart* m_part;
KAction* m_pSyncNow;
KAction* m_pSyncSetup;
- KActionMenu* m_pSyncMenu;
KProgressBoxDialog* m_progressDialog;
RsyncConfigDialog* m_configDialog;