diff options
Diffstat (limited to 'client/crystalclient.cpp')
-rw-r--r-- | client/crystalclient.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/client/crystalclient.cpp b/client/crystalclient.cpp index 8199478..6fb5cf8 100644 --- a/client/crystalclient.cpp +++ b/client/crystalclient.cpp @@ -807,11 +807,11 @@ void CrystalClient::init() if (::factory->captiontooltip) new CCrystalTooltip(widget(),this); - connect( this, TQT_SIGNAL( keepAboveChanged( bool )), TQT_SLOT( keepAboveChange( bool ))); - connect( this, TQT_SIGNAL( keepBelowChanged( bool )), TQT_SLOT( keepBelowChange( bool ))); + connect( this, TQ_SIGNAL( keepAboveChanged( bool )), TQ_SLOT( keepAboveChange( bool ))); + connect( this, TQ_SIGNAL( keepBelowChanged( bool )), TQ_SLOT( keepBelowChange( bool ))); - if (::factory->transparency)connect ( ::factory->image_holder,TQT_SIGNAL(repaintNeeded()),this,TQT_SLOT(Repaint())); - if (::factory->transparency)connect ( &timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(Repaint())); + if (::factory->transparency)connect ( ::factory->image_holder,TQ_SIGNAL(repaintNeeded()),this,TQ_SLOT(Repaint())); + if (::factory->transparency)connect ( &timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(Repaint())); updateLayout(); } @@ -895,7 +895,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if (!isModalSystemNotification()) { if (!button[ButtonMenu]) { button[ButtonMenu] = current = new CrystalButton(this, "menu", i18n("Menu"), ButtonMenu, ::factory->buttonImages[ButtonImageMenu]); - connect(button[ButtonMenu], TQT_SIGNAL(pressed()), this, TQT_SLOT(menuButtonPressed())); + connect(button[ButtonMenu], TQ_SIGNAL(pressed()), this, TQ_SLOT(menuButtonPressed())); } } break; @@ -911,7 +911,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) tip = i18n("On All Desktops"); } button[ButtonSticky] =current=new CrystalButton(this, "sticky", tip,ButtonSticky, bitmap); - connect(button[ButtonSticky], TQT_SIGNAL(clicked()),this, TQT_SLOT(toggleOnAllDesktops())); + connect(button[ButtonSticky], TQ_SIGNAL(clicked()),this, TQ_SLOT(toggleOnAllDesktops())); } } break; @@ -920,7 +920,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if (providesContextHelp()) { button[ButtonHelp] =current= new CrystalButton(this, "help", i18n("Help"),ButtonHelp, ::factory->buttonImages[ButtonImageHelp]); - connect(button[ButtonHelp], TQT_SIGNAL(clicked()),this, TQT_SLOT(showContextHelp())); + connect(button[ButtonHelp], TQ_SIGNAL(clicked()),this, TQ_SLOT(showContextHelp())); } break; @@ -928,7 +928,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if ((!button[ButtonMin]) && isMinimizable()) { button[ButtonMin] =current= new CrystalButton(this, "iconify", i18n("Minimize"),ButtonMin, ::factory->buttonImages[ButtonImageMin]); - connect(button[ButtonMin], TQT_SIGNAL(clicked()),this, TQT_SLOT(minButtonPressed())); + connect(button[ButtonMin], TQ_SIGNAL(clicked()),this, TQ_SLOT(minButtonPressed())); } break; @@ -936,7 +936,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if (!button[ButtonAbove]) { button[ButtonAbove] =current= new CrystalButton(this, "above", i18n("Keep Above Others"),ButtonAbove, ::factory->buttonImages[keepAbove()?ButtonImageUnAbove:ButtonImageAbove]); - connect(button[ButtonAbove], TQT_SIGNAL(clicked()),this, TQT_SLOT(aboveButtonPressed())); + connect(button[ButtonAbove], TQ_SIGNAL(clicked()),this, TQ_SLOT(aboveButtonPressed())); } break; @@ -944,7 +944,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if ((!button[ButtonBelow])) { button[ButtonBelow] =current= new CrystalButton(this, "below", i18n("Keep Below Others"),ButtonBelow, ::factory->buttonImages[keepBelow()?ButtonImageUnBelow:ButtonImageBelow]); - connect(button[ButtonBelow], TQT_SIGNAL(clicked()),this, TQT_SLOT(belowButtonPressed())); + connect(button[ButtonBelow], TQ_SIGNAL(clicked()),this, TQ_SLOT(belowButtonPressed())); } break; @@ -952,7 +952,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if ((!button[ButtonShade]) && isShadeable()) { button[ButtonShade] =current= new CrystalButton(this, "shade", i18n("Shade"),ButtonShade, ::factory->buttonImages[ButtonImageShade]); - connect(button[ButtonShade], TQT_SIGNAL(clicked()),this, TQT_SLOT(shadeButtonPressed())); + connect(button[ButtonShade], TQ_SIGNAL(clicked()),this, TQ_SLOT(shadeButtonPressed())); } break; @@ -969,7 +969,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) } button[ButtonMax] =current= new CrystalButton(this, "maximize", tip,ButtonMax, bitmap); - connect(button[ButtonMax], TQT_SIGNAL(clicked()),this, TQT_SLOT(maxButtonPressed())); + connect(button[ButtonMax], TQ_SIGNAL(clicked()),this, TQ_SLOT(maxButtonPressed())); } break; @@ -977,7 +977,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s) if (isCloseable()) { button[ButtonClose] =current= new CrystalButton(this, "close", i18n("Close"),ButtonClose, ::factory->buttonImages[ButtonImageClose]); - connect(button[ButtonClose], TQT_SIGNAL(clicked()),this, TQT_SLOT(closeButtonPressed())); + connect(button[ButtonClose], TQ_SIGNAL(clicked()),this, TQ_SLOT(closeButtonPressed())); } break; @@ -1412,7 +1412,7 @@ void CrystalClient::paintEvent(TQPaintEvent*) // And notify image_holder that we need an update asap if (::factory)if (::factory->image_holder) // UnInit image_holder, on next Repaint it will be Init'ed again. - TQTimer::singleShot(500,::factory->image_holder,TQT_SLOT(CheckSanity())); + TQTimer::singleShot(500,::factory->image_holder,TQ_SLOT(CheckSanity())); } if (drawFrame) |