summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit529c1ea243b4b08398f2728630ae6a1e7933e57b (patch)
tree7e709f0749277a2fc64fa36421f7c1c69c89faf7
parent6b63f133e6dee6a79f8d592130662fa4d4ed206a (diff)
downloadtwin-style-crystal-529c1ea2.tar.gz
twin-style-crystal-529c1ea2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kwin-style-crystal@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--client/config/crystalconfig.cc2
-rw-r--r--client/crystalclient.cc8
-rw-r--r--pics/embedtool.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/client/config/crystalconfig.cc b/client/config/crystalconfig.cc
index 50d21e6..a9347ba 100644
--- a/client/config/crystalconfig.cc
+++ b/client/config/crystalconfig.cc
@@ -222,7 +222,7 @@ void CrystalConfig::load(KConfig*)
dialog_->buttonTheme->setCurrentItem(config_->readNumEntry("ButtonTheme",8));
dialog_->updateTime->setValue(config_->readNumEntry("RepaintTime",200));
- button=(TQRadioButton*)dialog_->repaintMode->tqfind(config_->readNumEntry("RepaintMode",1));
+ button=(TQRadioButton*)dialog_->repaintMode->find(config_->readNumEntry("RepaintMode",1));
if (button)button->setChecked(true);
dialog_->active_blur->setValue(config_->readNumEntry("ActiveBlur",0));
diff --git a/client/crystalclient.cc b/client/crystalclient.cc
index 6b3ac65..6b8a944 100644
--- a/client/crystalclient.cc
+++ b/client/crystalclient.cc
@@ -68,7 +68,7 @@ public:
CCrystalTooltip(TQWidget *widget,CrystalClient *vc):TQToolTip(widget),client(vc) {}
virtual void maybeTip(const TQPoint& p)
{
- if (client->titlebar_->tqgeometry().tqcontains(p))
+ if (client->titlebar_->tqgeometry().contains(p))
{
tip(client->titlebar_->tqgeometry(),client->caption());
}
@@ -961,7 +961,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *tqlayout, const TQString&
if (current)
{
tqlayout->addWidget(current);
- if (tqlayout->tqfindWidget(current)==0)current->setFirstLast(true,false);
+ if (tqlayout->findWidget(current)==0)current->setFirstLast(true,false);
}
lastone=current;
}
@@ -972,7 +972,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *tqlayout, const TQString&
void CrystalClient::activeChange()
{
Repaint();
- if (isActive()) ::factory->clients.at(::factory->clients.tqfind(this));
+ if (isActive()) ::factory->clients.at(::factory->clients.find(this));
}
void CrystalClient::captionChange()
@@ -1182,7 +1182,7 @@ void CrystalClient::ClientWindows(Window* v_frame,Window* v_wrapper,Window *v_cl
void CrystalClient::mouseDoubleClickEvent(TQMouseEvent *e)
{
- if (/*(titlebar_->tqgeometry().tqcontains(e->pos()))&&*/(e->button()==Qt::LeftButton)) titlebarDblClickOperation();
+ if (/*(titlebar_->tqgeometry().contains(e->pos()))&&*/(e->button()==Qt::LeftButton)) titlebarDblClickOperation();
else {
TQMouseEvent me(TQEvent::MouseButtonPress,e->pos(),e->button(),e->state());
processMousePressEvent(&me);
diff --git a/pics/embedtool.cpp b/pics/embedtool.cpp
index 9549bbb..c1712b9 100644
--- a/pics/embedtool.cpp
+++ b/pics/embedtool.cpp
@@ -109,7 +109,7 @@ void nVIDIAEmbedder::embed( const char *name )
TQString codename( basename );
TQImage image( name );
- codename = codename.tqreplace( TQRegExp("[^a-zA-Z0-9]"), "_" );
+ codename = codename.replace( TQRegExp("[^a-zA-Z0-9]"), "_" );
stream << "static const TQRgb " << codename << "_data[] = {" << endl << "\t";
stream.setf( TQTextStream::hex | TQTextStream::right );
@@ -209,7 +209,7 @@ void nVIDIAEmbedder::writeIndex()
stream << "\t\t\tm_inst = NULL;\n";
stream << "\t\t}\n\n";
stream << "\t\tTQImage *image( const TQString &name ) const {\n";
- stream << "\t\t\treturn db->tqfind( name );\n";
+ stream << "\t\t\treturn db->find( name );\n";
stream << "\t\t}\n\n";
stream << "\t}; // class nVIDIAImageDb\n\n";
stream << "\tnVIDIAImageDb *nVIDIAImageDb::m_inst = NULL;\n\n";