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 /kontact/src/iconsidepane.h | |
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 'kontact/src/iconsidepane.h')
-rw-r--r-- | kontact/src/iconsidepane.h | 16 |
1 files changed, 9 insertions, 7 deletions
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* ); |