From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- kmail/kmpopfiltercnfrmdlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmail/kmpopfiltercnfrmdlg.cpp') diff --git a/kmail/kmpopfiltercnfrmdlg.cpp b/kmail/kmpopfiltercnfrmdlg.cpp index 3139aa32f..0936df8a2 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); -- cgit v1.2.1