summaryrefslogtreecommitdiffstats
path: root/tdeui/kdatetbl.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-26 18:42:01 +0900
commit2a3a62bb995b73481a8a64658266adf22e523f7b (patch)
tree17e63d11e590bd93137dee185ff1342873f4ddea /tdeui/kdatetbl.cpp
parentaf8caeadf368a17dabd9f53d4c661213c840eebd (diff)
downloadtdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz
tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
Diffstat (limited to 'tdeui/kdatetbl.cpp')
-rw-r--r--tdeui/kdatetbl.cpp20
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;