From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kuickshow/src/filecache.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kuickshow/src/filecache.cpp') diff --git a/kuickshow/src/filecache.cpp b/kuickshow/src/filecache.cpp index 006bf46e..54403639 100644 --- a/kuickshow/src/filecache.cpp +++ b/kuickshow/src/filecache.cpp @@ -42,7 +42,7 @@ FileCache * FileCache::self() KuickFile * FileCache::getFile( const KURL& url ) { TQString urlString = url.prettyURL(); - KuickFile *file = m_files.find( urlString ); + KuickFile *file = m_files.tqfind( urlString ); if ( !file ) { file = new KuickFile( url ); m_files.insert( urlString, file ); @@ -58,7 +58,7 @@ TQString FileCache::tempDir() if ( !m_tempDir ) { kdWarning() << "Unable to create temporary directory for KuickShow" << endl; - return TQString::null; + return TQString(); } } @@ -68,7 +68,7 @@ TQString FileCache::tempDir() KTempDir * FileCache::createTempDir() { - TQString tmpName = TQString::fromLatin1( KGlobal::instance()->instanceName() ); + TQString tmpName = TQString::tqfromLatin1( KGlobal::instance()->instanceName() ); tmpName.append( TQString::number( getpid() ) ); TQString dirName = locateLocal( "tmp", tmpName ); KTempDir *dir = new KTempDir( dirName ); -- cgit v1.2.1