summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_window.cpp')
-rw-r--r--src/modules/objects/class_window.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/objects/class_window.cpp b/src/modules/objects/class_window.cpp
index 9218cb8f..732e6f4e 100644
--- a/src/modules/objects/class_window.cpp
+++ b/src/modules/objects/class_window.cpp
@@ -32,14 +32,14 @@
-KviKvsScriptWindowWindow::KviKvsScriptWindowWindow(KviFrame * pParent,const QString &szName)
+KviKvsScriptWindowWindow::KviKvsScriptWindowWindow(KviFrame * pParent,const TQString &szName)
: KviWindow(KVI_WINDOW_TYPE_SCRIPTOBJECT,pParent,szName)
{
m_pCentralWidget = 0;
#ifdef COMPILE_USE_QT4
- setBackgroundMode(Qt::NoBackground);
+ setBackgroundMode(TQt::NoBackground);
#else
- setBackgroundMode(QWidget::NoBackground);
+ setBackgroundMode(TQWidget::NoBackground);
#endif
}
@@ -47,13 +47,13 @@ KviKvsScriptWindowWindow::~KviKvsScriptWindowWindow()
{
}
-void KviKvsScriptWindowWindow::setCentralWidget(KviKvsObject_widget *o,QWidget * w)
+void KviKvsScriptWindowWindow::setCentralWidget(KviKvsObject_widget *o,TQWidget * w)
{
m_pCentralWidgetObject = o;
m_pCentralWidget = w;
}
-void KviKvsScriptWindowWindow::resizeEvent(QResizeEvent *e)
+void KviKvsScriptWindowWindow::resizeEvent(TQResizeEvent *e)
{
if(m_pCentralWidget)
m_pCentralWidget->setGeometry(0,0,width(),height());
@@ -87,9 +87,9 @@ void KviKvsScriptWindowWindow::centralWidgetDestroyed()
[class]widget[/class]
@description:
This class rappresents a MDI window in a KVIrc frame.
- Regardless of the parent object passed, the window will be always
+ Regardless of the tqparent object passed, the window will be always
a "physical" child of the frame window: you can't embed a window object
- inside a widget or another window. The parent object will just "own" this
+ inside a widget or another window. The tqparent object will just "own" this
window object and eventually destroy it when it dies.
This class can manage only a single central child widget that must
be set with $setCentralWidget().
@@ -117,15 +117,15 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_window)
bool KviKvsObject_window::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
KviWindow * w = new KviKvsScriptWindowWindow(pContext->window()->frame(),name());
- setObject(w);
+ setObject(TQT_TQOBJECT(w));
pContext->window()->frame()->addWindow(w,false);
- w->minimize(); // must be minimized before children are added, otherwise the focus handling goes nuts...
+ w->minimize(); // must be minimized before tqchildren are added, otherwise the focus handling goes nuts...
return true;
}
bool KviKvsObject_window::functionsetCaption(KviKvsObjectFunctionCall *c)
{
- QString szCaption;
+ TQString szCaption;
KVSO_PARAMETERS_BEGIN(c)
KVSO_PARAMETER("caption",KVS_PT_STRING,0,szCaption)
KVSO_PARAMETERS_END(c)