diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/jobitem.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/jobitem.cpp')
-rw-r--r-- | kdeprint/management/jobitem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/management/jobitem.cpp b/kdeprint/management/jobitem.cpp index 61a2eaf9d..171a91657 100644 --- a/kdeprint/management/jobitem.cpp +++ b/kdeprint/management/jobitem.cpp @@ -22,8 +22,8 @@ #include <kiconloader.h> -JobItem::JobItem(QListView *parent, KMJob *job) -: QListViewItem(parent) +JobItem::JobItem(TQListView *parent, KMJob *job) +: TQListViewItem(parent) { m_job = new KMJob; init(job); @@ -39,13 +39,13 @@ void JobItem::init(KMJob *job) m_job->copy(job ? *job : KMJob()); setPixmap(0,SmallIcon(m_job->pixmap())); - setText(0,QString::number(m_job->id())); + setText(0,TQString::number(m_job->id())); //setText(6,m_job->printer()); setText(2,m_job->name()); setText(1,m_job->owner()); setText(3,m_job->stateString()); - setText(4,QString::number(m_job->size())); - setText(5,QString::number(m_job->processedPages())); + setText(4,TQString::number(m_job->size())); + setText(5,TQString::number(m_job->processedPages())); m_ID = m_job->id(); m_uri = m_job->uri(); @@ -56,7 +56,7 @@ void JobItem::init(KMJob *job) widthChanged(); } -int JobItem::compare(QListViewItem *item, int col, bool asc) const +int JobItem::compare(TQListViewItem *item, int col, bool asc) const { switch (col) { @@ -69,6 +69,6 @@ int JobItem::compare(QListViewItem *item, int col, bool asc) const break; } default: - return QListViewItem::compare(item, col, asc); + return TQListViewItem::compare(item, col, asc); } } |