diff options
Diffstat (limited to 'ksquirrel/sq_thumbnailcachemaster.ui.h')
-rw-r--r-- | ksquirrel/sq_thumbnailcachemaster.ui.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ksquirrel/sq_thumbnailcachemaster.ui.h b/ksquirrel/sq_thumbnailcachemaster.ui.h index 9c45919..a435add 100644 --- a/ksquirrel/sq_thumbnailcachemaster.ui.h +++ b/ksquirrel/sq_thumbnailcachemaster.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you wish to add, delete or rename functions or slots use -** Qt Designer which will update this file, preserving your code. Create an +** TQt Designer which will update this file, preserving your code. Create an ** init() function in place of a constructor, and a destroy() function in ** place of a destructor. *****************************************************************************/ @@ -30,44 +30,44 @@ void SQ_ThumbnailCacheMaster::slotCalcCache() int size = KDirSize::dirSize(url); - QString s = KIO::convertSize(size); + TQString s = KIO::convertSize(size); textThumbSize->setText(s); } void SQ_ThumbnailCacheMaster::slotClearCache() { - QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); + TQApplication::setOverrideCursor(TQCursor(TQt::WaitCursor)); SQ_DirThumbs tmp; KURL url = tmp.root(); KIO::DeleteJob *job = KIO::del(url); - connect(job, SIGNAL(result(KIO::Job*)), this, SLOT(slotClearFinished(KIO::Job*))); + connect(job, TQT_SIGNAL(result(KIO::Job*)), this, TQT_SLOT(slotClearFinished(KIO::Job*))); } void SQ_ThumbnailCacheMaster::slotClearFinished( KIO::Job * ) { - QApplication::restoreOverrideCursor(); + TQApplication::restoreOverrideCursor(); slotCalcCache(); } void SQ_ThumbnailCacheMaster::slotClearMemoryCache() { - QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); + TQApplication::setOverrideCursor(TQCursor(TQt::WaitCursor)); SQ_PixmapCache::instance()->clear(); slotCalcCacheMemory(); - QApplication::restoreOverrideCursor(); + TQApplication::restoreOverrideCursor(); } void SQ_ThumbnailCacheMaster::slotCalcCacheMemory() { - textCacheMemSize->setText(QString::fromLatin1("%1/%2") - .arg(KIO::convertSize(SQ_PixmapCache::instance()->totalSize())) - .arg(KIO::convertSize(SQ_PixmapCache::instance()->cacheLimit()))); + textCacheMemSize->setText(TQString::tqfromLatin1("%1/%2") + .tqarg(KIO::convertSize(SQ_PixmapCache::instance()->totalSize())) + .tqarg(KIO::convertSize(SQ_PixmapCache::instance()->cacheLimit()))); } void SQ_ThumbnailCacheMaster::slotShowDiskCache() @@ -78,12 +78,12 @@ void SQ_ThumbnailCacheMaster::slotShowDiskCache() void SQ_ThumbnailCacheMaster::slotSyncCache() { - QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); + TQApplication::setOverrideCursor(TQCursor(TQt::WaitCursor)); SQ_PixmapCache::instance()->sync(); slotCalcCacheMemory(); slotCalcCache(); - QApplication::restoreOverrideCursor(); + TQApplication::restoreOverrideCursor(); } |