[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu May 20 17:11:26 CEST 2004


CVS commit by staikos: 

restore TODOs and fix a return code


  M +4 -3      kstplotgroup.cpp   1.9


--- kdeextragear-2/kst/kst/kstplotgroup.cpp  #1.8:1.9
@@ -26,5 +26,5 @@
 KstPlotGroup::KstPlotGroup() : KstMetaPlot("KstPlotGroup") {
   _standardActions |= Delete | Raise | Lower | RaiseToTop | LowerToBottom;
-  setTagName("Plot Group");
+  setTagName("Plot Group"); // FIXME: we need a better naming scheme
 }
 
@@ -91,10 +91,11 @@ void KstPlotGroup::paint(QPainter& p) {
 
 bool KstPlotGroup::popupMenu(KPopupMenu *menu, const QPoint& pos, KstViewObjectPtr topParent) {
-  KstMetaPlot::popupMenu(menu, pos, topParent);
-  return true;
+  // FIXME: pass to children based on pos
+  return KstMetaPlot::popupMenu(menu, pos, topParent);
 }
 
 
 bool KstPlotGroup::layoutPopupMenu(KPopupMenu *menu, const QPoint& pos, KstViewObjectPtr topParent) {
+  // FIXME: pass to children based on pos
   KstMetaPlot::popupMenu(menu, pos, topParent);
   menu->insertItem(i18n("&Ungroup"), this, SLOT(flatten()));





More information about the Kst mailing list