From 4b3606f910373fb4b9d653049b6c08a809aebf47 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 5 Feb 2013 18:38:23 -0600 Subject: Rename KCrash to avoid conflicts with KDE4 --- tdeio/bookmarks/kbookmarkimporter_crash.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tdeio/bookmarks/kbookmarkimporter_crash.cc') diff --git a/tdeio/bookmarks/kbookmarkimporter_crash.cc b/tdeio/bookmarks/kbookmarkimporter_crash.cc index b2871eecd..f49879124 100644 --- a/tdeio/bookmarks/kbookmarkimporter_crash.cc +++ b/tdeio/bookmarks/kbookmarkimporter_crash.cc @@ -40,12 +40,12 @@ typedef TQMap ViewMap; // KDE 4.0: remove this BC keeping stub -void KCrashBookmarkImporter::parseCrashLog( TQString /*filename*/, bool /*del*/ ) +void TDECrashBookmarkImporter::parseCrashLog( TQString /*filename*/, bool /*del*/ ) { ; } -ViewMap KCrashBookmarkImporterImpl::parseCrashLog_noemit( const TQString & filename, bool del ) +ViewMap TDECrashBookmarkImporterImpl::parseCrashLog_noemit( const TQString & filename, bool del ) { static const int g_lineLimit = 16*1024; @@ -88,12 +88,12 @@ ViewMap KCrashBookmarkImporterImpl::parseCrashLog_noemit( const TQString & filen return views; } -TQStringList KCrashBookmarkImporter::getCrashLogs() +TQStringList TDECrashBookmarkImporter::getCrashLogs() { - return KCrashBookmarkImporterImpl::getCrashLogs(); + return TDECrashBookmarkImporterImpl::getCrashLogs(); } -TQStringList KCrashBookmarkImporterImpl::getCrashLogs() +TQStringList TDECrashBookmarkImporterImpl::getCrashLogs() { TQMap activeLogs; @@ -127,7 +127,7 @@ TQStringList KCrashBookmarkImporterImpl::getCrashLogs() activeLogs[ret] = true; } - TQDir d( KCrashBookmarkImporterImpl().findDefaultLocation() ); + TQDir d( TDECrashBookmarkImporterImpl().findDefaultLocation() ); d.setSorting( TQDir::Time ); d.setFilter( TQDir::Files ); d.setNameFilter( "konqueror-crash-*.log" ); @@ -154,10 +154,10 @@ TQStringList KCrashBookmarkImporterImpl::getCrashLogs() return crashFiles; } -void KCrashBookmarkImporterImpl::parse() +void TDECrashBookmarkImporterImpl::parse() { TQDict signatureMap; - TQStringList crashFiles = KCrashBookmarkImporterImpl::getCrashLogs(); + TQStringList crashFiles = TDECrashBookmarkImporterImpl::getCrashLogs(); int count = 1; for ( TQStringList::Iterator it = crashFiles.begin(); it != crashFiles.end(); ++it ) { @@ -185,29 +185,29 @@ void KCrashBookmarkImporterImpl::parse() } } -TQString KCrashBookmarkImporter::crashBookmarksDir() +TQString TDECrashBookmarkImporter::crashBookmarksDir() { - static KCrashBookmarkImporterImpl *p = 0; + static TDECrashBookmarkImporterImpl *p = 0; if (!p) - p = new KCrashBookmarkImporterImpl; + p = new TDECrashBookmarkImporterImpl; return p->findDefaultLocation(); } -void KCrashBookmarkImporterImpl::setShouldDelete( bool shouldDelete ) +void TDECrashBookmarkImporterImpl::setShouldDelete( bool shouldDelete ) { m_shouldDelete = shouldDelete; } -void KCrashBookmarkImporter::parseCrashBookmarks( bool del ) +void TDECrashBookmarkImporter::parseCrashBookmarks( bool del ) { - KCrashBookmarkImporterImpl importer; + TDECrashBookmarkImporterImpl importer; importer.setFilename( m_fileName ); importer.setShouldDelete( del ); importer.setupSignalForwards( &importer, this ); importer.parse(); } -TQString KCrashBookmarkImporterImpl::findDefaultLocation( bool ) const +TQString TDECrashBookmarkImporterImpl::findDefaultLocation( bool ) const { return locateLocal( "tmp", "" ); } -- cgit v1.2.1