summaryrefslogtreecommitdiffstats
path: root/korganizer/kotodoviewitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /korganizer/kotodoviewitem.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-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 'korganizer/kotodoviewitem.h')
-rw-r--r--korganizer/kotodoviewitem.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/korganizer/kotodoviewitem.h b/korganizer/kotodoviewitem.h
index 5388d6da0..9f7032f89 100644
--- a/korganizer/kotodoviewitem.h
+++ b/korganizer/kotodoviewitem.h
@@ -20,8 +20,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef KOTODOVIEWITEM_H
#define KOTODOVIEWITEM_H
@@ -45,18 +45,18 @@ class KOTodoView;
@author Cornelius Schumacher <schumacher@kde.org>
@see KOTodoView
*/
-class KOTodoViewItem : public QCheckListItem
+class KOTodoViewItem : public TQCheckListItem
{
public:
/**
Constructor.
- @param parent is the list view to which this item belongs.
+ @param tqparent is the list view to which this item belongs.
@param todo is the todo to have the item display information for.
@param kotodo is a pointer to the KOTodoView object.
*/
- KOTodoViewItem(TQListView *parent, Todo *todo, KOTodoView *kotodo);
- KOTodoViewItem(KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo);
+ KOTodoViewItem(TQListView *tqparent, Todo *todo, KOTodoView *kotodo);
+ KOTodoViewItem(KOTodoViewItem *tqparent, Todo *todo, KOTodoView *kotodo);
virtual ~KOTodoViewItem() {}
void construct();
@@ -69,10 +69,7 @@ class KOTodoViewItem : public QCheckListItem
int column, int width, int tqalignment);
protected:
-#if QT_VERSION >= 300
void paintBranches(TQPainter *p,const TQColorGroup & cg,int w,int y,int h);
-#else
-#endif
virtual void stateChange(bool);
private: