From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ark/archiveformatdlg.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ark/archiveformatdlg.cpp') diff --git a/ark/archiveformatdlg.cpp b/ark/archiveformatdlg.cpp index be046fb..5ac942c 100644 --- a/ark/archiveformatdlg.cpp +++ b/ark/archiveformatdlg.cpp @@ -25,17 +25,17 @@ #include -#include -#include +#include +#include -ArchiveFormatDlg::ArchiveFormatDlg( QWidget * parent, const QString & defaultType ) +ArchiveFormatDlg::ArchiveFormatDlg( TQWidget * parent, const TQString & defaultType ) :KDialogBase( parent, "archiveformatdialog", true, i18n( "Choose Archive Format" ), KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok), m_combo( 0 ) { - QString defaultDescription = ArchiveFormatInfo::self()->descriptionForMimeType( defaultType ); - QString text; + TQString defaultDescription = ArchiveFormatInfo::self()->descriptionForMimeType( defaultType ); + TQString text; if ( defaultDescription.isNull() ) text = i18n( "This file appears to be of type %1,\n" "which is not a supported archive format.\n" @@ -47,24 +47,24 @@ ArchiveFormatDlg::ArchiveFormatDlg( QWidget * parent, const QString & defaultTyp "If this is not correct, please choose " "the appropriate format." ).arg( defaultDescription ); - QVBox * page = makeVBoxMainWidget(); + TQVBox * page = makeVBoxMainWidget(); - QLabel * label; - label = new QLabel( text, page ); + TQLabel * label; + label = new TQLabel( text, page ); m_combo = new KComboBox( page ); - QStringList list = ArchiveFormatInfo::self()->allDescriptions(); + TQStringList list = ArchiveFormatInfo::self()->allDescriptions(); list.sort(); m_combo->insertStringList( list ); m_combo->setCurrentItem( list.findIndex( defaultDescription ) ); } -QString ArchiveFormatDlg::mimeType() +TQString ArchiveFormatDlg::mimeType() { if (m_combo && !m_combo->currentText().isEmpty()) return ArchiveFormatInfo::self()->mimeTypeForDescription( m_combo->currentText() ); else - return QString(); + return TQString(); } #include "archiveformatdlg.moc" -- cgit v1.2.1