diff options
Diffstat (limited to 'kftpgrabber/src/widgets/queueview/queueeditor.cpp')
-rw-r--r-- | kftpgrabber/src/widgets/queueview/queueeditor.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kftpgrabber/src/widgets/queueview/queueeditor.cpp b/kftpgrabber/src/widgets/queueview/queueeditor.cpp index c565165..38748e9 100644 --- a/kftpgrabber/src/widgets/queueview/queueeditor.cpp +++ b/kftpgrabber/src/widgets/queueview/queueeditor.cpp @@ -41,34 +41,34 @@ #include <klineedit.h> #include <kpassdlg.h> #include <kcombobox.h> -#include <klocale.h> +#include <tdelocale.h> -#include <qspinbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qtabwidget.h> +#include <ntqspinbox.h> +#include <ntqlabel.h> +#include <ntqlayout.h> +#include <ntqtabwidget.h> #define REMOTE_PROTOCOL m_transfer->getSourceUrl().isLocalFile() ? m_transfer->getDestUrl().protocol() : m_transfer->getSourceUrl().protocol() namespace KFTPWidgets { -QueueEditor::QueueEditor(QWidget *parent, const char *name) +QueueEditor::QueueEditor(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, "Edit queue", KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true) { m_layout = new KFTPQueueEditorLayout(this); setMainWidget(m_layout); - connect(m_layout->srcPath, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); - connect(m_layout->dstPath, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); + connect(m_layout->srcPath, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); + connect(m_layout->dstPath, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); - connect(m_layout->srcHost, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); - connect(m_layout->srcUser, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); - connect(m_layout->srcPass, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); + connect(m_layout->srcHost, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); + connect(m_layout->srcUser, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); + connect(m_layout->srcPass, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); - connect(m_layout->dstHost, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); - connect(m_layout->dstUser, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); - connect(m_layout->dstPass, SIGNAL(textChanged(const QString&)), this, SLOT(slotTextChanged())); + connect(m_layout->dstHost, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); + connect(m_layout->dstUser, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); + connect(m_layout->dstPass, SIGNAL(textChanged(const TQString&)), this, SLOT(slotTextChanged())); connect(m_layout->srcName, SIGNAL(siteChanged(KFTPBookmarks::Site*)), this, SLOT(slotSourceSiteChanged(KFTPBookmarks::Site*))); connect(m_layout->dstName, SIGNAL(siteChanged(KFTPBookmarks::Site*)), this, SLOT(slotDestSiteChanged(KFTPBookmarks::Site*))); @@ -76,7 +76,7 @@ QueueEditor::QueueEditor(QWidget *parent, const char *name) connect(m_layout->transferType, SIGNAL(activated(int)), this, SLOT(slotTransferModeChanged(int))); setMaximumHeight(250); - setInitialSize(QSize(500, 250)); + setInitialSize(TQSize(500, 250)); enableButtonOK(false); } @@ -225,7 +225,7 @@ void QueueEditor::saveData() sUrl.setPass(m_layout->srcPass->password()); if (m_transfer->getSourceUrl().pass().isEmpty() && sUrl.pass().isEmpty()) - sUrl.setPass(QString::null); + sUrl.setPass(TQString::null); } else { sUrl.setProtocol("file"); } @@ -240,7 +240,7 @@ void QueueEditor::saveData() dUrl.setPass(m_layout->dstPass->password()); if (m_transfer->getDestUrl().pass().isEmpty() && dUrl.pass().isEmpty()) - dUrl.setPass(QString::null); + dUrl.setPass(TQString::null); } else { dUrl.setProtocol("file"); } @@ -260,7 +260,7 @@ void QueueEditor::saveData() void QueueEditor::recursiveSaveData(KFTPQueue::TransferDir *parent, const KURL &srcUrl, const KURL &dstUrl) { KFTPQueue::QueueObject *o; - QPtrList<KFTPQueue::QueueObject> children = parent->getChildrenList(); + TQPtrList<KFTPQueue::QueueObject> children = parent->getChildrenList(); KURL sUrl, dUrl; |