summaryrefslogtreecommitdiffstats
path: root/kaddressbook/editors
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kaddressbook/editors
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kaddressbook/editors')
-rw-r--r--kaddressbook/editors/imeditorbase.ui2
-rw-r--r--kaddressbook/editors/imeditorwidget.cpp6
-rw-r--r--kaddressbook/editors/imeditorwidget.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/editors/imeditorbase.ui b/kaddressbook/editors/imeditorbase.ui
index 40270b504..de9fff558 100644
--- a/kaddressbook/editors/imeditorbase.ui
+++ b/kaddressbook/editors/imeditorbase.ui
@@ -82,7 +82,7 @@
<string>&amp;Add...</string>
</property>
</widget>
- <widget class="KListView" row="0" column="0" rowspan="5" colspan="1">
+ <widget class="TDEListView" row="0" column="0" rowspan="5" colspan="1">
<column>
<property name="text">
<string>Protocol</string>
diff --git a/kaddressbook/editors/imeditorwidget.cpp b/kaddressbook/editors/imeditorwidget.cpp
index c8047d909..45523de54 100644
--- a/kaddressbook/editors/imeditorwidget.cpp
+++ b/kaddressbook/editors/imeditorwidget.cpp
@@ -43,9 +43,9 @@
#include "imeditorwidget.h"
-IMAddressLVI::IMAddressLVI( KListView *parent, KPluginInfo *protocol,
+IMAddressLVI::IMAddressLVI( TDEListView *parent, KPluginInfo *protocol,
const TQString &address, const IMContext &context )
- : KListViewItem( parent )
+ : TDEListViewItem( parent )
{
setProtocol( protocol );
setAddress( address );
@@ -72,7 +72,7 @@ void IMAddressLVI::paintCell( TQPainter *p, const TQColorGroup &cg,
p->setFont( font );
}
- KListViewItem::paintCell( p, cg, column, width, alignment );
+ TDEListViewItem::paintCell( p, cg, column, width, alignment );
}
void IMAddressLVI::setAddress( const TQString &address )
diff --git a/kaddressbook/editors/imeditorwidget.h b/kaddressbook/editors/imeditorwidget.h
index cca9b0643..62fb36dfc 100644
--- a/kaddressbook/editors/imeditorwidget.h
+++ b/kaddressbook/editors/imeditorwidget.h
@@ -97,10 +97,10 @@ class IMEditorWidget : public KDialogBase
*/
// VCard has been disabled as there is no standard VCard location to store IM addresses yet.
-class IMAddressLVI : public KListViewItem
+class IMAddressLVI : public TDEListViewItem
{
public:
- IMAddressLVI( KListView *parent, KPluginInfo * protocol,
+ IMAddressLVI( TDEListView *parent, KPluginInfo * protocol,
const TQString &address, const IMContext &context = Any );
void setAddress( const TQString &address );