summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kedittest.cpp
blob: 271923e18f0226fc99803c20fb07f637bd3f53c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <kapplication.h>
#include <keditcl.h>
#include <qpopupmenu.h>

int main( int argc, char **argv )
{
  KApplication app( argc, argv, "kedittest" );
  KEdit *edit = new KEdit( 0L );
  QPopupMenu *pop = new QPopupMenu( 0L );
  pop->insertItem( "Popupmenu item" );
  edit->installRBPopup( pop );
  edit->show();
  return app.exec();
}