summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:18:14 -0600
commitb97ee238f88e9578da228388210cd8cab5360778 (patch)
tree8bf3ab88929af70826ebe3b84434c3403dc71c7d /korganizer/koeditorattachments.cpp
parent656055dae6f13ee65d66fabf9041b288d81710af (diff)
downloadtdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz
tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'korganizer/koeditorattachments.cpp')
-rw-r--r--korganizer/koeditorattachments.cpp10
1 files changed, 5 insertions, 5 deletions
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 <cassert>
#include <cstdlib>
-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) );