summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kedittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kedittest.cpp')
-rw-r--r--tdeui/tests/kedittest.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tdeui/tests/kedittest.cpp b/tdeui/tests/kedittest.cpp
new file mode 100644
index 000000000..17a593e74
--- /dev/null
+++ b/tdeui/tests/kedittest.cpp
@@ -0,0 +1,14 @@
+#include <kapplication.h>
+#include <keditcl.h>
+#include <tqpopupmenu.h>
+
+int main( int argc, char **argv )
+{
+ KApplication app( argc, argv, "kedittest" );
+ KEdit *edit = new KEdit( 0L );
+ TQPopupMenu *pop = new TQPopupMenu( 0L );
+ pop->insertItem( "Popupmenu item" );
+ edit->installRBPopup( pop );
+ edit->show();
+ return app.exec();
+}