summaryrefslogtreecommitdiffstats
path: root/kview/modules/presenter/imagelistitem.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 /kview/modules/presenter/imagelistitem.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 'kview/modules/presenter/imagelistitem.cpp')
-rw-r--r--kview/modules/presenter/imagelistitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kview/modules/presenter/imagelistitem.cpp b/kview/modules/presenter/imagelistitem.cpp
index 4236dfe7..547de656 100644
--- a/kview/modules/presenter/imagelistitem.cpp
+++ b/kview/modules/presenter/imagelistitem.cpp
@@ -20,14 +20,14 @@
#include "imagelistitem.h"
-#include <qimage.h>
+#include <tqimage.h>
#include <klistview.h>
ImageListItem::ImageListItem( KListView * parent, const KURL & url )
: KListViewItem( parent, parent->lastItem(), url.prettyURL() )
, m_pImage( 0 )
- , m_filename( QString::null )
+ , m_filename( TQString::null )
, m_url( url )
{
setDragEnabled( true );
@@ -39,13 +39,13 @@ ImageListItem::ImageListItem( KListView * parent, const KURL & url )
{
// download file
/*
- QString extension;
- QString fileName = m_url.fileName();
+ TQString extension;
+ TQString fileName = m_url.fileName();
int extensionPos = fileName.findRev( '.' );
if ( extensionPos != -1 )
extension = fileName.mid( extensionPos ); // keep the '.'
delete m_pTempFile;
- m_pTempFile = new KTempFile( QString::null, extension );
+ m_pTempFile = new KTempFile( TQString::null, extension );
m_filename = m_pTempFile->name();
m_pJob = KIO::get( m_url, m_pExtension->urlArgs().reload, false );
@@ -62,15 +62,15 @@ ImageListItem::~ImageListItem()
}
}
-const QImage * ImageListItem::image() const
+const TQImage * ImageListItem::image() const
{
return m_pImage;
}
-const QString & ImageListItem::file() const
+const TQString & ImageListItem::file() const
{
if( m_url.isLocalFile() )
- return QString::null;
+ return TQString::null;
return m_filename;
}