From ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Nov 2023 11:05:29 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kteatime/toplevel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kteatime/toplevel.cpp') diff --git a/kteatime/toplevel.cpp b/kteatime/toplevel.cpp index 2d0ee03..df943d8 100644 --- a/kteatime/toplevel.cpp +++ b/kteatime/toplevel.cpp @@ -225,7 +225,7 @@ void TopLevel::showEvent ( TQShowEvent * ) /** Handle mousePressEvent */ void TopLevel::mousePressEvent(TQMouseEvent *event) { - if (event->button() == Qt::LeftButton) { + if (event->button() == TQt::LeftButton) { if (ready) { stop(); // reset tooltip and stop animation } else { @@ -234,7 +234,7 @@ void TopLevel::mousePressEvent(TQMouseEvent *event) else start_menu->popup(TQCursor::pos()); } - } else if (event->button() == Qt::RightButton) + } else if (event->button() == TQt::RightButton) menu->popup(TQCursor::pos()); // else if (event->button() == MidButton) // currently unused } @@ -682,7 +682,7 @@ void TopLevel::config() /* left side - tea list and list-modifying buttons */ TQBoxLayout *leftside = new TQVBoxLayout(box); - TQGroupBox *listgroup = new TQGroupBox(2,Qt::Vertical, i18n("Tea List"), page); + TQGroupBox *listgroup = new TQGroupBox(2,TQt::Vertical, i18n("Tea List"), page); leftside->addWidget(listgroup, 0, 0); listbox = new TQListView(listgroup, "listBox"); @@ -729,7 +729,7 @@ void TopLevel::config() /* right side - tea properties */ TQBoxLayout *rightside = new TQVBoxLayout(box); - editgroup = new TQGroupBox(2,Qt::Vertical, i18n("Tea Properties"), page); + editgroup = new TQGroupBox(2,TQt::Vertical, i18n("Tea Properties"), page); rightside->addWidget(editgroup, 0, 0); TQHBox *propbox = new TQHBox(editgroup); @@ -751,7 +751,7 @@ void TopLevel::config() connect(timeEdit, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(spinBoxValueChanged(int))); /* bottom - timeout actions */ - TQGroupBox *actiongroup = new TQGroupBox(4,Qt::Vertical, i18n("Action"), page); + TQGroupBox *actiongroup = new TQGroupBox(4,TQt::Vertical, i18n("Action"), page); top_box->addWidget(actiongroup, 0, 0); TQWidget *actionconf_widget = new TQWidget(actiongroup); -- cgit v1.2.1