diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-09-30 00:04:56 +0300 |
---|---|---|
committer | Philippe Mavridis <philippe.mavridis@yandex.com> | 2025-05-15 21:00:25 +0300 |
commit | 04e86613f67d171cc965fce64a4310c0d25c98e1 (patch) | |
tree | 08a85d43bc40568f94259601339ccd7e1de11773 /lib/kofficeui/KoSelectAction.cpp | |
parent | cf85b9c285a2b9baa87c9d0cb9d683b48e82a475 (diff) | |
download | koffice-feat/cmake-port.tar.gz koffice-feat/cmake-port.zip |
WIP: CMake portfeat/cmake-port
Signed-off-by: Philippe Mavridis <philippe.mavridis@yandex.com>
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))); } |