diff options
Diffstat (limited to 'kopete/kopete/contactlist')
-rw-r--r-- | kopete/kopete/contactlist/kopetegvipropswidget.ui | 4 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetelviprops.cpp | 12 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetemetacontactlvi.cpp | 12 | ||||
-rw-r--r-- | kopete/kopete/contactlist/kopetemetalvipropswidget.ui | 8 |
4 files changed, 18 insertions, 18 deletions
diff --git a/kopete/kopete/contactlist/kopetegvipropswidget.ui b/kopete/kopete/contactlist/kopetegvipropswidget.ui index 6e13abba..90eecf6c 100644 --- a/kopete/kopete/contactlist/kopetegvipropswidget.ui +++ b/kopete/kopete/contactlist/kopetegvipropswidget.ui @@ -71,7 +71,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="KIconButton" row="1" column="1"> + <widget class="TDEIconButton" row="1" column="1"> <property name="name"> <cstring>icnbOpen</cstring> </property> @@ -101,7 +101,7 @@ <cstring>icnbClosed</cstring> </property> </widget> - <widget class="KIconButton" row="2" column="1"> + <widget class="TDEIconButton" row="2" column="1"> <property name="name"> <cstring>icnbClosed</cstring> </property> diff --git a/kopete/kopete/contactlist/kopetelviprops.cpp b/kopete/kopete/contactlist/kopetelviprops.cpp index f64af84d..d05bd12f 100644 --- a/kopete/kopete/contactlist/kopetelviprops.cpp +++ b/kopete/kopete/contactlist/kopetelviprops.cpp @@ -69,8 +69,8 @@ KopeteGVIProps::KopeteGVIProps(KopeteGroupViewItem *gvi, TQWidget *parent, const : KDialogBase(parent, name, true, i18n("Properties of Group %1").arg(gvi->group()->displayName()), Ok|Cancel, Ok, false) { mainWidget = new KopeteGVIPropsWidget(this, "mainWidget"); - mainWidget->icnbOpen->setIconSize(KIcon::SizeSmall); - mainWidget->icnbClosed->setIconSize(KIcon::SizeSmall); + mainWidget->icnbOpen->setIconSize(TDEIcon::SizeSmall); + mainWidget->icnbClosed->setIconSize(TDEIcon::SizeSmall); mNotificationProps = new CustomNotificationProps( this, gvi->group() ); mainWidget->tabWidget->addTab( mNotificationProps->widget(), i18n( "Custom &Notifications" ) ); @@ -150,10 +150,10 @@ KopeteMetaLVIProps::KopeteMetaLVIProps(KopeteMetaContactLVI *lvi, TQWidget *pare { m_countPhotoCapable = 0; mainWidget = new KopeteMetaLVIPropsWidget( this, "mainWidget" ); - mainWidget->icnbOffline->setIconSize( KIcon::SizeSmall ); - mainWidget->icnbOnline->setIconSize( KIcon::SizeSmall ); - mainWidget->icnbAway->setIconSize( KIcon::SizeSmall ); - mainWidget->icnbUnknown->setIconSize( KIcon::SizeSmall ); + mainWidget->icnbOffline->setIconSize( TDEIcon::SizeSmall ); + mainWidget->icnbOnline->setIconSize( TDEIcon::SizeSmall ); + mainWidget->icnbAway->setIconSize( TDEIcon::SizeSmall ); + mainWidget->icnbUnknown->setIconSize( TDEIcon::SizeSmall ); mNotificationProps = new CustomNotificationProps( this, lvi->metaContact() ); // add a button to the notification props to get the sound from KABC diff --git a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp index 374c92bc..b791dc5b 100644 --- a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp +++ b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp @@ -254,7 +254,7 @@ void KopeteMetaContactLVI::initLVI() mIsBlinkIcon = false; //if ( !mBlinkIcon ) - // mBlinkIcon = new TQPixmap( TDEGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "newmsg" ), KIcon::Small ) ); + // mBlinkIcon = new TQPixmap( TDEGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "newmsg" ), TDEIcon::Small ) ); slotConfigChanged(); // this calls slotIdleStateChanged(), which sets up the constituent components, spacing, fonts and indirectly, the contact icon slotDisplayNameChanged(); @@ -515,7 +515,7 @@ void KopeteMetaContactLVI::slotPhotoChanged() { m_oldStatusIcon= d->metaContactIcon->pixmap(); TQPixmap photoPixmap; - //TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", KIcon::Desktop ) ); + //TQPixmap defaultIcon( TDEGlobal::iconLoader()->loadIcon( "vcard", TDEIcon::Desktop ) ); TQImage photoImg = m_metaContact->photo(); if ( !photoImg.isNull() && (photoImg.width() > 0) && (photoImg.height() > 0) ) { @@ -716,9 +716,9 @@ void KopeteMetaContactLVI::setDisplayMode( int mode, int iconmode ) d->metaContactIcon = 0L; d->contactIconSize = 12; if (mode == KopetePrefs::Detailed) { - d->iconSize = iconmode == KopetePrefs::IconPic ? KIcon::SizeMedium : KIcon::SizeLarge; + d->iconSize = iconmode == KopetePrefs::IconPic ? TDEIcon::SizeMedium : TDEIcon::SizeLarge; } else { - d->iconSize = iconmode == KopetePrefs::IconPic ? IconSize( KIcon::Small ) : KIcon::SizeMedium; + d->iconSize = iconmode == KopetePrefs::IconPic ? IconSize( TDEIcon::Small ) : TDEIcon::SizeMedium; } disconnect( Kopete::KABCPersistence::self()->addressBook() , 0 , this , 0); @@ -747,7 +747,7 @@ void KopeteMetaContactLVI::setDisplayMode( int mode, int iconmode ) if( mode == KopetePrefs::Detailed ) { - d->contactIconSize = IconSize( KIcon::Small ); + d->contactIconSize = IconSize( TDEIcon::Small ); Component *vbox = new BoxComponent( hbox, BoxComponent::Vertical ); d->nameText = new DisplayNameComponent( vbox ); d->extraText = new DisplayNameComponent( vbox ); @@ -1000,7 +1000,7 @@ void KopeteMetaContactLVI::slotIdleStateChanged( Kopete::Contact *c ) if ( doWeHaveToGrayThatContact ) { // TODO: TQPixmapCache this result - KIconEffect::semiTransparent( icon ); + TDEIconEffect::semiTransparent( icon ); } d->metaContactIcon->setPixmap( icon ); diff --git a/kopete/kopete/contactlist/kopetemetalvipropswidget.ui b/kopete/kopete/contactlist/kopetemetalvipropswidget.ui index 718a3ae9..d9d85bd4 100644 --- a/kopete/kopete/contactlist/kopetemetalvipropswidget.ui +++ b/kopete/kopete/contactlist/kopetemetalvipropswidget.ui @@ -455,7 +455,7 @@ <string>Check to set custom icons for this contact</string> </property> </widget> - <widget class="KIconButton" row="2" column="1"> + <widget class="TDEIconButton" row="2" column="1"> <property name="name"> <cstring>icnbAway</cstring> </property> @@ -463,7 +463,7 @@ <string></string> </property> </widget> - <widget class="KIconButton" row="1" column="1"> + <widget class="TDEIconButton" row="1" column="1"> <property name="name"> <cstring>icnbOnline</cstring> </property> @@ -471,7 +471,7 @@ <string></string> </property> </widget> - <widget class="KIconButton" row="1" column="3"> + <widget class="TDEIconButton" row="1" column="3"> <property name="name"> <cstring>icnbOffline</cstring> </property> @@ -479,7 +479,7 @@ <string></string> </property> </widget> - <widget class="KIconButton" row="2" column="3"> + <widget class="TDEIconButton" row="2" column="3"> <property name="name"> <cstring>icnbUnknown</cstring> </property> |