diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
commit | 9e5c87c89567a98c3344c90e392a27715437334c (patch) | |
tree | 6c1dd96ae0ba38b7e8f0a492d591881f44f474da /kregexpeditor/KMultiFormListBox | |
parent | 53904b41cf005abbae3d468532db9adc2b04a9b4 (diff) | |
download | tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kregexpeditor/KMultiFormListBox')
4 files changed, 9 insertions, 9 deletions
diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp index 35627d6..29f2ea3 100644 --- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp +++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.cpp @@ -37,7 +37,7 @@ KMultiFormListBoxWindowed::KMultiFormListBoxWindowed(KMultiFormListBoxFactory *f TQHBoxLayout *innerLayout = new TQHBoxLayout(); _layout->addLayout(innerLayout); - _listbox = new KListBox(this,"listbox"); + _listbox = new TDEListBox(this,"listbox"); _listbox->setSelectionMode(TQListBox::Single); innerLayout->addWidget(_listbox); diff --git a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h index b2c0484..9e7c38d 100644 --- a/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h +++ b/kregexpeditor/KMultiFormListBox/tdemultiformlistbox-windowed.h @@ -56,7 +56,7 @@ private: TQVBoxLayout* _layout; KMultiFormListBoxFactory* _factory; TQPtrList<TQPushButton> _buttonList; - KListBox* _listbox; + TDEListBox* _listbox; virtual void delElement(TQWidget *); // Deletes the given element virtual void delAnElement(); void addElement(); diff --git a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp index 73bfcd6..9b055a3 100644 --- a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp +++ b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp @@ -19,19 +19,19 @@ #include "windowlistboxitem.h" #include <iostream> -WidgetWindow::WidgetWindow(KMultiFormListBoxFactory *factory, KListBox *lb) +WidgetWindow::WidgetWindow(KMultiFormListBoxFactory *factory, TDEListBox *lb) :KDialogBase(Plain, i18n("Widget Configuration"), Ok | Cancel, Ok, 0, "ConfigWindow", false) { init(factory, lb); } -WidgetWindow::WidgetWindow(KMultiFormListBoxFactory *factory, KMultiFormListBoxEntry *widget, KListBox *lb) +WidgetWindow::WidgetWindow(KMultiFormListBoxFactory *factory, KMultiFormListBoxEntry *widget, TDEListBox *lb) :KDialogBase(Plain, i18n("Widget Configuration"), Ok | Cancel, Ok, 0, "ConfigWindow", false) { init(factory, lb, widget); } -void WidgetWindow::init(KMultiFormListBoxFactory *factory, KListBox *lb, KMultiFormListBoxEntry *widget) +void WidgetWindow::init(KMultiFormListBoxFactory *factory, TDEListBox *lb, KMultiFormListBoxEntry *widget) { listbox = lb; myFact = factory; diff --git a/kregexpeditor/KMultiFormListBox/widgetwindow.h b/kregexpeditor/KMultiFormListBox/widgetwindow.h index 2312653..e8998ec 100644 --- a/kregexpeditor/KMultiFormListBox/widgetwindow.h +++ b/kregexpeditor/KMultiFormListBox/widgetwindow.h @@ -36,9 +36,9 @@ class WidgetWindow :public KDialogBase friend class KMultiFormListBoxWindowed; friend class WindowListboxItem; - WidgetWindow(KMultiFormListBoxFactory *, KListBox *); - WidgetWindow(KMultiFormListBoxFactory *, KMultiFormListBoxEntry *widget, KListBox *); - void init(KMultiFormListBoxFactory *, KListBox *, KMultiFormListBoxEntry *widget = 0); + WidgetWindow(KMultiFormListBoxFactory *, TDEListBox *); + WidgetWindow(KMultiFormListBoxFactory *, KMultiFormListBoxEntry *widget, TDEListBox *); + void init(KMultiFormListBoxFactory *, TDEListBox *, KMultiFormListBoxEntry *widget = 0); void display(); KMultiFormListBoxEntry *entry(); WidgetWindow *clone(); @@ -52,7 +52,7 @@ private: KMultiFormListBoxFactory *myFact; KMultiFormListBoxEntry *myWidget; TQByteArray _backup; - KListBox *listbox; + TDEListBox *listbox; WindowListboxItem *myListboxItem; bool initialShow; }; |