summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kedittest.cpp
blob: f806c3bdffc4a08c7c2cf603ece7eadf4277e2c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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();
}