diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:19:31 +0900 |
commit | 8f9e8c882373f01e38599281c1c4e0d667b1f2f2 (patch) | |
tree | 648b0c69b1a4fb37277df76134b6f27287de8a05 /kteatime | |
parent | 76679027e6f0d3eb77f5f5dc3dd9378e01c1bf94 (diff) | |
download | tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.tar.gz tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf)
Diffstat (limited to 'kteatime')
-rw-r--r-- | kteatime/toplevel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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); |