diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmfiledialog.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmfiledialog.cpp')
-rw-r--r-- | kpovmodeler/pmfiledialog.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpovmodeler/pmfiledialog.cpp b/kpovmodeler/pmfiledialog.cpp index 68030f8c..d8da0f4d 100644 --- a/kpovmodeler/pmfiledialog.cpp +++ b/kpovmodeler/pmfiledialog.cpp @@ -22,26 +22,26 @@ #include <kfilefiltercombo.h> -PMFileDialog::PMFileDialog( const QString& startDir, const QString& filter, QWidget* parent, const char* name, bool modal ) +PMFileDialog::PMFileDialog( const TQString& startDir, const TQString& filter, TQWidget* parent, const char* name, bool modal ) : KFileDialog( startDir, filter, parent, name, modal ) { } -QString PMFileDialog::getImportFileName( QWidget* parent, PMPart* part, +TQString PMFileDialog::getImportFileName( TQWidget* parent, PMPart* part, PMIOFormat*& format ) { PMIOManager* manager = part->ioManager( ); - QString filter; - QPtrListIterator<PMIOFormat> it( manager->formats( ) ); - QPtrList<PMIOFormat> formats; + TQString filter; + TQPtrListIterator<PMIOFormat> it( manager->formats( ) ); + TQPtrList<PMIOFormat> formats; for( ; it.current( ); ++it ) { if( it.current( )->services( ) & PMIOFormat::Import ) { - QStringList patterns = it.current( )->importPatterns( ); - QStringList::Iterator pit; + TQStringList patterns = it.current( )->importPatterns( ); + TQStringList::Iterator pit; for( pit = patterns.begin( ); pit != patterns.end( ); ++pit ) { if( !filter.isEmpty( ) ) @@ -52,7 +52,7 @@ QString PMFileDialog::getImportFileName( QWidget* parent, PMPart* part, } } - PMFileDialog dlg( QString::null, filter, parent, "import file dialog", true ); + PMFileDialog dlg( TQString::null, filter, parent, "import file dialog", true ); dlg.setOperationMode( Opening ); dlg.setMode( KFile::File | KFile::LocalOnly ); dlg.setCaption( i18n( "Import" ) ); @@ -64,20 +64,20 @@ QString PMFileDialog::getImportFileName( QWidget* parent, PMPart* part, return dlg.selectedFile( ); } -QString PMFileDialog::getExportFileName( QWidget* parent, PMPart* part, - PMIOFormat*& format, QString& selectedFilter ) +TQString PMFileDialog::getExportFileName( TQWidget* parent, PMPart* part, + PMIOFormat*& format, TQString& selectedFilter ) { PMIOManager* manager = part->ioManager( ); - QString filter; - QPtrListIterator<PMIOFormat> it( manager->formats( ) ); - QPtrList<PMIOFormat> formats; + TQString filter; + TQPtrListIterator<PMIOFormat> it( manager->formats( ) ); + TQPtrList<PMIOFormat> formats; for( ; it.current( ); ++it ) { if( it.current( )->services( ) & PMIOFormat::Export ) { - QStringList patterns = it.current( )->exportPatterns( ); - QStringList::Iterator pit; + TQStringList patterns = it.current( )->exportPatterns( ); + TQStringList::Iterator pit; for( pit = patterns.begin( ); pit != patterns.end( ); ++pit ) { if( !filter.isEmpty( ) ) @@ -88,7 +88,7 @@ QString PMFileDialog::getExportFileName( QWidget* parent, PMPart* part, } } - PMFileDialog dlg( QString::null, filter, parent, "export file dialog", true ); + PMFileDialog dlg( TQString::null, filter, parent, "export file dialog", true ); dlg.setOperationMode( Saving ); dlg.setMode( KFile::File | KFile::LocalOnly ); dlg.setCaption( i18n( "Export" ) ); |