summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/bugcache.cpp')
-rw-r--r--kbugbuster/backend/bugcache.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/backend/bugcache.cpp b/kbugbuster/backend/bugcache.cpp
index a6ef25df..1ce73241 100644
--- a/kbugbuster/backend/bugcache.cpp
+++ b/kbugbuster/backend/bugcache.cpp
@@ -59,7 +59,7 @@ Package::List BugCache::loadPackageList()
TQStringList::ConstIterator it;
for( it = packages.begin(); it != packages.end(); ++it ) {
if ((*it) == "<default>") continue;
- if ((*it).contains("/")) continue;
+ if ((*it).tqcontains("/")) continue;
m_cachePackages->setGroup(*it);
@@ -75,7 +75,7 @@ Package::List BugCache::loadPackageList()
return pkgs;
}
-void BugCache::invalidatePackageList()
+void BugCache::tqinvalidatePackageList()
{
// Completely wipe out packages.cache
TQStringList packages = m_cachePackages->groupList();
@@ -97,7 +97,7 @@ void BugCache::saveBugList( const Package &pkg, const TQString &component, const
m_cacheBugs->setGroup( number );
m_cacheBugs->writeEntry( "Title", (*it).title() );
m_cacheBugs->writeEntry( "Severity", Bug::severityToString((*it).severity()) );
- m_cacheBugs->writeEntry( "Status", Bug::statusToString((*it).status()) );
+ m_cacheBugs->writeEntry( "tqStatus", Bug::statusToString((*it).status()) );
m_cacheBugs->writeEntry( "MergedWith" , (*it).mergedWith() );
m_cacheBugs->writeEntry( "Age", ( *it ).age() );
writePerson( m_cacheBugs, "Submitter", (*it).submitter() );
@@ -137,7 +137,7 @@ Bug::List BugCache::loadBugList( const Package &pkg, const TQString &component,
if ( !title.isEmpty() ) // dunno how I ended up with an all empty bug in the cache
{
Person submitter = readPerson( m_cacheBugs, "Submitter" );
- Bug::Status status = Bug::stringToStatus( m_cacheBugs->readEntry("Status") );
+ Bug::tqStatus status = Bug::stringTotqStatus( m_cacheBugs->readEntry("tqStatus") );
Bug::Severity severity = Bug::stringToSeverity( m_cacheBugs->readEntry("Severity") );
Person developerTODO = readPerson( m_cacheBugs, "TODO" );
Bug::BugMergeList mergedWith = m_cacheBugs->readIntListEntry( "MergedWith" );
@@ -158,9 +158,9 @@ Bug::List BugCache::loadBugList( const Package &pkg, const TQString &component,
return bugList;
}
-void BugCache::invalidateBugList( const Package& pkg, const TQString &component )
+void BugCache::tqinvalidateBugList( const Package& pkg, const TQString &component )
{
- kdDebug() << "BugCache::invalidateBugList " << pkg.name()
+ kdDebug() << "BugCache::tqinvalidateBugList " << pkg.name()
<< " (" << component << ")" << endl;
// Erase bug list for this package
@@ -172,7 +172,7 @@ void BugCache::invalidateBugList( const Package& pkg, const TQString &component
m_cachePackages->setGroup( pkg.name() + "/" + component );
}
- m_cachePackages->writeEntry("bugList",TQString::null);
+ m_cachePackages->writeEntry("bugList",TQString());
}
void BugCache::saveBugDetails( const Bug &bug, const BugDetails &details )
@@ -249,7 +249,7 @@ BugDetails BugCache::loadBugDetails( const Bug &bug )
parts ) );
}
-void BugCache::invalidateBugDetails( const Bug& bug )
+void BugCache::tqinvalidateBugDetails( const Bug& bug )
{
m_cacheBugs->deleteGroup( bug.number(), true );
}