diff options
Diffstat (limited to 'kontact/plugins/knotes/knotes_part_p.h')
-rw-r--r-- | kontact/plugins/knotes/knotes_part_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h index 8e11e4f15..ab386d1a9 100644 --- a/kontact/plugins/knotes/knotes_part_p.h +++ b/kontact/plugins/knotes/knotes_part_p.h @@ -57,19 +57,19 @@ #include "knotes/knoteedit.h" -class KNotesIconViewItem : public KIconViewItem +class KNotesIconViewItem : public TDEIconViewItem { public: - KNotesIconViewItem( KIconView *parent, KCal::Journal *journal ) - : KIconViewItem( parent ), + KNotesIconViewItem( TDEIconView *parent, KCal::Journal *journal ) + : TDEIconViewItem( parent ), mJournal( journal ) { setRenameEnabled( true ); - KIconEffect effect; + TDEIconEffect effect; TQColor color( journal->customProperty( "KNotes", "BgColor" ) ); - TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "knotes", KIcon::Desktop ); - icon = effect.apply( icon, KIconEffect::Colorize, 1, color, false ); + TQPixmap icon = TDEGlobal::iconLoader()->loadIcon( "knotes", TDEIcon::Desktop ); + icon = effect.apply( icon, TDEIconEffect::Colorize, 1, color, false ); setPixmap( icon ); setText( journal->summary() ); } @@ -81,7 +81,7 @@ class KNotesIconViewItem : public KIconViewItem virtual void setText( const TQString& text ) { - KIconViewItem::setText( text ); + TDEIconViewItem::setText( text ); mJournal->setSummary( text ); } @@ -90,7 +90,7 @@ class KNotesIconViewItem : public KIconViewItem }; -class KNotesIconView : public KIconView +class KNotesIconView : public TDEIconView { protected: TQDragObject* dragObject() @@ -101,7 +101,7 @@ class KNotesIconView : public KIconView selectedItems.append( static_cast<KNotesIconViewItem *>( it ) ); } if ( selectedItems.count() != 1 ) - return KIconView::dragObject(); + return TDEIconView::dragObject(); KCal::CalendarLocal cal( KPimPrefs::timezone() ); KCal::Incidence *i = selectedItems.first()->journal()->clone(); |