summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.cpp
diff options
context:
space:
mode:
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) );