diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ark/archiveformatdlg.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ark/archiveformatdlg.cpp')
-rw-r--r-- | ark/archiveformatdlg.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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 <klocale.h> -#include <qlabel.h> -#include <qvbox.h> +#include <tqlabel.h> +#include <tqvbox.h> -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" |