summaryrefslogtreecommitdiffstats
path: root/ark/archiveformatdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /ark/archiveformatdlg.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ark/archiveformatdlg.cpp')
-rw-r--r--ark/archiveformatdlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ark/archiveformatdlg.cpp b/ark/archiveformatdlg.cpp
index 5ac942c..f9ac931 100644
--- a/ark/archiveformatdlg.cpp
+++ b/ark/archiveformatdlg.cpp
@@ -28,8 +28,8 @@
#include <tqlabel.h>
#include <tqvbox.h>
-ArchiveFormatDlg::ArchiveFormatDlg( TQWidget * parent, const TQString & defaultType )
- :KDialogBase( parent, "archiveformatdialog", true,
+ArchiveFormatDlg::ArchiveFormatDlg( TQWidget * tqparent, const TQString & defaultType )
+ :KDialogBase( tqparent, "archiveformatdialog", true,
i18n( "Choose Archive Format" ),
KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok),
m_combo( 0 )
@@ -40,12 +40,12 @@ ArchiveFormatDlg::ArchiveFormatDlg( TQWidget * parent, const TQString & defaultT
text = i18n( "This file appears to be of type %1,\n"
"which is not a supported archive format.\n"
"In order to proceed, please choose the format\n"
- "of the file." ).arg( defaultType );
+ "of the file." ).tqarg( defaultType );
else
text = i18n( "You are about to open a file that has a non-standard extension.\n"
"Ark has detected the format: %1\n"
"If this is not correct, please choose "
- "the appropriate format." ).arg( defaultDescription );
+ "the appropriate format." ).tqarg( defaultDescription );
TQVBox * page = makeVBoxMainWidget();
@@ -56,7 +56,7 @@ ArchiveFormatDlg::ArchiveFormatDlg( TQWidget * parent, const TQString & defaultT
TQStringList list = ArchiveFormatInfo::self()->allDescriptions();
list.sort();
m_combo->insertStringList( list );
- m_combo->setCurrentItem( list.findIndex( defaultDescription ) );
+ m_combo->setCurrentItem( list.tqfindIndex( defaultDescription ) );
}
TQString ArchiveFormatDlg::mimeType()