diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/kmpopfiltercnfrmdlg.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmpopfiltercnfrmdlg.cpp')
-rw-r--r-- | kmail/kmpopfiltercnfrmdlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmpopfiltercnfrmdlg.cpp b/kmail/kmpopfiltercnfrmdlg.cpp index 3139aa32..0936df8a 100644 --- a/kmail/kmpopfiltercnfrmdlg.cpp +++ b/kmail/kmpopfiltercnfrmdlg.cpp @@ -30,11 +30,11 @@ KMPopHeadersView::KMPopHeadersView(TQWidget *aParent, KMPopFilterCnfrmDlg *aDial : KListView(aParent) { mDialog=aDialog; - int mDownIndex=addColumn(TQIconSet(TQPixmap(mDown)), TQString::null, 24); + int mDownIndex=addColumn(TQIconSet(TQPixmap(mDown)), TQString(), 24); assert( mDownIndex == Down ); //This code relies on the fact that radiobuttons are the first three columns for easier Column-Action mapping //it does not necessarily be true - you could redefine mapToColumn and mapToAction to eg. shift those numbers by 1 - addColumn(TQIconSet(TQPixmap(mLater)), TQString::null, 24); - addColumn(TQIconSet(TQPixmap(mDel)), TQString::null, 24); + addColumn(TQIconSet(TQPixmap(mLater)), TQString(), 24); + addColumn(TQIconSet(TQPixmap(mDel)), TQString(), 24); /*int subjCol =*/ addColumn(i18n("Subject"), 180); /*int sendCol =*/ addColumn(i18n("Sender"), 150); @@ -44,10 +44,10 @@ KMPopHeadersView::KMPopHeadersView(TQWidget *aParent, KMPopFilterCnfrmDlg *aDial setAllColumnsShowFocus(true); - setColumnAlignment(Down, Qt::AlignHCenter); - setColumnAlignment(Later, Qt::AlignHCenter); - setColumnAlignment(Delete, Qt::AlignHCenter); - setColumnAlignment(sizeCol, Qt::AlignRight); + setColumnAlignment(Down, TQt::AlignHCenter); + setColumnAlignment(Later, TQt::AlignHCenter); + setColumnAlignment(Delete, TQt::AlignHCenter); + setColumnAlignment(sizeCol, TQt::AlignRight); setSorting(dateCol, false); setShowSortIndicator(true); |