From b97ee238f88e9578da228388210cd8cab5360778 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:18:14 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- korganizer/koeditorattachments.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'korganizer/koeditorattachments.cpp') diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp index f25b9c115..b7aff0a28 100644 --- a/korganizer/koeditorattachments.cpp +++ b/korganizer/koeditorattachments.cpp @@ -70,11 +70,11 @@ #include #include -class AttachmentListItem : public KIconViewItem +class AttachmentListItem : public TDEIconViewItem { public: AttachmentListItem( KCal::Attachment*att, TQIconView *parent ) : - KIconViewItem( parent ) + TDEIconViewItem( parent ) { if ( att ) { mAttachment = new KCal::Attachment( *att ); @@ -132,7 +132,7 @@ class AttachmentListItem : public KIconViewItem static TQPixmap icon( KMimeType::Ptr mimeType, const TQString &uri ) { TQString iconStr = mimeType->icon( uri, false ); - return TDEGlobal::iconLoader()->loadIcon( iconStr, KIcon::Small ); + return TDEGlobal::iconLoader()->loadIcon( iconStr, TDEIcon::Small ); } void readAttachment() { @@ -314,11 +314,11 @@ void AttachmentEditDialog::urlSelected( const TQString &url ) } AttachmentIconView::AttachmentIconView( KOEditorAttachments* parent ) - : KIconView( parent ), + : TDEIconView( parent ), mParent( parent ) { setSelectionMode( TQIconView::Extended ); - setMode( KIconView::Select ); + setMode( TDEIconView::Select ); setItemTextPos( TQIconView::Right ); setArrangement( TQIconView::LeftToRight ); setMaxItemWidth( TQMAX(maxItemWidth(), 250) ); -- cgit v1.2.1