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
342 B

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