summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/KMultiFormListBox/widgetwindow.cpp')
-rw-r--r--kregexpeditor/KMultiFormListBox/widgetwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
index 9b055a3..6d101a0 100644
--- a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
+++ b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
@@ -47,7 +47,7 @@ void WidgetWindow::init(KMultiFormListBoxFactory *factory, TDEListBox *lb, KMult
myWidget = factory->create(frame);
}
TQDataStream stream( _backup, IO_WriteOnly );
- myFact->toStream( TQT_TQOBJECT(myWidget), stream );
+ myFact->toStream( myWidget, stream );
lay->addWidget(myWidget);
@@ -86,7 +86,7 @@ void WidgetWindow::slotCancel()
}
else {
TQDataStream stream( _backup, IO_ReadOnly );
- myFact->fromStream( stream, TQT_TQOBJECT(myWidget) );
+ myFact->fromStream( stream, myWidget );
}
KDialogBase::slotCancel();
}
@@ -96,9 +96,9 @@ WidgetWindow *WidgetWindow::clone()
WidgetWindow *item = new WidgetWindow(myFact, listbox);
TQByteArray data;
TQDataStream ws( data, IO_WriteOnly );
- myFact->toStream( TQT_TQOBJECT(myWidget), ws );
+ myFact->toStream( myWidget, ws );
TQDataStream rs( data, IO_ReadOnly );
- myFact->fromStream( rs, TQT_TQOBJECT(item->myWidget) );
+ myFact->fromStream( rs, item->myWidget );
item->slotOk();
return item;
@@ -107,7 +107,7 @@ WidgetWindow *WidgetWindow::clone()
void WidgetWindow::display()
{
TQDataStream stream( _backup, IO_WriteOnly);
- myFact->toStream( TQT_TQOBJECT(myWidget), stream );
+ myFact->toStream( myWidget, stream );
show();
}