diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 12:48:57 +0900 |
commit | d5688771d8a6837975be512ee37f61bad7dbd345 (patch) | |
tree | b8ef261c559484b01e3a035333561e5226042b4e /tdeui/kdatetbl.cpp | |
parent | 44e712a770ad0ab59d33790a80b5f6235cff6921 (diff) | |
download | tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kdatetbl.cpp')
-rw-r--r-- | tdeui/kdatetbl.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeui/kdatetbl.cpp b/tdeui/kdatetbl.cpp index 6212b4e52..b0d55f246 100644 --- a/tdeui/kdatetbl.cpp +++ b/tdeui/kdatetbl.cpp @@ -84,7 +84,7 @@ public: KDateValidator::KDateValidator(TQWidget* parent, const char* name) - : TQValidator(TQT_TQOBJECT(parent), name) + : TQValidator(parent, name) { } @@ -158,12 +158,12 @@ KDateTable::~KDateTable() void KDateTable::initAccels() { TDEAccel* accel = new TDEAccel(this, "date table accel"); - accel->insert(TDEStdAccel::Next, TQT_TQOBJECT(this), TQT_SLOT(nextMonth())); - accel->insert(TDEStdAccel::Prior, TQT_TQOBJECT(this), TQT_SLOT(previousMonth())); - accel->insert(TDEStdAccel::Home, TQT_TQOBJECT(this), TQT_SLOT(beginningOfMonth())); - accel->insert(TDEStdAccel::End, TQT_TQOBJECT(this), TQT_SLOT(endOfMonth())); - accel->insert(TDEStdAccel::BeginningOfLine, TQT_TQOBJECT(this), TQT_SLOT(beginningOfWeek())); - accel->insert(TDEStdAccel::EndOfLine, TQT_TQOBJECT(this), TQT_SLOT(endOfWeek())); + accel->insert(TDEStdAccel::Next, this, TQT_SLOT(nextMonth())); + accel->insert(TDEStdAccel::Prior, this, TQT_SLOT(previousMonth())); + accel->insert(TDEStdAccel::Home, this, TQT_SLOT(beginningOfMonth())); + accel->insert(TDEStdAccel::End, this, TQT_SLOT(endOfMonth())); + accel->insert(TDEStdAccel::BeginningOfLine, this, TQT_SLOT(beginningOfWeek())); + accel->insert(TDEStdAccel::EndOfLine, this, TQT_SLOT(endOfWeek())); accel->readSettings(); } @@ -609,7 +609,7 @@ void KDateTable::unsetCustomDatePainting( const TQDate &date ) KDateInternalWeekSelector::KDateInternalWeekSelector (TQWidget* parent, const char* name) : TQLineEdit(parent, name), - val(new TQIntValidator(TQT_TQOBJECT(this))), + val(new TQIntValidator(this)), result(0) { TQFont font; @@ -850,7 +850,7 @@ KDateInternalMonthPicker::contentsMouseReleaseEvent(TQMouseEvent *e) KDateInternalYearSelector::KDateInternalYearSelector (TQWidget* parent, const char* name) : TQLineEdit(parent, name), - val(new TQIntValidator(TQT_TQOBJECT(this))), + val(new TQIntValidator(this)), result(0) { TQFont font; @@ -1008,7 +1008,7 @@ TDEPopupFrame::exec(TQPoint pos) popup(pos); repaint(); d->exec = true; - const TQGuardedPtr<TQObject> that = TQT_TQOBJECT(this); + const TQGuardedPtr<TQObject> that = this; tqApp->enter_loop(); if ( !that ) return TQDialog::Rejected; |