diff options
Diffstat (limited to 'src/filemetainfo.cpp')
-rw-r--r-- | src/filemetainfo.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/filemetainfo.cpp b/src/filemetainfo.cpp index 34baccd..7c3c630 100644 --- a/src/filemetainfo.cpp +++ b/src/filemetainfo.cpp @@ -57,7 +57,7 @@ void MetaInfo::load( KConfig * conf ) } -OutputMethodInfo::Method::Type MetaInfo::toMethod( const QString & id ) +OutputMethodInfo::Method::Type MetaInfo::toMethod( const TQString & id ) { if ( id == "SaveAndLoad" ) return OutputMethodInfo::Method::SaveAndLoad; @@ -69,7 +69,7 @@ OutputMethodInfo::Method::Type MetaInfo::toMethod( const QString & id ) } -QString MetaInfo::toID( OutputMethodInfo::Method::Type method ) +TQString MetaInfo::toID( OutputMethodInfo::Method::Type method ) { switch (method) { @@ -89,7 +89,7 @@ QString MetaInfo::toID( OutputMethodInfo::Method::Type method ) //BEGIN class FileMetaInfo FileMetaInfo::FileMetaInfo() - : QObject() + : TQObject() { m_metaInfoConfig = new KConfig( "metainfo", false, false, "appdata" ); loadAllMetaInfo(); @@ -153,7 +153,7 @@ void FileMetaInfo::grabMetaInfo( const KURL & url, OutputMethodDlg * dlg ) void FileMetaInfo::initializeFromMetaInfo( const KURL & url, OutputMethodDlg * dlg ) { - if ( !dlg || url.isEmpty() || !m_metaInfoMap.contains(url) ) + if ( !dlg || url.isEmpty() || !m_metaInfoMap.tqcontains(url) ) return; OutputMethodInfo::Method::Type method = m_metaInfoMap[url].outputMethodInfo().method(); @@ -185,9 +185,9 @@ void FileMetaInfo::saveAllMetaInfo() void FileMetaInfo::loadAllMetaInfo() { - QStringList urlList = m_metaInfoConfig->groupList(); - const QStringList::iterator end = urlList.end(); - for ( QStringList::iterator it = urlList.begin(); it != end; ++it ) + TQStringList urlList = m_metaInfoConfig->groupList(); + const TQStringList::iterator end = urlList.end(); + for ( TQStringList::iterator it = urlList.begin(); it != end; ++it ) { m_metaInfoConfig->setGroup(*it); m_metaInfoMap[*it].load(m_metaInfoConfig); |