diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 11:29:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 11:30:19 +0900 |
commit | 75b9f40221399ae82b0169494af7db6d35d0a070 (patch) | |
tree | 7b0bacaec8a1552c02f7c94c0085d6a6a5569a75 /ksirc/puke/ptabdialog.cpp | |
parent | 1e65a9c99ee7ee7f0590e49f0d528969955e16d8 (diff) | |
download | tdenetwork-75b9f40221399ae82b0169494af7db6d35d0a070.tar.gz tdenetwork-75b9f40221399ae82b0169494af7db6d35d0a070.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ksirc/puke/ptabdialog.cpp')
-rw-r--r-- | ksirc/puke/ptabdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/puke/ptabdialog.cpp b/ksirc/puke/ptabdialog.cpp index e4fc8dea..3538c8c7 100644 --- a/ksirc/puke/ptabdialog.cpp +++ b/ksirc/puke/ptabdialog.cpp @@ -12,7 +12,7 @@ PTabDialog::createWidget(CreateArgs &ca) TQTabDialog *qtd; // Retreive the border and direction information out of the // carg string - if(ca.fetchedObj != 0 && ca.fetchedObj->inherits(TQTABDIALOG_OBJECT_NAME_STRING) == TRUE){ + if(ca.fetchedObj != 0 && ca.fetchedObj->inherits("TQTabDialog") == TRUE){ qtd = (TQTabDialog *) ca.fetchedObj; ptd->setDeleteAble(FALSE); } @@ -78,7 +78,7 @@ void PTabDialog::messageHandler(int fd, PukeMessage *pm) void PTabDialog::setWidget(TQObject *tb) { - if(tb != 0 && tb->inherits(TQTABDIALOG_OBJECT_NAME_STRING) == FALSE) + if(tb != 0 && tb->inherits("TQTabDialog") == FALSE) { errorInvalidSet(tb); return; |