summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kinputdialogtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kinputdialogtest.cpp')
-rw-r--r--kdeui/tests/kinputdialogtest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeui/tests/kinputdialogtest.cpp b/kdeui/tests/kinputdialogtest.cpp
index 3f9509a40..66db4617a 100644
--- a/kdeui/tests/kinputdialogtest.cpp
+++ b/kdeui/tests/kinputdialogtest.cpp
@@ -7,15 +7,15 @@
#include <kinputdialog.h>
#include <kdebug.h>
-#include <qstring.h>
-#include <qvalidator.h>
+#include <tqstring.h>
+#include <tqvalidator.h>
int main( int argc, char *argv[] )
{
KApplication app( argc, argv, "kinputdialogtest" );
bool ok;
- QString svalue;
+ TQString svalue;
int ivalue;
double dvalue;
@@ -23,7 +23,7 @@ int main( int argc, char *argv[] )
kdDebug() << "value1: " << svalue << ", ok: " << ok << endl;
svalue = KInputDialog::getText( "_caption", "_label:", "_value", &ok, 0L, 0L,
- &QRegExpValidator( QRegExp( "[0-9]{3}\\-[0-9]{3}\\-[0-9]{4}" ), 0L ) );
+ &TQRegExpValidator( TQRegExp( "[0-9]{3}\\-[0-9]{3}\\-[0-9]{4}" ), 0L ) );
kdDebug() << "value2: " << svalue << ", ok: " << ok << endl;
svalue = KInputDialog::getText( "_caption", "_label:", "_value", &ok, 0L, 0L,
@@ -45,7 +45,7 @@ int main( int argc, char *argv[] )
dvalue = KInputDialog::getDouble( "_caption", "_label:", 10, 0, 100, 2, &ok );
kdDebug() << "value6: " << dvalue << ", ok: " << ok << endl;
- QStringList list, slvalue;
+ TQStringList list, slvalue;
list << "Item 1" << "Item 2" << "Item 3" << "Item 4" << "Item 5";
svalue = KInputDialog::getItem( "_caption", "_label:", list, 1, false, &ok );
kdDebug() << "value7: " << svalue << ", ok: " << ok << endl;
@@ -53,7 +53,7 @@ int main( int argc, char *argv[] )
svalue = KInputDialog::getItem( "_caption", "_label:", list, 1, true, &ok );
kdDebug() << "value8: " << svalue << ", ok: " << ok << endl;
- QStringList select;
+ TQStringList select;
select << "Item 3";
list << "Item 6" << "Item 7" << "Item 8" << "Item 9" << "Item 10";
slvalue = KInputDialog::getItemList( "_caption", "_label:", list, select,