summaryrefslogtreecommitdiffstats
path: root/kplato/kptdatetable.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-15 00:43:41 +0900
commit3aab8aa05b954b80e336517f93463a9b5f50f3d6 (patch)
treebe6bb581b1cb695d388cb4be10282514bb067401 /kplato/kptdatetable.cpp
parentfb6b4d204d1155fa3a1bc7a128873340db1524f7 (diff)
downloadkoffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.tar.gz
koffice-3aab8aa05b954b80e336517f93463a9b5f50f3d6.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kplato/kptdatetable.cpp')
-rw-r--r--kplato/kptdatetable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptdatetable.cpp b/kplato/kptdatetable.cpp
index 0f07b748..5c10eb0b 100644
--- a/kplato/kptdatetable.cpp
+++ b/kplato/kptdatetable.cpp
@@ -42,7 +42,7 @@ namespace KPlato
{
DateValidator::DateValidator(TQWidget* parent, const char* name)
- : TQValidator(TQT_TQOBJECT(parent), name)
+ : TQValidator(parent, name)
{
}
@@ -715,7 +715,7 @@ void DateTable::markSelected(int state) {
DateInternalWeekSelector::DateInternalWeekSelector
(int fontsize, TQWidget* parent, const char* name)
: TQLineEdit(parent, name),
- val(new TQIntValidator(TQT_TQOBJECT(this))),
+ val(new TQIntValidator(this)),
result(0)
{
TQFont font;
@@ -927,7 +927,7 @@ DateInternalMonthPicker::contentsMouseReleaseEvent(TQMouseEvent *e)
DateInternalYearSelector::DateInternalYearSelector
(int fontsize, TQWidget* parent, const char* name)
: TQLineEdit(parent, name),
- val(new TQIntValidator(TQT_TQOBJECT(this))),
+ val(new TQIntValidator(this)),
result(0)
{
TQFont font;