summaryrefslogtreecommitdiffstats
path: root/client/crystalclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/crystalclient.cpp')
-rw-r--r--client/crystalclient.cpp16
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());