diff options
Diffstat (limited to 'lib/kofficeui/KoSelectAction.cpp')
-rw-r--r-- | lib/kofficeui/KoSelectAction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficeui/KoSelectAction.cpp b/lib/kofficeui/KoSelectAction.cpp index d8542ec5c..3cc02db3a 100644 --- a/lib/kofficeui/KoSelectAction.cpp +++ b/lib/kofficeui/KoSelectAction.cpp @@ -40,13 +40,13 @@ class KoSelectAction::KoSelectActionPrivate m_popup = new TDEPopupMenu(0L,"KoLineStyleAction::popup"); m_currentSelection = 0; } - + ~KoSelectActionPrivate() { delete m_popup; m_popup = 0; } - + TDEPopupMenu* m_popup; int m_currentSelection; }; @@ -56,7 +56,7 @@ KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, { d = new KoSelectActionPrivate; setShowCurrentSelection(true); - + connect(popupMenu(), TQ_SIGNAL(activated(int)), this, TQ_SLOT(execute(int))); } @@ -64,7 +64,7 @@ KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, const const char* slot, TQObject* parent, const char* name) : TDEAction(text, icon, 0, parent, name) { d = new KoSelectActionPrivate; - + connect(this, TQ_SIGNAL(selectionChanged(int)), receiver, slot); connect(popupMenu(), TQ_SIGNAL(activated(int)), this, TQ_SLOT(execute(int))); } |