summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/contactlist/kopetemetacontactlvi.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/kopete/contactlist/kopetemetacontactlvi.cpp
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kopete/kopete/contactlist/kopetemetacontactlvi.cpp')
-rw-r--r--kopete/kopete/contactlist/kopetemetacontactlvi.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp
index 3f2165c4..19529351 100644
--- a/kopete/kopete/contactlist/kopetemetacontactlvi.cpp
+++ b/kopete/kopete/contactlist/kopetemetacontactlvi.cpp
@@ -1,5 +1,5 @@
/*
- kopetemetacontactlvi.cpp - Kopete Meta Contact KListViewItem
+ kopetemetacontactlvi.cpp - Kopete Meta Contact TDEListViewItem
Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
Copyright (c) 2002-2004 by Martijn Klingens <klingens@kde.org>
@@ -169,7 +169,7 @@ public:
KopeteMetaContactLVI::KopeteMetaContactLVI( Kopete::MetaContact *contact, KopeteGroupViewItem *parent )
: ListView::Item( parent, contact, "MetaContactLVI" )
-//: TQObject( contact, "MetaContactLVI" ), KListViewItem( parent )
+//: TQObject( contact, "MetaContactLVI" ), TDEListViewItem( parent )
{
m_metaContact = contact;
m_isTopLevel = false;
@@ -182,7 +182,7 @@ KopeteMetaContactLVI::KopeteMetaContactLVI( Kopete::MetaContact *contact, Kopete
KopeteMetaContactLVI::KopeteMetaContactLVI( Kopete::MetaContact *contact, TQListViewItem *parent )
: ListView::Item( parent, contact, "MetaContactLVI" )
-//: TQObject( contact, "MetaContactLVI" ), KListViewItem( parent )
+//: TQObject( contact, "MetaContactLVI" ), TDEListViewItem( parent )
{
m_metaContact = contact;
@@ -195,7 +195,7 @@ KopeteMetaContactLVI::KopeteMetaContactLVI( Kopete::MetaContact *contact, TQList
KopeteMetaContactLVI::KopeteMetaContactLVI( Kopete::MetaContact *contact, TQListView *parent )
: ListView::Item( parent, contact, "MetaContactLVI" )
-//: TQObject( contact, "MetaContactLVI" ), KListViewItem( parent )
+//: TQObject( contact, "MetaContactLVI" ), TDEListViewItem( parent )
{
m_metaContact = contact;
@@ -280,13 +280,13 @@ void KopeteMetaContactLVI::movedToDifferentGroup()
// create a spacer if wanted
// I assume that the safety property that allows the delete in slotConfigChanged holds here - Will
delete d->spacerBox->component( 0 );
- if ( KListViewItem::parent() && KopetePrefs::prefs()->contactListIndentContacts() &&
+ if ( TDEListViewItem::parent() && KopetePrefs::prefs()->contactListIndentContacts() &&
!KopetePrefs::prefs()->treeView() )
{
new ListView::SpacerComponent( d->spacerBox, 20, 0 );
}
- KopeteGroupViewItem *group_item = dynamic_cast<KopeteGroupViewItem*>(KListViewItem::parent());
+ KopeteGroupViewItem *group_item = dynamic_cast<KopeteGroupViewItem*>(TDEListViewItem::parent());
if ( group_item )
{
m_isTopLevel = false;
@@ -582,18 +582,18 @@ void KopeteMetaContactLVI::slotRemoveFromGroup()
void KopeteMetaContactLVI::startRename( int /*col*/ )
{
- KListViewItem::startRename( 0 );
+ TDEListViewItem::startRename( 0 );
}
void KopeteMetaContactLVI::okRename( int col )
{
- KListViewItem::okRename( col );
+ TDEListViewItem::okRename( col );
setRenameEnabled( 0, false );
}
void KopeteMetaContactLVI::cancelRename( int col )
{
- KListViewItem::cancelRename( col );
+ TDEListViewItem::cancelRename( col );
setRenameEnabled( 0, false );
}
@@ -658,7 +658,7 @@ void KopeteMetaContactLVI::slotConfigChanged()
// create a spacer if wanted
delete d->spacerBox->component( 0 );
- if ( KListViewItem::parent() && KopetePrefs::prefs()->contactListIndentContacts() &&
+ if ( TDEListViewItem::parent() && KopetePrefs::prefs()->contactListIndentContacts() &&
!KopetePrefs::prefs()->treeView() )
{
new ListView::SpacerComponent( d->spacerBox, 20, 0 );
@@ -1094,7 +1094,7 @@ TQString KopeteMetaContactLVI::text( int column ) const
if ( column == 0 )
return d->nameText->text();
else
- return KListViewItem::text( column );
+ return TDEListViewItem::text( column );
}
void KopeteMetaContactLVI::setText( int column, const TQString &text )
@@ -1102,7 +1102,7 @@ void KopeteMetaContactLVI::setText( int column, const TQString &text )
if ( column == 0 )
rename( text );
else
- KListViewItem::setText( column, text );
+ TDEListViewItem::setText( column, text );
}
#include "kopetemetacontactlvi.moc"