diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/deletedialog.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/deletedialog.cpp')
-rw-r--r-- | juk/deletedialog.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/juk/deletedialog.cpp b/juk/deletedialog.cpp index cafd7849..e780eec0 100644 --- a/juk/deletedialog.cpp +++ b/juk/deletedialog.cpp @@ -20,12 +20,12 @@ #include <kiconloader.h> #include <kconfig.h> -#include <qstringlist.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qlabel.h> -#include <qvbox.h> -#include <qhbox.h> +#include <tqstringlist.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqlabel.h> +#include <tqvbox.h> +#include <tqhbox.h> #include "deletedialog.h" @@ -33,7 +33,7 @@ // DeleteWidget implementation ////////////////////////////////////////////////////////////////////////////// -DeleteWidget::DeleteWidget(QWidget *parent, const char *name) +DeleteWidget::DeleteWidget(TQWidget *parent, const char *name) : DeleteDialogBase(parent, name) { KConfigGroup messageGroup(KGlobal::config(), "FileRemover"); @@ -43,7 +43,7 @@ DeleteWidget::DeleteWidget(QWidget *parent, const char *name) ddShouldDelete->setChecked(deleteInstead); } -void DeleteWidget::setFiles(const QStringList &files) +void DeleteWidget::setFiles(const TQStringList &files) { ddFileList->clear(); ddFileList->insertStringList(files); @@ -69,7 +69,7 @@ void DeleteWidget::slotShouldDelete(bool shouldDelete) // DeleteDialog implementation ////////////////////////////////////////////////////////////////////////////// -DeleteDialog::DeleteDialog(QWidget *parent, const char *name) : +DeleteDialog::DeleteDialog(TQWidget *parent, const char *name) : KDialogBase(Swallow, WStyle_DialogBorder, parent, name, true /* modal */, i18n("About to delete selected files"), Ok | Cancel, Cancel /* Default */, true /* separator */), @@ -84,17 +84,17 @@ DeleteDialog::DeleteDialog(QWidget *parent, const char *name) : slotShouldDelete(shouldDelete()); - connect(m_widget->ddShouldDelete, SIGNAL(toggled(bool)), SLOT(slotShouldDelete(bool))); + connect(m_widget->ddShouldDelete, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotShouldDelete(bool))); } -bool DeleteDialog::confirmDeleteList(const QStringList &condemnedFiles) +bool DeleteDialog::confirmDeleteList(const TQStringList &condemnedFiles) { m_widget->setFiles(condemnedFiles); - return exec() == QDialog::Accepted; + return exec() == TQDialog::Accepted; } -void DeleteDialog::setFiles(const QStringList &files) +void DeleteDialog::setFiles(const TQStringList &files) { m_widget->setFiles(files); } |