summaryrefslogtreecommitdiffstats
path: root/src/modules/dockwidget/libkvidockwidget_qt4.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dockwidget/libkvidockwidget_qt4.cpp')
-rw-r--r--src/modules/dockwidget/libkvidockwidget_qt4.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/dockwidget/libkvidockwidget_qt4.cpp b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
index c8ad4092..76316941 100644
--- a/src/modules/dockwidget/libkvidockwidget_qt4.cpp
+++ b/src/modules/dockwidget/libkvidockwidget_qt4.cpp
@@ -178,9 +178,9 @@ void KviDockWidget::tipRequest(KviDynamicToolTip *tip,const TQPoint &pnt)
line = b->kviWindow()->lastMessageText();
if(!line.isEmpty())
{
- line.tqreplace(TQChar('&'),"&");
- line.tqreplace(TQChar('<'),"&lt;");
- line.tqreplace(TQChar('>'),"&gt;");
+ line.replace(TQChar('&'),"&amp;");
+ line.replace(TQChar('<'),"&lt;");
+ line.replace(TQChar('>'),"&gt;");
tmp += "<b>";
tmp += b->kviWindow()->plainTextCaption();
tmp += "</b><br>";
@@ -476,7 +476,7 @@ void KviDockWidget::updateIcon()
}
-static KviDockWidget * dockwidget_tqfind(KviFrame *f)
+static KviDockWidget * dockwidget_find(KviFrame *f)
{
if(!g_pDockWidgetList)return 0;
for(KviDockWidget * w = g_pDockWidgetList->first();w;w = g_pDockWidgetList->next())
@@ -522,7 +522,7 @@ static KviDockWidget * dockwidget_tqfind(KviFrame *f)
static bool dockwidget_kvs_cmd_show(KviKvsModuleCommandCall * c)
{
- if(!(dockwidget_tqfind(c->window()->frame())))
+ if(!(dockwidget_find(c->window()->frame())))
{
KviDockWidget * w = new KviDockWidget(c->window()->frame());
w->show();
@@ -548,7 +548,7 @@ static bool dockwidget_kvs_cmd_show(KviKvsModuleCommandCall * c)
static bool dockwidget_kvs_cmd_hide(KviKvsModuleCommandCall * c)
{
- KviDockWidget * w= dockwidget_tqfind(c->window()->frame());
+ KviDockWidget * w= dockwidget_find(c->window()->frame());
if(w)delete w;
// show the tqparent frame.. otherwise there will be no way to get it back
if(!c->window()->frame()->isVisible())
@@ -576,7 +576,7 @@ static bool dockwidget_kvs_cmd_hide(KviKvsModuleCommandCall * c)
static bool dockwidget_kvs_cmd_hidewindow(KviKvsModuleCommandCall * c)
{
- KviDockWidget * w= dockwidget_tqfind(c->window()->frame());
+ KviDockWidget * w= dockwidget_find(c->window()->frame());
if(w)
{
c->window()->frame()->hide();
@@ -602,7 +602,7 @@ static bool dockwidget_kvs_cmd_hidewindow(KviKvsModuleCommandCall * c)
static bool dockwidget_kvs_fnc_isvisible(KviKvsModuleFunctionCall * c)
{
- c->returnValue()->setBoolean(dockwidget_tqfind(c->window()->frame()));
+ c->returnValue()->setBoolean(dockwidget_find(c->window()->frame()));
return true;
}