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 --- kontact/src/iconsidepane.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'kontact/src/iconsidepane.h') diff --git a/kontact/src/iconsidepane.h b/kontact/src/iconsidepane.h index a5aad36ac..d7cc532da 100644 --- a/kontact/src/iconsidepane.h +++ b/kontact/src/iconsidepane.h @@ -48,7 +48,7 @@ enum IconViewMode { LargeIcons = 48, NormalIcons = 32, SmallIcons = 22, ShowText A TQListBoxPixmap Square Box with an optional icon and a text underneath. */ -class EntryItem : public QListBoxItem +class EntryItem : public TQListBoxItem { public: EntryItem( Navigator *, Kontact::Plugin * ); @@ -86,13 +86,13 @@ class EntryItem : public QListBoxItem /** * Tooltip that changes text depending on the item it is above. - * Compliments of "Practical Qt" by Dalheimer, Petersen et al. + * Compliments of "Practical TQt" by Dalheimer, Petersen et al. */ -class EntryItemToolTip : public QToolTip +class EntryItemToolTip : public TQToolTip { public: - EntryItemToolTip( TQListBox* parent ) - : TQToolTip( parent->viewport() ), mListBox( parent ) + EntryItemToolTip( TQListBox* tqparent ) + : TQToolTip( tqparent->viewport() ), mListBox( tqparent ) {} protected: void maybeTip( const TQPoint& p ) { @@ -118,8 +118,9 @@ class EntryItemToolTip : public QToolTip class Navigator : public KListBox { Q_OBJECT + TQ_OBJECT public: - Navigator( IconSidePane *parent = 0, const char *name = 0 ); + Navigator( IconSidePane *tqparent = 0, const char *name = 0 ); virtual void setSelected( TQListBoxItem *, bool ); @@ -173,8 +174,9 @@ class Navigator : public KListBox class IconSidePane : public SidePaneBase { Q_OBJECT + TQ_OBJECT public: - IconSidePane( Core *core, TQWidget *parent, const char *name = 0 ); + IconSidePane( Core *core, TQWidget *tqparent, const char *name = 0 ); ~IconSidePane(); virtual void indicateForegrunding( Kontact::Plugin* ); -- cgit v1.2.1