summaryrefslogtreecommitdiffstats
path: root/kdialog
diff options
context:
space:
mode:
Diffstat (limited to 'kdialog')
-rw-r--r--kdialog/kdialog.cpp2
-rw-r--r--kdialog/klistboxdialog.cpp8
-rw-r--r--kdialog/klistboxdialog.h6
-rw-r--r--kdialog/widgets.cpp6
4 files changed, 11 insertions, 11 deletions
diff --git a/kdialog/kdialog.cpp b/kdialog/kdialog.cpp
index a482a2c15..2f365c129 100644
--- a/kdialog/kdialog.cpp
+++ b/kdialog/kdialog.cpp
@@ -512,7 +512,7 @@ static int directCommand(TDECmdLineArgs *args)
} else { // getsavefilename
TQString result = dlg.selectedFile();
if (!result.isEmpty()) {
- KRecentDocument::add(result);
+ TDERecentDocument::add(result);
cout << result.local8Bit().data() << endl;
return 0;
}
diff --git a/kdialog/klistboxdialog.cpp b/kdialog/klistboxdialog.cpp
index d7abfb694..65be6c71e 100644
--- a/kdialog/klistboxdialog.cpp
+++ b/kdialog/klistboxdialog.cpp
@@ -26,7 +26,7 @@
#include "klocale.h"
-KListBoxDialog::KListBoxDialog(TQString text, TQWidget *parent)
+TDEListBoxDialog::TDEListBoxDialog(TQString text, TQWidget *parent)
: KDialogBase( parent, 0, true, TQString::null, Ok|Cancel, Ok, true )
{
TQVBox *page = makeVBoxMainWidget();
@@ -38,13 +38,13 @@ KListBoxDialog::KListBoxDialog(TQString text, TQWidget *parent)
table->setFocus();
}
-void KListBoxDialog::insertItem(const TQString& item)
+void TDEListBoxDialog::insertItem(const TQString& item)
{
table->insertItem(item);
table->setCurrentItem(0);
}
-void KListBoxDialog::setCurrentItem(const TQString& item)
+void TDEListBoxDialog::setCurrentItem(const TQString& item)
{
for ( int i=0; i < (int) table->count(); i++ ) {
if ( table->text(i) == item ) {
@@ -54,7 +54,7 @@ void KListBoxDialog::setCurrentItem(const TQString& item)
}
}
-int KListBoxDialog::currentItem()
+int TDEListBoxDialog::currentItem()
{
return table->currentItem();
}
diff --git a/kdialog/klistboxdialog.h b/kdialog/klistboxdialog.h
index fb73383f1..37d77f142 100644
--- a/kdialog/klistboxdialog.h
+++ b/kdialog/klistboxdialog.h
@@ -23,14 +23,14 @@
#include <kdialogbase.h>
-class KListBoxDialog : public KDialogBase
+class TDEListBoxDialog : public KDialogBase
{
Q_OBJECT
public:
- KListBoxDialog(TQString text, TQWidget *parent=0);
- ~KListBoxDialog() {};
+ TDEListBoxDialog(TQString text, TQWidget *parent=0);
+ ~TDEListBoxDialog() {};
TQListBox &getTable() { return *table; };
diff --git a/kdialog/widgets.cpp b/kdialog/widgets.cpp
index 536ffadce..1563a817b 100644
--- a/kdialog/widgets.cpp
+++ b/kdialog/widgets.cpp
@@ -175,7 +175,7 @@ bool Widgets::comboBox(TQWidget *parent, const TQString& title, const TQString&
bool Widgets::listBox(TQWidget *parent, const TQString& title, const TQString& text, const TQStringList& args,
const TQString& defaultEntry, TQString &result)
{
- KListBoxDialog box(text,parent);
+ TDEListBoxDialog box(text,parent);
kapp->setTopWidget( &box );
box.setCaption(title);
@@ -201,7 +201,7 @@ bool Widgets::checkList(TQWidget *parent, const TQString& title, const TQString&
result.clear();
- KListBoxDialog box(text,parent);
+ TDEListBoxDialog box(text,parent);
TQListBox &table = box.getTable();
@@ -245,7 +245,7 @@ bool Widgets::radioBox(TQWidget *parent, const TQString& title, const TQString&
{
TQStringList entries, tags;
- KListBoxDialog box(text,parent);
+ TDEListBoxDialog box(text,parent);
TQListBox &table = box.getTable();