You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kdeui/tests/kedittest.cpp

15 lines
339 B

#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();
}