From f537c21b68e08f649b1b297bce8f3904603137e0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:11:21 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kate/utils/listboxview.cpp | 8 ++++---- kate/utils/listboxview.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kate/utils') diff --git a/kate/utils/listboxview.cpp b/kate/utils/listboxview.cpp index a71ea038b..a3f56700f 100644 --- a/kate/utils/listboxview.cpp +++ b/kate/utils/listboxview.cpp @@ -26,7 +26,7 @@ namespace Kate { // private storage class ListboxViewPrivate { public: - KListBox *listbox; + TDEListBox *listbox; }; } @@ -35,14 +35,14 @@ Kate::ListboxView::ListboxView( TQWidget *parent, const char *name ) : Kate::DockViewBase( parent, name), d( new Kate::ListboxViewPrivate) { - d->listbox = new KListBox( this ); + d->listbox = new TDEListBox( this ); } Kate::ListboxView::ListboxView( const TQString &titlePrefix, const TQString &title, TQWidget *parent, const char *name ) : Kate::DockViewBase( titlePrefix, title, parent, name), d( new Kate::ListboxViewPrivate) { - d->listbox = new KListBox( this ); + d->listbox = new TDEListBox( this ); } Kate::ListboxView::~ListboxView() @@ -50,7 +50,7 @@ Kate::ListboxView::~ListboxView() delete d; } -KListBox *Kate::ListboxView::listbox() +TDEListBox *Kate::ListboxView::listbox() { return d->listbox; } diff --git a/kate/utils/listboxview.h b/kate/utils/listboxview.h index 7fee0d808..a9194632d 100644 --- a/kate/utils/listboxview.h +++ b/kate/utils/listboxview.h @@ -21,7 +21,7 @@ #include "dockviewbase.h" -class KListBox; +class TDEListBox; namespace Kate { @@ -33,7 +33,7 @@ class ListboxView : public DockViewBase { ListboxView( const TQString &titlePrefix, const TQString &title, TQWidget *parent=0, const char *name=0 ); ~ListboxView(); - KListBox * listbox(); + TDEListBox * listbox(); private: class ListboxViewPrivate *d; -- cgit v1.2.1