summaryrefslogtreecommitdiffabout
path: root/microkde/kdeui/kpopupmenu.h
blob: 1c903ad6ee1cab5de026c2b1a42a063f6d4273e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef KPOPUPMENU_H
#define KPOPUPMENU_H

#include <q3popupmenu.h>
//Added by qt3to4:
#include <QFocusEvent>
#ifdef DESKTOP_VERSION
#include <qmenubar.h>
#define QPEMenuBar QMenuBar
#else
#include <qpe/qpemenubar.h>
#endif

class KPopupMenu : public Q3PopupMenu
{
Q_OBJECT
    public:
    KPopupMenu ( QWidget * parent=0, const char * name=0 );

};


class KMenuBar : public QPEMenuBar
{
Q_OBJECT
    public:
    KMenuBar ( QWidget * parent=0, const char * name=0 );
 signals:
  void lostFocus();
 protected:
  void focusOutEvent ( QFocusEvent * e);
};

#endif