diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 11:29:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 10:02:37 +0900 |
commit | f0d0dabf77ba63a31a571ba73c9374be5f262c21 (patch) | |
tree | a796a51ff39e6eb5629c19a848e06923749e6aab /ksirc/puke/ppopmenu.cpp | |
parent | 006e6257893a789e4255dadb600820cee7e26366 (diff) | |
download | tdenetwork-f0d0dabf77ba63a31a571ba73c9374be5f262c21.tar.gz tdenetwork-f0d0dabf77ba63a31a571ba73c9374be5f262c21.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]>
(cherry picked from commit 75b9f40221399ae82b0169494af7db6d35d0a070)
Diffstat (limited to 'ksirc/puke/ppopmenu.cpp')
-rw-r--r-- | ksirc/puke/ppopmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/ppopmenu.cpp b/ksirc/puke/ppopmenu.cpp index 02687c2a..d50f6610 100644 --- a/ksirc/puke/ppopmenu.cpp +++ b/ksirc/puke/ppopmenu.cpp @@ -8,7 +8,7 @@ PPopupMenu::createWidget(CreateArgs &ca) { PPopupMenu *pm = new PPopupMenu(ca.parent); TQPopupMenu *qpm; - if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) == TRUE){ + if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQPopupMenu") == TRUE){ qpm= (TQPopupMenu *) ca.fetchedObj; pm->setDeleteAble(FALSE); } @@ -81,7 +81,7 @@ void PPopupMenu::messageHandler(int fd, PukeMessage *pm) void PPopupMenu::setWidget(TQObject *_menu) { - if(_menu != 0 && _menu->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) == FALSE) + if(_menu != 0 && _menu->inherits("TQPopupMenu") == FALSE) { errorInvalidSet(_menu); return; |