diff options
Diffstat (limited to 'konq-plugins/rsync/rsyncplugin.h')
-rw-r--r-- | konq-plugins/rsync/rsyncplugin.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/konq-plugins/rsync/rsyncplugin.h b/konq-plugins/rsync/rsyncplugin.h index 67af3d5..0adbfc0 100644 --- a/konq-plugins/rsync/rsyncplugin.h +++ b/konq-plugins/rsync/rsyncplugin.h @@ -19,8 +19,8 @@ #ifndef __RSYNC_PLUGIN_H #define __RSYNC_PLUGIN_H -#include <qmap.h> -#include <qstringlist.h> +#include <tqmap.h> +#include <tqstringlist.h> #include <kurl.h> #include <kprocess.h> @@ -51,27 +51,27 @@ class RsyncPlugin : public KParts::Plugin public: - RsyncPlugin (QObject* parent, const char* name, const QStringList &); + RsyncPlugin (TQObject* parent, const char* name, const TQStringList &); virtual ~RsyncPlugin(); protected: void loadSettings(); void saveSettings(); - QString findLocalFolderByName(QString folderurl); - QString findLoginSyncEnabledByName(QString folderurl); - QString findLogoutSyncEnabledByName(QString folderurl); - QString findTimedSyncEnabledByName(QString folderurl); - int deleteLocalFolderByName(QString folderurl); - int addLocalFolderByName(QString folderurl, QString remoteurl, QString syncmethod, QString excludelist, QString sync_on_login, QString sync_on_logout, QString sync_timed_interval); - QString findSyncMethodByName(QString folderurl); + TQString findLocalFolderByName(TQString folderurl); + TQString findLoginSyncEnabledByName(TQString folderurl); + TQString findLogoutSyncEnabledByName(TQString folderurl); + TQString findTimedSyncEnabledByName(TQString folderurl); + int deleteLocalFolderByName(TQString folderurl); + int addLocalFolderByName(TQString folderurl, TQString remoteurl, TQString syncmethod, TQString excludelist, TQString sync_on_login, TQString sync_on_logout, TQString sync_timed_interval); + TQString findSyncMethodByName(TQString folderurl); /** manages initial communication setup including password queries */ int establishConnectionRsync(char *buffer, KIO::fileoffset_t len); /** manages initial communication setup including password queries */ - int establishConnectionUnison(char *buffer, KIO::fileoffset_t len, QString localfolder, QString remotepath); + int establishConnectionUnison(char *buffer, KIO::fileoffset_t len, TQString localfolder, TQString remotepath); /** creates the unidirectional sync subprocess */ - bool syncUnidirectional(QString synccommand, QString syncflags, int parameter_order, QString localfolder, QString remotepath); + bool syncUnidirectional(TQString synccommand, TQString syncflags, int parameter_order, TQString localfolder, TQString remotepath); /** creates the bidirectional sync subprocess */ - bool syncBidirectional(QString synccommand, QString syncflags, int parameter_order, QString localfolder, QString remotepath); + bool syncBidirectional(TQString synccommand, TQString syncflags, int parameter_order, TQString localfolder, TQString remotepath); /** writes one chunk of data to stdin of child process */ void writeChild(const char *buf, KIO::fileoffset_t len); /** AuthInfo object used for logging in */ @@ -100,7 +100,7 @@ private: KProgressBoxDialog* m_progressDialog; RsyncConfigDialog* m_configDialog; - QStringList cfgfolderlist; + TQStringList cfgfolderlist; bool m_progressDialogExists; bool m_bSettingsLoaded; @@ -122,14 +122,14 @@ private: /** // FIXME: just a workaround for konq deficiencies */ bool isStat; /** // FIXME: just a workaround for konq deficiencies */ - QString redirectUser, redirectPass; + TQString redirectUser, redirectPass; /** user name of current connection */ - QString connectionUser; + TQString connectionUser; /** password of current connection */ - QString connectionPassword; + TQString connectionPassword; /** true if this is the first login attempt (== use cached password) */ bool firstLogin; - QString thisFn; + TQString thisFn; }; #endif |