summaryrefslogtreecommitdiffstats
path: root/kig/modes
diff options
context:
space:
mode:
Diffstat (limited to 'kig/modes')
-rw-r--r--kig/modes/label.cc4
-rw-r--r--kig/modes/label.h4
-rw-r--r--kig/modes/macrowizardbase.ui2
-rw-r--r--kig/modes/moving.cc10
-rw-r--r--kig/modes/popup.cc6
-rw-r--r--kig/modes/textlabelwizard.cc2
-rw-r--r--kig/modes/textlabelwizardbase.ui4
-rw-r--r--kig/modes/typesdialog.cpp2
8 files changed, 17 insertions, 17 deletions
diff --git a/kig/modes/label.cc b/kig/modes/label.cc
index 48f729bf..c92dccf8 100644
--- a/kig/modes/label.cc
+++ b/kig/modes/label.cc
@@ -376,7 +376,7 @@ void TextLabelModeBase::updateLinksLabel()
}
else
// otherwise, we show a stub...
- linktext = i18n( "argument %1" ).tqarg( count + 1 );
+ linktext = i18n( "argument %1" ).arg( count + 1 );
d->wiz->myCustomWidget1->addLink( linktext, buf );
// set pos and prevpos to the next char after the last match, so
@@ -406,7 +406,7 @@ void TextLabelModeBase::linkClicked( int i )
d->mwawd = ReallySelectingArgs;
d->mwaaws = i;
- mdoc.emitStatusBarText( i18n( "Selecting argument %1" ).tqarg( i + 1 ) );
+ mdoc.emitStatusBarText( i18n( "Selecting argument %1" ).arg( i + 1 ) );
}
void TextLabelModeBase::redrawScreen( KigWidget* w )
diff --git a/kig/modes/label.h b/kig/modes/label.h
index b016d691..828c2e29 100644
--- a/kig/modes/label.h
+++ b/kig/modes/label.h
@@ -35,7 +35,7 @@ class ObjectCalcer;
/**
* this is the base class for TextLabelConstructionMode and
* TextLabelRedefineMode.. most of the work is done in this class,
- * with some specific things delegated to the tqchildren.. Template
+ * with some specific things delegated to the children.. Template
* method pattern, right ? :)
*/
class TextLabelModeBase
@@ -65,7 +65,7 @@ protected:
void setLocationParent( ObjectCalcer* o );
/**
* objects you pass here, should be newly created property objects,
- * that have no tqchildren..
+ * that have no children..
*/
void setPropertyObjects( const argvect& props );
void setFrame( bool f );
diff --git a/kig/modes/macrowizardbase.ui b/kig/modes/macrowizardbase.ui
index fefd5c6f..ea20ead7 100644
--- a/kig/modes/macrowizardbase.ui
+++ b/kig/modes/macrowizardbase.ui
@@ -55,7 +55,7 @@
<property name="text">
<string>Select the "given" objects for your new macro and press "Next".</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/kig/modes/moving.cc b/kig/modes/moving.cc
index 7c3148da..593c7077 100644
--- a/kig/modes/moving.cc
+++ b/kig/modes/moving.cc
@@ -143,8 +143,8 @@ MovingMode::MovingMode( const std::vector<ObjectHolder*>& os, const Coordinate&
std::set<ObjectCalcer*> tmp = objs;
for ( std::set<ObjectCalcer*>::const_iterator i = tmp.begin(); i != tmp.end(); ++i )
{
- std::set<ObjectCalcer*> tqchildren = getAllChildren(*i);
- objs.insert( tqchildren.begin(), tqchildren.end() );
+ std::set<ObjectCalcer*> children = getAllChildren(*i);
+ objs.insert( children.begin(), children.end() );
}
initScreen( calcPath( std::vector<ObjectCalcer*>( objs.begin(), objs.end() ) ) );
@@ -154,7 +154,7 @@ void MovingMode::stopMove()
{
TQString text = d->emo.size() == 1 ?
d->emo[0]->imp()->type()->moveAStatement() :
- i18n( "Move %1 Objects" ).tqarg( d->emo.size() );
+ i18n( "Move %1 Objects" ).arg( d->emo.size() );
KigCommand* mc = new KigCommand( mdoc, text );
d->mon->finish( mc );
mdoc.history()->addCommand( mc );
@@ -182,8 +182,8 @@ PointRedefineMode::PointRedefineMode( ObjectHolder* p, KigPart& d, KigWidget& v
std::vector<ObjectCalcer*> parents = getAllParents( mp->calcer() );
mmon = new MonitorDataObjects( parents );
std::vector<ObjectCalcer*> moving = parents;
- std::set<ObjectCalcer*> tqchildren = getAllChildren( mp->calcer() );
- std::copy( tqchildren.begin(), tqchildren.end(), std::back_inserter( moving ) );
+ std::set<ObjectCalcer*> children = getAllChildren( mp->calcer() );
+ std::copy( children.begin(), children.end(), std::back_inserter( moving ) );
initScreen( moving );
}
diff --git a/kig/modes/popup.cc b/kig/modes/popup.cc
index 321675c0..ba778f43 100644
--- a/kig/modes/popup.cc
+++ b/kig/modes/popup.cc
@@ -198,12 +198,12 @@ NormalModePopupObjects::NormalModePopupObjects( KigPart& part,
else if ( single )
{
if ( !objs[0]->name().isNull() )
- title = TQString::fromLatin1( "%1 %2" ).tqarg( objs[0]->imp()->type()->translatedName() ).tqarg( objs[0]->name() );
+ title = TQString::fromLatin1( "%1 %2" ).arg( objs[0]->imp()->type()->translatedName() ).arg( objs[0]->name() );
else
title = objs[0]->imp()->type()->translatedName();
}
else
- title = i18n( "%1 Objects" ).tqarg( objs.size() );
+ title = i18n( "%1 Objects" ).arg( objs.size() );
insertTitle( title, 1 );
if ( !empty )
@@ -1182,7 +1182,7 @@ ObjectChooserPopup::ObjectChooserPopup( const TQPoint& p, KigWidget& view,
for ( uint i = 0; i < mobjs.size(); i++ )
{
insertItem( !mobjs[i]->name().isEmpty()
- ? TQString::fromLatin1( "%1 %2" ).tqarg( mobjs[i]->imp()->type()->translatedName() ).tqarg( mobjs[i]->name() )
+ ? TQString::fromLatin1( "%1 %2" ).arg( mobjs[i]->imp()->type()->translatedName() ).arg( mobjs[i]->name() )
: mobjs[i]->imp()->type()->translatedName(),
i );
}
diff --git a/kig/modes/textlabelwizard.cc b/kig/modes/textlabelwizard.cc
index 8991a93c..d562bbf3 100644
--- a/kig/modes/textlabelwizard.cc
+++ b/kig/modes/textlabelwizard.cc
@@ -84,7 +84,7 @@ void TextLabelWizard::linkClicked( int which )
void TextLabelWizard::relayoutArgsPage()
{
select_arguments_pageLayout->activate();
- tqrepaint();
+ repaint();
}
void TextLabelWizard::slotHelpClicked()
diff --git a/kig/modes/textlabelwizardbase.ui b/kig/modes/textlabelwizardbase.ui
index 8f12ca3c..06e3db8f 100644
--- a/kig/modes/textlabelwizardbase.ui
+++ b/kig/modes/textlabelwizardbase.ui
@@ -34,7 +34,7 @@
<string>Enter the text for your label here and press "Next".
If you want to show variable parts, then put %1, %2, ... at the appropriate places (e.g. "This segment is %1 units long.").</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
@@ -71,7 +71,7 @@ If you want to show variable parts, then put %1, %2, ... at the appropriate plac
<property name="text">
<string>Now select the argument(s) you need. For every argument, click on it, select an object and a property in the Kig window, and click finish when you are done...</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/kig/modes/typesdialog.cpp b/kig/modes/typesdialog.cpp
index b4336bf2..ec6a16c3 100644
--- a/kig/modes/typesdialog.cpp
+++ b/kig/modes/typesdialog.cpp
@@ -173,7 +173,7 @@ void TypesDialog::exportType()
TQFile fi( file_name );
if ( fi.exists() )
if ( KMessageBox::warningContinueCancel( this, i18n( "The file \"%1\" already exists. "
- "Do you wish to overwrite it?" ).tqarg( fi.name() ),
+ "Do you wish to overwrite it?" ).arg( fi.name() ),
i18n( "Overwrite File?" ), i18n("Overwrite") ) == KMessageBox::Cancel )
return;
MacroList::instance()->save( types, file_name );