diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 11:31:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-12 11:31:57 +0900 |
commit | 30555507108fe0b2b3f9ded9de37f38d4a1d9c50 (patch) | |
tree | 679a8ece19669a02cef46213fa85252c297a4aff /knode/kncomposer.cpp | |
parent | 0e1649599e9aea4fccb8435fbf74796e0756d282 (diff) | |
download | tdepim-30555507108fe0b2b3f9ded9de37f38d4a1d9c50.tar.gz tdepim-30555507108fe0b2b3f9ded9de37f38d4a1d9c50.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knode/kncomposer.cpp')
-rw-r--r-- | knode/kncomposer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp index 8695048e6..a1d09317b 100644 --- a/knode/kncomposer.cpp +++ b/knode/kncomposer.cpp @@ -437,7 +437,7 @@ void KNComposer::slotUndo() if (fw->inherits("KEdit")) ((TQMultiLineEdit*)fw)->undo(); - else if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->undo(); } @@ -448,7 +448,7 @@ void KNComposer::slotRedo() if (fw->inherits("KEdit")) ((TQMultiLineEdit*)fw)->redo(); - else if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->redo(); } @@ -459,7 +459,7 @@ void KNComposer::slotCut() if (fw->inherits("KEdit")) ((TQMultiLineEdit*)fw)->cut(); - else if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->cut(); else kdDebug(5003) << "wrong focus widget" << endl; } @@ -471,7 +471,7 @@ void KNComposer::slotCopy() if (fw->inherits("KEdit")) ((TQMultiLineEdit*)fw)->copy(); - else if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->copy(); else kdDebug(5003) << "wrong focus widget" << endl; @@ -485,7 +485,7 @@ void KNComposer::slotPaste() if (fw->inherits("KEdit")) ((TQMultiLineEdit*)fw)->paste(); - else if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->paste(); else kdDebug(5003) << "wrong focus widget" << endl; } @@ -495,9 +495,9 @@ void KNComposer::slotSelectAll() TQWidget* fw = focusWidget(); if (!fw) return; - if (fw->inherits(TQLINEEDIT_OBJECT_NAME_STRING)) + if (fw->inherits("TQLineEdit")) ((TQLineEdit*)fw)->selectAll(); - else if (fw->inherits(TQMULTILINEEDIT_OBJECT_NAME_STRING)) + else if (fw->inherits("TQMultiLineEdit")) ((TQMultiLineEdit*)fw)->selectAll(); } |