summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/views')
-rw-r--r--kaddressbook/views/configuretableviewdialog.cpp2
-rw-r--r--kaddressbook/views/kaddressbookiconview.cpp10
-rw-r--r--kaddressbook/views/kaddressbookiconview.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/kaddressbook/views/configuretableviewdialog.cpp b/kaddressbook/views/configuretableviewdialog.cpp
index 2551be98e..4e478e255 100644
--- a/kaddressbook/views/configuretableviewdialog.cpp
+++ b/kaddressbook/views/configuretableviewdialog.cpp
@@ -47,7 +47,7 @@ ConfigureTableViewWidget::ConfigureTableViewWidget( KABC::AddressBook *ab,
{
TQWidget *page = addPage( i18n( "Look & Feel" ), TQString(),
TDEGlobal::iconLoader()->loadIcon( "looknfeel",
- KIcon::Panel ) );
+ TDEIcon::Panel ) );
mPage = new LookAndFeelPage( page );
}
diff --git a/kaddressbook/views/kaddressbookiconview.cpp b/kaddressbook/views/kaddressbookiconview.cpp
index 60bae788c..e5f4ab259 100644
--- a/kaddressbook/views/kaddressbookiconview.cpp
+++ b/kaddressbook/views/kaddressbookiconview.cpp
@@ -60,7 +60,7 @@ extern "C" {
}
AddresseeIconView::AddresseeIconView( TQWidget *parent, const char *name )
- : KIconView( parent, name )
+ : TDEIconView( parent, name )
{
setSelectionMode( TQIconView::Extended );
setResizeMode( TQIconView::Adjust );
@@ -68,7 +68,7 @@ AddresseeIconView::AddresseeIconView( TQWidget *parent, const char *name )
setGridX( 100 );
setItemsMovable( false );
setSorting( true, true );
- setMode( KIconView::Select );
+ setMode( TDEIconView::Select );
connect( this, TQT_SIGNAL( dropped( TQDropEvent*, const TQValueList<TQIconDragItem>& ) ),
this, TQT_SLOT( itemDropped( TQDropEvent*, const TQValueList<TQIconDragItem>& ) ) );
@@ -92,12 +92,12 @@ TQDragObject *AddresseeIconView::dragObject()
}
-class AddresseeIconViewItem : public KIconViewItem
+class AddresseeIconViewItem : public TDEIconViewItem
{
public:
AddresseeIconViewItem( const KABC::Field::List&, KABC::AddressBook *doc,
const KABC::Addressee &addr, TQIconView *parent )
- : KIconViewItem( parent ), mDocument( doc ), mAddressee( addr )
+ : TDEIconViewItem( parent ), mDocument( doc ), mAddressee( addr )
{
refresh();
}
@@ -112,7 +112,7 @@ class AddresseeIconViewItem : public KIconViewItem
setText( mAddressee.givenName() + " " + mAddressee.familyName() );
TQPixmap icon;
- TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", KIcon::Desktop ) );
+ TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", TDEIcon::Desktop ) );
KABC::Picture pic = mAddressee.photo();
if ( pic.data().isNull() )
pic = mAddressee.logo();
diff --git a/kaddressbook/views/kaddressbookiconview.h b/kaddressbook/views/kaddressbookiconview.h
index 56984cfc5..4cf585b35 100644
--- a/kaddressbook/views/kaddressbookiconview.h
+++ b/kaddressbook/views/kaddressbookiconview.h
@@ -36,7 +36,7 @@ class AddresseeIconViewItem;
namespace KABC { class AddressBook; }
/** This is an example kaddressbook view that is implemented using
-* KIconView. This view is not the most useful view, but it displays
+* TDEIconView. This view is not the most useful view, but it displays
* how simple implementing a new view can be.
*/
class KAddressBookIconView : public KAddressBookView
@@ -73,7 +73,7 @@ class KAddressBookIconView : public KAddressBookView
};
-class AddresseeIconView : public KIconView
+class AddresseeIconView : public TDEIconView
{
Q_OBJECT