blob: 42d6f659f815f9a33fb959280e4504566a8aefb9 (
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 )
{
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();
}
|