diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:29:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 14:51:21 +0900 |
commit | 3a528d873ff72828fb9b19bed38a2b869b449089 (patch) | |
tree | 9b72c543b078fb622b3dbcdf1c397ae899433638 /kmymoney2/widgets/kmymoneydateinput.cpp | |
parent | 04ddc8237ccd12dcc44de5d1f67a99bba019eb2a (diff) | |
download | kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.tar.gz kmymoney-3a528d873ff72828fb9b19bed38a2b869b449089.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e84ff3d61520e4200f987d3a0b6bea570b2e8b32)
Diffstat (limited to 'kmymoney2/widgets/kmymoneydateinput.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneydateinput.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/widgets/kmymoneydateinput.cpp b/kmymoney2/widgets/kmymoneydateinput.cpp index 957b245..b9db20f 100644 --- a/kmymoney2/widgets/kmymoneydateinput.cpp +++ b/kmymoney2/widgets/kmymoneydateinput.cpp @@ -139,11 +139,11 @@ kMyMoneyDateInput::kMyMoneyDateInput(TQWidget *parent, const char *name, TQt::Al m_dateButton = new KPushButton(TQIconSet(TQPixmap(TDEGlobal::iconLoader()->iconPath("date", -TDEIcon::SizeSmall))), TQString(""), this); m_dateButton->setMinimumWidth(30); - connect(m_dateButton,TQT_SIGNAL(clicked()),TQT_SLOT(toggleDatePicker())); - connect(dateEdit, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotDateChosenRef(const TQDate&))); - connect(m_datePicker, TQT_SIGNAL(dateSelected(TQDate)), this, TQT_SLOT(slotDateChosen(TQDate))); - connect(m_datePicker, TQT_SIGNAL(dateEntered(TQDate)), this, TQT_SLOT(slotDateChosen(TQDate))); - connect(m_datePicker, TQT_SIGNAL(dateSelected(TQDate)), m_dateFrame, TQT_SLOT(hide())); + connect(m_dateButton,TQ_SIGNAL(clicked()),TQ_SLOT(toggleDatePicker())); + connect(dateEdit, TQ_SIGNAL(valueChanged(const TQDate&)), this, TQ_SLOT(slotDateChosenRef(const TQDate&))); + connect(m_datePicker, TQ_SIGNAL(dateSelected(TQDate)), this, TQ_SLOT(slotDateChosen(TQDate))); + connect(m_datePicker, TQ_SIGNAL(dateEntered(TQDate)), this, TQ_SLOT(slotDateChosen(TQDate))); + connect(m_datePicker, TQ_SIGNAL(dateSelected(TQDate)), m_dateFrame, TQ_SLOT(hide())); } void kMyMoneyDateInput::markAsBadDate(bool bad, const TQColor& color) @@ -164,7 +164,7 @@ void kMyMoneyDateInput::show(void) // to be appropriate. I saw this in some other places and the only // way to solve this problem is to postpone the setup of the size // to the time when the widget is on the screen. - TQTimer::singleShot(50, this, TQT_SLOT(fixSize())); + TQTimer::singleShot(50, this, TQ_SLOT(fixSize())); } void kMyMoneyDateInput::fixSize(void) |