summaryrefslogtreecommitdiffstats
path: root/kig/filters
diff options
context:
space:
mode:
Diffstat (limited to 'kig/filters')
-rw-r--r--kig/filters/cabri-filter.cc2
-rw-r--r--kig/filters/drgeo-filter-chooserbase.ui2
-rw-r--r--kig/filters/drgeo-filter.cc30
-rw-r--r--kig/filters/drgeo-filter.h2
-rw-r--r--kig/filters/exporter.cc6
-rw-r--r--kig/filters/filter.cc6
-rw-r--r--kig/filters/filter.h2
-rw-r--r--kig/filters/kgeo-filter.h2
-rw-r--r--kig/filters/latexexporter.cc8
-rw-r--r--kig/filters/native-filter.cc8
-rw-r--r--kig/filters/svgexporter.cc4
11 files changed, 36 insertions, 36 deletions
diff --git a/kig/filters/cabri-filter.cc b/kig/filters/cabri-filter.cc
index 7d7369a1..b1bf83dd 100644
--- a/kig/filters/cabri-filter.cc
+++ b/kig/filters/cabri-filter.cc
@@ -549,7 +549,7 @@ KigDocument* KigFilterCabri::load( const TQString& file )
else
{
notSupported( file, i18n( "This Cabri file contains a \"%1\" object, "
- "which Kig does not currently support." ).tqarg( TQString(obj.type) ) );
+ "which Kig does not currently support." ).arg( TQString(obj.type) ) );
return 0;
}
diff --git a/kig/filters/drgeo-filter-chooserbase.ui b/kig/filters/drgeo-filter-chooserbase.ui
index 16c10b15..2473fd12 100644
--- a/kig/filters/drgeo-filter-chooserbase.ui
+++ b/kig/filters/drgeo-filter-chooserbase.ui
@@ -33,7 +33,7 @@
<string>The current Dr. Geo file contains more than one figure.
Please select which to import:</string>
</property>
- <property name="tqalignment">
+ <property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
diff --git a/kig/filters/drgeo-filter.cc b/kig/filters/drgeo-filter.cc
index 7acc2adf..13a3ca0f 100644
--- a/kig/filters/drgeo-filter.cc
+++ b/kig/filters/drgeo-filter.cc
@@ -106,9 +106,9 @@ KigDocument* KigFilterDrgeo::load( const TQString& file )
if ( figures.isEmpty() ) {
if( nmacros > 0 )
warning( i18n( "The Dr. Geo file \"%1\" is a macro file so it contains no "
- "figures." ).tqarg( file ) );
+ "figures." ).arg( file ) );
else
- warning( i18n( "There are no figures in Dr. Geo file \"%1\"." ).tqarg( file ) );
+ warning( i18n( "There are no figures in Dr. Geo file \"%1\"." ).arg( file ) );
return false;
}
@@ -333,7 +333,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
{
// oc = fact->constrainedPointCalcer( parents[0], value );
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -387,7 +387,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -419,7 +419,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -432,7 +432,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -453,7 +453,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -469,7 +469,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -490,7 +490,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -529,7 +529,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
bool ok3;
double dvalue = value.toDouble( &ok3 );
if ( ok3 )
- value = TQString( "%1" ).tqarg( dvalue, 0, 'g', 3 );
+ value = TQString( "%1" ).arg( dvalue, 0, 'g', 3 );
oc = fact->labelCalcer( value, m, false, std::vector<ObjectCalcer*>(), *ret );
}
else if ( domelem.attribute( "type" ) == "pt_abscissa" )
@@ -618,7 +618,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -636,7 +636,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -677,7 +677,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -689,7 +689,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
@@ -709,7 +709,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
kdDebug() << ">>>>>>>>> UNKNOWN OBJECT" << endl;
#endif
notSupported( file, i18n( "This Dr. Geo file contains a \"%1 %2\" object, "
- "which Kig does not currently support." ).tqarg( domelem.tagName() ).tqarg(
+ "which Kig does not currently support." ).arg( domelem.tagName() ).arg(
domelem.attribute( "type" ) ) );
return false;
}
diff --git a/kig/filters/drgeo-filter.h b/kig/filters/drgeo-filter.h
index ddd2359e..9b0ef369 100644
--- a/kig/filters/drgeo-filter.h
+++ b/kig/filters/drgeo-filter.h
@@ -26,7 +26,7 @@ class KigDocument;
class TQString;
/**
- * This is an import filter for the GNOME tqgeometry program DrGeo.
+ * This is an import filter for the GNOME geometry program DrGeo.
*/
class KigFilterDrgeo
: public KigFilter
diff --git a/kig/filters/exporter.cc b/kig/filters/exporter.cc
index 8dfeffda..77ce7266 100644
--- a/kig/filters/exporter.cc
+++ b/kig/filters/exporter.cc
@@ -156,7 +156,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w )
{
KMessageBox::sorry( &w,
i18n( "The file \"%1\" could not be opened. Please check if the file permissions are set correctly." )
- .tqarg( filename ) );
+ .arg( filename ) );
return;
};
@@ -169,7 +169,7 @@ void ImageExporter::run( const KigPart& doc, KigWidget& w )
p.drawObjects( doc.document().objects(), false );
if ( ! img.save( filename, type.latin1() ) )
{
- KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to image \"%1\"" ).tqarg( filename ) );
+ KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to image \"%1\"" ).arg( filename ) );
}
}
@@ -593,7 +593,7 @@ void XFigExporter::run( const KigPart& doc, KigWidget& w )
{
KMessageBox::sorry( &w, i18n( "The file \"%1\" could not be opened. Please "
"check if the file permissions are set correctly." )
- .tqarg( file_name ) );
+ .arg( file_name ) );
return;
};
TQTextStream stream( &file );
diff --git a/kig/filters/filter.cc b/kig/filters/filter.cc
index ff380bec..81cd1ef4 100644
--- a/kig/filters/filter.cc
+++ b/kig/filters/filter.cc
@@ -73,14 +73,14 @@ void KigFilter::fileNotFound( const TQString& file ) const
i18n( "The file \"%1\" could not be opened. "
"This probably means that it does not "
"exist, or that it cannot be opened due to "
- "its permissions" ).tqarg( file ) );
+ "its permissions" ).arg( file ) );
}
void KigFilter::parseError( const TQString& file, const TQString& explanation ) const
{
const TQString text =
i18n( "An error was encountered while parsing the file \"%1\". It "
- "cannot be opened." ).tqarg( file );
+ "cannot be opened." ).arg( file );
const TQString title = i18n( "Parse Error" );
if ( explanation.isNull() )
@@ -92,7 +92,7 @@ void KigFilter::parseError( const TQString& file, const TQString& explanation )
void KigFilter::notSupported( const TQString& file, const TQString& explanation ) const
{
KMessageBox::detailedSorry( 0,
- i18n( "Kig cannot open the file \"%1\"." ).tqarg( file ),
+ i18n( "Kig cannot open the file \"%1\"." ).arg( file ),
explanation, i18n( "Not Supported" ) );
}
diff --git a/kig/filters/filter.h b/kig/filters/filter.h
index 8904b52d..9680d114 100644
--- a/kig/filters/filter.h
+++ b/kig/filters/filter.h
@@ -55,7 +55,7 @@ protected:
{ \
TQString locs = i18n( "An error was encountered at " \
"line %1 in file %2." ) \
- .tqarg( __LINE__ ).tqarg( __FILE__ ); \
+ .arg( __LINE__ ).arg( __FILE__ ); \
parseError( file, locs ); \
return 0; \
}
diff --git a/kig/filters/kgeo-filter.h b/kig/filters/kgeo-filter.h
index 52107203..9bac9085 100644
--- a/kig/filters/kgeo-filter.h
+++ b/kig/filters/kgeo-filter.h
@@ -25,7 +25,7 @@ class KSimpleConfig;
/**
* This is an import filter for files generated by the program KGeo,
- * which was an interactive tqgeometry program in tdeedu. Kig is
+ * which was an interactive geometry program in tdeedu. Kig is
* supposed to be its successor, and this import filter is part of my
* attempt to achieve that :)
*
diff --git a/kig/filters/latexexporter.cc b/kig/filters/latexexporter.cc
index a1be1f5f..b6e267bb 100644
--- a/kig/filters/latexexporter.cc
+++ b/kig/filters/latexexporter.cc
@@ -228,9 +228,9 @@ void LatexExportImpVisitor::plotGenericCurve( const CurveImp* imp )
if ( width == -1 ) width = 1;
TQString prefix = TQString( "\\pscurve[linecolor=%1,linewidth=%2,%3]" )
- .tqarg( mcurcolorid )
- .tqarg( width / 100.0 )
- .tqarg( writeStyle( mcurobj->drawer()->style() ) );
+ .arg( mcurcolorid )
+ .arg( width / 100.0 )
+ .arg( writeStyle( mcurobj->drawer()->style() ) );
std::vector< std::vector< Coordinate > > coordlist;
coordlist.push_back( std::vector< Coordinate >() );
@@ -507,7 +507,7 @@ void LatexExporter::run( const KigPart& doc, KigWidget& w )
{
KMessageBox::sorry( &w, i18n( "The file \"%1\" could not be opened. Please "
"check if the file permissions are set correctly." )
- .tqarg( file_name ) );
+ .arg( file_name ) );
return;
};
diff --git a/kig/filters/native-filter.cc b/kig/filters/native-filter.cc
index 4c83c517..a9bcc241 100644
--- a/kig/filters/native-filter.cc
+++ b/kig/filters/native-filter.cc
@@ -193,7 +193,7 @@ KigDocument* KigFilterNative::load( const TQString& file )
if ( major > 0 || minor > 9 )
{
notSupported( file, i18n( "This file was created by Kig version \"%1\", "
- "which this version cannot open." ).tqarg( version ) );
+ "which this version cannot open." ).arg( version ) );
return false;
}
else if ( major == 0 && minor <= 3 )
@@ -204,7 +204,7 @@ KigDocument* KigFilterNative::load( const TQString& file )
"You can try to open this file with an older Kig "
"version (0.4 to 0.6),\n"
"and then save it again, which will save it in the "
- "new format." ).tqarg( version ) );
+ "new format." ).arg( version ) );
return false;
}
else if ( major == 0 && minor <= 6 )
@@ -338,7 +338,7 @@ KigDocument* KigFilterNative::load04( const TQString& file, const TQDomElement&
"which this Kig version does not support."
"Perhaps you have compiled Kig without support "
"for this object type,"
- "or perhaps you are using an older Kig version." ).tqarg( tmp ) );
+ "or perhaps you are using an older Kig version." ).arg( tmp ) );
return false;
};
@@ -485,7 +485,7 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement&
"which this Kig version does not support."
"Perhaps you have compiled Kig without support "
"for this object type,"
- "or perhaps you are using an older Kig version." ).tqarg( tmp ) );
+ "or perhaps you are using an older Kig version." ).arg( tmp ) );
return false;
}
diff --git a/kig/filters/svgexporter.cc b/kig/filters/svgexporter.cc
index 93801b3b..e2cc41bd 100644
--- a/kig/filters/svgexporter.cc
+++ b/kig/filters/svgexporter.cc
@@ -81,7 +81,7 @@ void SVGExporter::run( const KigPart& part, KigWidget& w )
{
KMessageBox::sorry( &w, i18n( "The file \"%1\" could not be opened. Please "
"check if the file permissions are set correctly." )
- .tqarg( file_name ) );
+ .arg( file_name ) );
return;
};
@@ -105,7 +105,7 @@ void SVGExporter::run( const KigPart& part, KigWidget& w )
if ( !pic.save( file_name, "SVG" ) )
{
- KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to SVG file \"%1\"" ).tqarg( file_name ) );
+ KMessageBox::error( &w, i18n( "Sorry, something went wrong while saving to SVG file \"%1\"" ).arg( file_name ) );
}
}