summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/filecache.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kuickshow/src/filecache.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kuickshow/src/filecache.cpp')
-rw-r--r--kuickshow/src/filecache.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kuickshow/src/filecache.cpp b/kuickshow/src/filecache.cpp
index c1c1affe..006bf46e 100644
--- a/kuickshow/src/filecache.cpp
+++ b/kuickshow/src/filecache.cpp
@@ -1,6 +1,6 @@
#include <unistd.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <kdebug.h>
#include <kstandarddirs.h>
@@ -41,7 +41,7 @@ FileCache * FileCache::self()
KuickFile * FileCache::getFile( const KURL& url )
{
- QString urlString = url.prettyURL();
+ TQString urlString = url.prettyURL();
KuickFile *file = m_files.find( urlString );
if ( !file ) {
file = new KuickFile( url );
@@ -51,14 +51,14 @@ KuickFile * FileCache::getFile( const KURL& url )
return file;
}
-QString FileCache::tempDir()
+TQString FileCache::tempDir()
{
if ( !m_tempDir ) {
m_tempDir = createTempDir();
if ( !m_tempDir ) {
kdWarning() << "Unable to create temporary directory for KuickShow" << endl;
- return QString::null;
+ return TQString::null;
}
}
@@ -68,9 +68,9 @@ QString FileCache::tempDir()
KTempDir * FileCache::createTempDir()
{
- QString tmpName = QString::fromLatin1( KGlobal::instance()->instanceName() );
- tmpName.append( QString::number( getpid() ) );
- QString dirName = locateLocal( "tmp", tmpName );
+ TQString tmpName = TQString::fromLatin1( KGlobal::instance()->instanceName() );
+ tmpName.append( TQString::number( getpid() ) );
+ TQString dirName = locateLocal( "tmp", tmpName );
KTempDir *dir = new KTempDir( dirName );
dir->setAutoDelete( true );
if ( dir->status() != 0L )