diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 23:37:00 +0000 |
commit | b0e912c8b3d02a518fedda28c3180eb4794a7520 (patch) | |
tree | 07d344862562fab58cbe2df39d13d16f2e4d2bea /k9author/k9lvitemimport.cpp | |
parent | 4d695ec81fe4d4335ee82c7a9346ad9c9e144ecc (diff) | |
download | k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.tar.gz k9copy-b0e912c8b3d02a518fedda28c3180eb4794a7520.zip |
TQt4 convert k9copy
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k9copy@1233843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'k9author/k9lvitemimport.cpp')
-rw-r--r-- | k9author/k9lvitemimport.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/k9author/k9lvitemimport.cpp b/k9author/k9lvitemimport.cpp index e946c8a..38b1855 100644 --- a/k9author/k9lvitemimport.cpp +++ b/k9author/k9lvitemimport.cpp @@ -12,8 +12,8 @@ #include "k9lvitemimport.h" -k9LvItemImport::k9LvItemImport( QListViewItem *parent,eObjectType _objectType) - : QListViewItem( parent) { +k9LvItemImport::k9LvItemImport( TQListViewItem *tqparent,eObjectType _objectType) + : TQListViewItem( tqparent) { m_objectType=_objectType; m_title=NULL; m_aviFile=NULL; @@ -30,7 +30,7 @@ int k9LvItemImport::rtti () const { } } -int k9LvItemImport::compare(QListViewItem *i,int col,bool ascending) const { +int k9LvItemImport::compare(TQListViewItem *i,int col,bool ascending) const { int res; if (i->rtti()== 1001) { k9LvItemImport *item2=(k9LvItemImport*)i; @@ -40,13 +40,13 @@ int k9LvItemImport::compare(QListViewItem *i,int col,bool ascending) const { k9LvItemImport *item2=(k9LvItemImport*)i; return this->getAviFile()->getNum() - item2->getAviFile()->getNum() ; } - return QListViewItem::compare(i,col,ascending); + return TQListViewItem::compare(i,col,ascending); } void k9LvItemImport::setTitle(k9Title* _value) { m_title = _value; - QPixmap pix(m_title->getButton()->getImage()); + TQPixmap pix(m_title->getButton()->getImage()); setPixmap(0,pix); } |