summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/KMultiFormListBox/widgetwindow.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/KMultiFormListBox/widgetwindow.cpp')
-rw-r--r--kregexpeditor/KMultiFormListBox/widgetwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
index 022e452..e94210d 100644
--- a/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
+++ b/kregexpeditor/KMultiFormListBox/widgetwindow.cpp
@@ -36,17 +36,17 @@ void WidgetWindow::init(KMultiFormListBoxFactory *factory, KListBox *lb, KMultiF
listbox = lb;
myFact = factory;
- QFrame *frame = plainPage();
- QHBoxLayout *lay = new QHBoxLayout(frame,0,-1,"WidgetWindow::init::lay");
+ TQFrame *frame = plainPage();
+ TQHBoxLayout *lay = new TQHBoxLayout(frame,0,-1,"WidgetWindow::init::lay");
if (widget != 0) {
myWidget = widget;
- widget->reparent(frame, 0, QPoint(0,0));
+ widget->reparent(frame, 0, TQPoint(0,0));
}
else {
myWidget = factory->create(frame);
}
- QDataStream stream( _backup, IO_WriteOnly );
+ TQDataStream stream( _backup, IO_WriteOnly );
myFact->toStream( myWidget, stream );
lay->addWidget(myWidget);
@@ -85,7 +85,7 @@ void WidgetWindow::slotCancel()
deleteLater();
}
else {
- QDataStream stream( _backup, IO_ReadOnly );
+ TQDataStream stream( _backup, IO_ReadOnly );
myFact->fromStream( stream, myWidget );
}
KDialogBase::slotCancel();
@@ -94,10 +94,10 @@ void WidgetWindow::slotCancel()
WidgetWindow *WidgetWindow::clone()
{
WidgetWindow *item = new WidgetWindow(myFact, listbox);
- QByteArray data;
- QDataStream ws( data, IO_WriteOnly );
+ TQByteArray data;
+ TQDataStream ws( data, IO_WriteOnly );
myFact->toStream( myWidget, ws );
- QDataStream rs( data, IO_ReadOnly );
+ TQDataStream rs( data, IO_ReadOnly );
myFact->fromStream( rs, item->myWidget );
item->slotOk();
@@ -106,7 +106,7 @@ WidgetWindow *WidgetWindow::clone()
void WidgetWindow::display()
{
- QDataStream stream( _backup, IO_WriteOnly);
+ TQDataStream stream( _backup, IO_WriteOnly);
myFact->toStream( myWidget, stream );
show();
}