summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/klineeditdlgtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/klineeditdlgtest.cpp')
-rw-r--r--tdeui/tests/klineeditdlgtest.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/tdeui/tests/klineeditdlgtest.cpp b/tdeui/tests/klineeditdlgtest.cpp
new file mode 100644
index 000000000..e43085c0c
--- /dev/null
+++ b/tdeui/tests/klineeditdlgtest.cpp
@@ -0,0 +1,19 @@
+#include <kapplication.h>
+#include <klineeditdlg.h>
+
+#include <tqstring.h>
+#include <tqtextview.h>
+
+int main(int argc, char** argv)
+{
+ KApplication app(argc, argv, "klineedittest");
+ KLineEditDlg dialog( "_text", "_value", 0L );
+ if(dialog.exec())
+ {
+ qDebug("Accepted.");
+ } else {
+ qDebug("Rejected.");
+ }
+ return 0;
+}
+