ginebra2/ChromeSnippet.h
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
--- a/ginebra2/ChromeSnippet.h	Thu Sep 23 15:32:11 2010 -0400
+++ b/ginebra2/ChromeSnippet.h	Fri Oct 15 17:30:59 2010 -0400
@@ -92,7 +92,7 @@
     void setEffect(const QString & effect);
     void enableEffect(bool enable);
     void toggleEffect();
-    void grabFocus();
+    virtual void grabFocus();
     QObject *setVisibilityAnimator(const QString& animator);
     void visibilityFinished(bool visiblity);
     void moveBy(int dx, int dy);
@@ -112,6 +112,12 @@
     //NB: deprecate repaint: if this is needed, then there are bugs that are preventing updates
     void repaint() { m_widget->update(); }
     void onContextMenuEvent(QGraphicsSceneContextMenuEvent * ev);
+    virtual bool editable() { return false; }
+    virtual bool useNativeCopyPasteMenu() { return false; }
+    virtual void cut() {}
+    virtual void copy() {}
+    virtual void paste() {}
+    virtual void setContextMenuStatus(bool on) { Q_UNUSED(on); }
 
   signals:
     void hidden();