summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_tabwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_tabwidget.cpp')
-rw-r--r--src/modules/objects/class_tabwidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_tabwidget.cpp b/src/modules/objects/class_tabwidget.cpp
index fc221880..3b768217 100644
--- a/src/modules/objects/class_tabwidget.cpp
+++ b/src/modules/objects/class_tabwidget.cpp
@@ -94,7 +94,7 @@
%secondtab=$new(widget,%Tabwidget)
# Now we'll create the item to put in to tab's pages.
- %layoutfirsttab=$new(tqlayout,%firsttab)
+ %layoutfirsttab=$new(layout,%firsttab)
%labelbt=$new(label,%firsttab)
%labelbt->$settext(Botton Tab)
%labeltt=$new(label,%firsttab)
@@ -104,7 +104,7 @@
%buttontt=$new(button,%firsttab)
%buttontt->$settext("To &Top")
- # Now we'll give a tqlayout to all items.
+ # Now we'll give a layout to all items.
# This also allows to use privateimpl without making buttons global variables
%layoutfirsttab->$addwidget(%labelbt,0,0)
%layoutfirsttab->$addwidget(%labeltt,0,1)
@@ -125,7 +125,7 @@
}
# We do the same work with the second tab's page.
- %layoutsecondtab=$new(tqlayout,%secondtab)
+ %layoutsecondtab=$new(layout,%secondtab)
%labelwp=$new(label,%secondtab)
%labelwp->$settext("Enjoy the new Class provided by")
%layoutsecondtab->$addwidget(%labelwp,0,0)