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/tdeui/tests/kedittest.cpp

15 lines
346 B

#include <tdeapplication.h>
#include <keditcl.h>
#include <tqpopupmenu.h>
int main( int argc, char **argv )
{
TDEApplication 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();
}