[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdetoys/kworldwatch
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2003-08-12 8:40:42
[Download RAW message or body]
CVS commit by aseigo:
export the menu to the applet handle.
M +1 -0 applet.cpp 1.6
M +3 -3 mapwidget.h 1.5
--- kdetoys/kworldwatch/applet.cpp #1.5:1.6
@@ -37,4 +37,5 @@ KWWApplet::KWWApplet(const QString& conf
map->load(config());
vbox->addWidget(map);
+ setCustomMenu(map->contextMenu());
}
--- kdetoys/kworldwatch/mapwidget.h #1.4:1.5
@@ -48,5 +48,5 @@ public:
QPixmap getPixmap();
-
+ QPopupMenu* contextMenu() { return _popup; }
signals:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic