From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- juk/deletedialog.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'juk/deletedialog.cpp') 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 #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #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); } -- cgit v1.2.3