blob: 17a593e74f92ac795494d5d5a2b8306aad2d8181 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#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();
}
|