diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 15:25:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 15:25:28 +0900 |
commit | 2b50d74ff03fba4c1fb372cc745325014e8a91a8 (patch) | |
tree | 42c0c6caf03e26be040cb8e3c37436adedfa5e0e /client/crystalclient.cpp | |
parent | 8805ca8534c9501aef1504fb1418aa7f72e9ab27 (diff) | |
download | twin-style-crystal-2b50d74ff03fba4c1fb372cc745325014e8a91a8.tar.gz twin-style-crystal-2b50d74ff03fba4c1fb372cc745325014e8a91a8.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'client/crystalclient.cpp')
-rw-r--r-- | client/crystalclient.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/crystalclient.cpp b/client/crystalclient.cpp index 506f743..32eca46 100644 --- a/client/crystalclient.cpp +++ b/client/crystalclient.cpp @@ -1211,7 +1211,7 @@ void CrystalClient::ClientWindows(Window* v_frame,Window* v_wrapper,Window *v_cl void CrystalClient::mouseDoubleClickEvent(TQMouseEvent *e) { - if (/*(titlebar_->geometry().contains(e->pos()))&&*/(e->button()==Qt::LeftButton)) titlebarDblClickOperation(); + if (/*(titlebar_->geometry().contains(e->pos()))&&*/(e->button()==TQt::LeftButton)) titlebarDblClickOperation(); else { TQMouseEvent me(TQEvent::MouseButtonPress,e->pos(),e->button(),e->state()); processMousePressEvent(&me); @@ -1545,10 +1545,10 @@ void CrystalClient::maxButtonPressed() { switch (button[ButtonMax]->lastMousePress()) { - case Qt::MidButton: + case TQt::MidButton: maximize(maximizeMode() ^ MaximizeVertical); break; - case Qt::RightButton: + case TQt::RightButton: maximize(maximizeMode() ^ MaximizeHorizontal); break; default: @@ -1561,11 +1561,11 @@ void CrystalClient::minButtonPressed() { if (button[ButtonMin]) { switch (button[ButtonMin]->lastMousePress()) { - case Qt::MidButton:{ + case TQt::MidButton:{ performWindowOperation(LowerOp); break; } - case Qt::RightButton: + case TQt::RightButton: if (isShadeable()) setShade(!isShade()); break; default: @@ -1604,7 +1604,7 @@ void CrystalClient::closeButtonPressed() { if (button[ButtonClose]) switch (button[ButtonClose]->lastMousePress()) { - case Qt::RightButton: + case TQt::RightButton: { Window frame,wrapper,client; char param[20]; @@ -1629,8 +1629,8 @@ void CrystalClient::shadeButtonPressed() { if (button[ButtonShade]) { switch (button[ButtonShade]->lastMousePress()) { - case Qt::MidButton: - case Qt::RightButton: + case TQt::MidButton: + case TQt::RightButton: break; default: if (isShadeable()) setShade(!isShade()); |