diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
commit | 1d4158dd755a445fd42f2db7db5abab8084175cd (patch) | |
tree | 71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /lib/kofficeui/KoTemplateChooseDia.h | |
parent | 391e0b69f256bab8971430050c65f0e6e7eea9be (diff) | |
download | koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'lib/kofficeui/KoTemplateChooseDia.h')
-rw-r--r-- | lib/kofficeui/KoTemplateChooseDia.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoTemplateChooseDia.h b/lib/kofficeui/KoTemplateChooseDia.h index ba6f17e1..6797a69c 100644 --- a/lib/kofficeui/KoTemplateChooseDia.h +++ b/lib/kofficeui/KoTemplateChooseDia.h @@ -37,16 +37,16 @@ class KoTemplateGroup; class TQGridLayout; /** - * Our reimplementation of KIconCanvas used within the template-chooser dialog. + * Our reimplementation of TDEIconCanvas used within the template-chooser dialog. * @internal */ -class KoTCDIconCanvas : public KIconCanvas +class KoTCDIconCanvas : public TDEIconCanvas { Q_OBJECT public: KoTCDIconCanvas( TQWidget *parent = 0, const char *name = 0L ) - : KIconCanvas( parent, name ) {} + : TDEIconCanvas( parent, name ) {} bool isCurrentValid() { return currentItem(); } TQIconViewItem * load(KoTemplateGroup *group, const TQString& name, TDEInstance* instance); @@ -56,21 +56,21 @@ class KoTCDIconCanvas : public KIconCanvas if ( e->key() == Key_Return || e->key() == Key_Enter ) e->ignore(); else - KIconCanvas::keyPressEvent( e ); + TDEIconCanvas::keyPressEvent( e ); } }; /// @internal -class KoTCDIconViewItem : public KIconViewItem +class KoTCDIconViewItem : public TDEIconViewItem { public: KoTCDIconViewItem(TQIconView *parent=0) - : KIconViewItem ( parent ) + : TDEIconViewItem ( parent ) {} KoTCDIconViewItem(TQIconView *parent=0, const TQString &text=0, const TQPixmap &icon=0, const TQString &descr=0, const TQString &fullname=0) - : KIconViewItem(parent, text, icon) + : TDEIconViewItem(parent, text, icon) { m_descr = descr; m_full = fullname; |