summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoFileDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoFileDialog.cpp')
-rw-r--r--lib/kofficecore/KoFileDialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/kofficecore/KoFileDialog.cpp b/lib/kofficecore/KoFileDialog.cpp
index b80c23e0..9f581a4e 100644
--- a/lib/kofficecore/KoFileDialog.cpp
+++ b/lib/kofficecore/KoFileDialog.cpp
@@ -25,13 +25,13 @@
#include <kdiroperator.h>
#include <kdebug.h>
-KoFileDialog::KoFileDialog(const QString& startDir, const QString& filter,
- QWidget *parent, const char *name,
+KoFileDialog::KoFileDialog(const TQString& startDir, const TQString& filter,
+ TQWidget *tqparent, const char *name,
bool modal)
- : KFileDialog( startDir, filter, parent, name, modal )
+ : KFileDialog( startDir, filter, tqparent, name, modal )
{
- connect( filterWidget, SIGNAL( activated( int) ),
- this, SLOT( slotChangedfilter( int ) ) );
+ connect( filterWidget, TQT_SIGNAL( activated( int) ),
+ this, TQT_SLOT( slotChangedfilter( int ) ) );
}
void KoFileDialog::slotChangedfilter( int index )
@@ -50,9 +50,9 @@ void KoFileDialog::slotChangedfilter( int index )
}
}
-void KoFileDialog::setSpecialMimeFilter( QStringList& mimeFilter,
- const QString& currentFormat, const int specialOutputFlag,
- const QString& nativeFormat,
+void KoFileDialog::setSpecialMimeFilter( TQStringList& mimeFilter,
+ const TQString& currentFormat, const int specialOutputFlag,
+ const TQString& nativeFormat,
int supportedSpecialFormats )
{
Q_ASSERT( !mimeFilter.isEmpty() );
@@ -77,7 +77,7 @@ void KoFileDialog::setSpecialMimeFilter( QStringList& mimeFilter,
}
// Insert numSpecialEntries entries with native mimetypes, for the special entries.
- QStringList::Iterator mimeFilterIt = mimeFilter.at( 1 );
+ TQStringList::Iterator mimeFilterIt = mimeFilter.at( 1 );
mimeFilter.insert( mimeFilterIt /* before 1 -> after 0 */, numSpecialEntries, nativeFormat );
// Fill in filter combo
@@ -90,9 +90,9 @@ void KoFileDialog::setSpecialMimeFilter( QStringList& mimeFilter,
int idx = 1; // 0 is the native format
if ( addUncompressed )
- filterWidget->changeItem( i18n("%1 (Uncompressed XML Files)").arg( type->comment() ), idx++ );
+ filterWidget->changeItem( i18n("%1 (Uncompressed XML Files)").tqarg( type->comment() ), idx++ );
if ( addFlatXML )
- filterWidget->changeItem( i18n("%1 (Flat XML File)").arg( type->comment() ), idx++ );
+ filterWidget->changeItem( i18n("%1 (Flat XML File)").tqarg( type->comment() ), idx++ );
// if you add an entry here, update numSpecialEntries above and specialEntrySelected() below
// For native format...
@@ -107,9 +107,9 @@ void KoFileDialog::setSpecialMimeFilter( QStringList& mimeFilter,
for (mimeFilterIt = mimeFilter.begin (); mimeFilterIt != mimeFilter.end (); ++mimeFilterIt, i++)
{
KMimeType::Ptr mime = KMimeType::mimeType (*mimeFilterIt);
- QString compatString = mime->property ("X-KDE-CompatibleApplication").toString ();
+ TQString compatString = mime->property ("X-KDE-CompatibleApplication").toString ();
if (!compatString.isEmpty ())
- filterWidget->changeItem (i18n ("%1 (%2 Compatible)").arg (mime->comment ()).arg (compatString), i);
+ filterWidget->changeItem (i18n ("%1 (%2 Compatible)").tqarg (mime->comment ()).tqarg (compatString), i);
}
}