author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/kdeui/kpopupmenu.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'microkde/kdeui/kpopupmenu.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | microkde/kdeui/kpopupmenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/microkde/kdeui/kpopupmenu.cpp b/microkde/kdeui/kpopupmenu.cpp index 96d2a87..7e1503c 100644 --- a/microkde/kdeui/kpopupmenu.cpp +++ b/microkde/kdeui/kpopupmenu.cpp | |||
@@ -1,19 +1,22 @@ | |||
1 | 1 | ||
2 | #include <kpopupmenu.h> | 2 | #include <kpopupmenu.h> |
3 | #include <qtimer.h> | 3 | #include <qtimer.h> |
4 | //Added by qt3to4: | ||
5 | #include <QFocusEvent> | ||
6 | #include <Q3PopupMenu> | ||
4 | 7 | ||
5 | 8 | ||
6 | KPopupMenu::KPopupMenu ( QWidget * parent, const char * name ) | 9 | KPopupMenu::KPopupMenu ( QWidget * parent, const char * name ) |
7 | : QPopupMenu ( parent, name ) {;} | 10 | : Q3PopupMenu ( parent, name ) {;} |
8 | 11 | ||
9 | 12 | ||
10 | 13 | ||
11 | KMenuBar::KMenuBar ( QWidget * parent, const char * name ) | 14 | KMenuBar::KMenuBar ( QWidget * parent, const char * name ) |
12 | : QPEMenuBar ( parent, name ) {} | 15 | : QPEMenuBar ( parent, name ) {} |
13 | 16 | ||
14 | void KMenuBar::focusOutEvent ( QFocusEvent * e) | 17 | void KMenuBar::focusOutEvent ( QFocusEvent * e) |
15 | { | 18 | { |
16 | QPEMenuBar::focusOutEvent( e ); | 19 | QPEMenuBar::focusOutEvent( e ); |
17 | QTimer::singleShot( 100, this, SIGNAL ( lostFocus() ) ); | 20 | QTimer::singleShot( 100, this, SIGNAL ( lostFocus() ) ); |
18 | 21 | ||
19 | } | 22 | } |