diff options
Diffstat (limited to 'kdeui/tests/kedittest.cpp')
-rw-r--r-- | kdeui/tests/kedittest.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kdeui/tests/kedittest.cpp b/kdeui/tests/kedittest.cpp new file mode 100644 index 000000000..271923e18 --- /dev/null +++ b/kdeui/tests/kedittest.cpp @@ -0,0 +1,14 @@ +#include <kapplication.h> +#include <keditcl.h> +#include <qpopupmenu.h> + +int main( int argc, char **argv ) +{ + KApplication app( argc, argv, "kedittest" ); + KEdit *edit = new KEdit( 0L ); + QPopupMenu *pop = new QPopupMenu( 0L ); + pop->insertItem( "Popupmenu item" ); + edit->installRBPopup( pop ); + edit->show(); + return app.exec(); +} |