summaryrefslogtreecommitdiffstats
path: root/src/modules/dockwidget/libkvidockwidget_qt3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/dockwidget/libkvidockwidget_qt3.cpp')
-rw-r--r--src/modules/dockwidget/libkvidockwidget_qt3.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/dockwidget/libkvidockwidget_qt3.cpp b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
index afee8824..f734d288 100644
--- a/src/modules/dockwidget/libkvidockwidget_qt3.cpp
+++ b/src/modules/dockwidget/libkvidockwidget_qt3.cpp
@@ -343,9 +343,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>";
@@ -641,7 +641,7 @@ void KviDockWidget::paintEvent(TQPaintEvent * event)
}
-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())
@@ -687,7 +687,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(),"dock_widget");
#ifndef COMPILE_ON_WINDOWS
@@ -717,7 +717,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())
@@ -745,7 +745,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)
{
w->setPrevWindowState(c->window()->frame()->windowState());
@@ -772,7 +772,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;
}