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.
15 lines
342 B
15 lines
342 B
15 years ago
|
#include <kapplication.h>
|
||
|
#include <keditcl.h>
|
||
15 years ago
|
#include <tqpopupmenu.h>
|
||
15 years ago
|
|
||
|
int main( int argc, char **argv )
|
||
|
{
|
||
|
KApplication app( argc, argv, "kedittest" );
|
||
|
KEdit *edit = new KEdit( 0L );
|
||
15 years ago
|
TQPopupMenu *pop = new TQPopupMenu( 0L );
|
||
15 years ago
|
pop->insertItem( "Popupmenu item" );
|
||
|
edit->installRBPopup( pop );
|
||
|
edit->show();
|
||
|
return app.exec();
|
||
|
}
|