summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/formwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/formwindow.cpp')
-rw-r--r--kdevdesigner/designer/formwindow.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdevdesigner/designer/formwindow.cpp b/kdevdesigner/designer/formwindow.cpp
index 4e5bc09d..99f631ae 100644
--- a/kdevdesigner/designer/formwindow.cpp
+++ b/kdevdesigner/designer/formwindow.cpp
@@ -454,7 +454,7 @@ void FormWindow::insertWidget()
pos -= r.topLeft();
np.append( pos );
}
-
+
MoveCommand *mv = new MoveCommand( i18n( "Reparent Widgets" ), this,
lst, op, np, insertParent, pw );
@@ -462,13 +462,13 @@ void FormWindow::insertWidget()
mainwindow->resetTool();
else
setCursorToAll( CrossCursor, w );
-
+
InsertCommand *cmd = new InsertCommand( i18n( "Insert %1" ).arg( w->name() ), this, w, r );
-
+
TQPtrList<Command> commands;
commands.append( mv );
commands.append( cmd );
-
+
MacroCommand *mc = new MacroCommand( i18n( "Insert %1" ).arg( w->name() ), this, commands );
commandHistory()->addCommand( mc );
mc->execute();
@@ -1999,7 +1999,7 @@ void FormWindow::selectAll()
void FormWindow::layoutHorizontal()
{
TQWidgetList widgets( selectedWidgets() );
- LayoutHorizontalCommand *cmd = new LayoutHorizontalCommand( i18n( "Lay OutQt::Horizontally" ),
+ LayoutHorizontalCommand *cmd = new LayoutHorizontalCommand( i18n( "Lay Out Horizontally" ),
this, mainContainer(), 0, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );
@@ -2009,7 +2009,7 @@ void FormWindow::layoutHorizontal()
void FormWindow::layoutVertical()
{
TQWidgetList widgets( selectedWidgets() );
- LayoutVerticalCommand *cmd = new LayoutVerticalCommand( i18n( "Lay OutQt::Vertically" ),
+ LayoutVerticalCommand *cmd = new LayoutVerticalCommand( i18n( "Lay Out Vertically" ),
this, mainContainer(), 0, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );
@@ -2019,7 +2019,7 @@ void FormWindow::layoutVertical()
void FormWindow::layoutHorizontalSplit()
{
TQWidgetList widgets( selectedWidgets() );
- LayoutHorizontalSplitCommand *cmd = new LayoutHorizontalSplitCommand( i18n( "Lay OutQt::Horizontally (in splitter)" ),
+ LayoutHorizontalSplitCommand *cmd = new LayoutHorizontalSplitCommand( i18n( "Lay Out Horizontally (in splitter)" ),
this, mainContainer(), 0, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );
@@ -2029,7 +2029,7 @@ void FormWindow::layoutHorizontalSplit()
void FormWindow::layoutVerticalSplit()
{
TQWidgetList widgets( selectedWidgets() );
- LayoutVerticalSplitCommand *cmd = new LayoutVerticalSplitCommand( i18n( "Lay OutQt::Vertically (in splitter)" ),
+ LayoutVerticalSplitCommand *cmd = new LayoutVerticalSplitCommand( i18n( "Lay Out Vertically (in splitter)" ),
this, mainContainer(), 0, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );
@@ -2063,7 +2063,7 @@ void FormWindow::layoutHorizontalContainer( TQWidget *w )
insertedWidgets.find( (TQWidget*)o ) )
widgets.append( (TQWidget*)o );
}
- LayoutHorizontalCommand *cmd = new LayoutHorizontalCommand( i18n( "Lay Out ChildrenQt::Horizontally" ),
+ LayoutHorizontalCommand *cmd = new LayoutHorizontalCommand( i18n( "Lay Out Children Horizontally" ),
this, mainContainer(), w, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );
@@ -2084,7 +2084,7 @@ void FormWindow::layoutVerticalContainer( TQWidget *w )
insertedWidgets.find( (TQWidget*)o ) )
widgets.append( (TQWidget*)o );
}
- LayoutVerticalCommand *cmd = new LayoutVerticalCommand( i18n( "Lay Out ChildrenQt::Vertically" ),
+ LayoutVerticalCommand *cmd = new LayoutVerticalCommand( i18n( "Lay Out Children Vertically" ),
this, mainContainer(), w, widgets );
clearSelection( FALSE );
commandHistory()->addCommand( cmd );