From aa3a1ca934bc541bddd3fa136a85f106f7da266e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:25:18 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdat/BackupProfileManager.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kdat/BackupProfileManager.cpp') diff --git a/kdat/BackupProfileManager.cpp b/kdat/BackupProfileManager.cpp index 7fc2411..7b42ab7 100644 --- a/kdat/BackupProfileManager.cpp +++ b/kdat/BackupProfileManager.cpp @@ -19,8 +19,8 @@ #include #include -#include -#include +#include +#include #include #include @@ -34,14 +34,14 @@ BackupProfileManager::BackupProfileManager() _backupProfiles.setAutoDelete( TRUE ); // Get a list of all available backup profiles. - QStringList relList; + TQStringList relList; (void) KGlobal::dirs()->findAllResources( "appdata", "*.bp", false, true, relList); - for(QStringList::Iterator it = relList.begin(); + for(TQStringList::Iterator it = relList.begin(); it != relList.end(); it++) { - QString fn = *it; + TQString fn = *it; // Strip extension _backupProfileNames.append( fn.left( fn.length() - 3 ) ); } @@ -62,12 +62,12 @@ BackupProfileManager* BackupProfileManager::instance() return _instance; } -const QStringList& BackupProfileManager::getBackupProfileNames() +const TQStringList& BackupProfileManager::getBackupProfileNames() { return _backupProfileNames; } -BackupProfile* BackupProfileManager::findBackupProfile( const QString & name ) +BackupProfile* BackupProfileManager::findBackupProfile( const TQString & name ) { BackupProfile* backupProfile = _backupProfiles[ name ]; @@ -97,10 +97,10 @@ void BackupProfileManager::removeBackupProfile( BackupProfile* backupProfile ) emit sigBackupProfileRemoved( backupProfile ); // Remove the index file. - QString filename = locateLocal( "appdata", - QString(backupProfile->getName()) + ".bp"); + TQString filename = locateLocal( "appdata", + TQString(backupProfile->getName()) + ".bp"); - unlink( QFile::encodeName(filename) ); + unlink( TQFile::encodeName(filename) ); _backupProfileNames.remove( backupProfile->getName() ); _backupProfiles.remove( backupProfile->getName() ); -- cgit v1.2.1