summaryrefslogtreecommitdiffstats
path: root/kig/kfile/kfile_kig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kig/kfile/kfile_kig.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/kfile/kfile_kig.cpp')
-rw-r--r--kig/kfile/kfile_kig.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/kfile/kfile_kig.cpp b/kig/kfile/kfile_kig.cpp
index bd54a036..defae8c2 100644
--- a/kig/kfile/kfile_kig.cpp
+++ b/kig/kfile/kfile_kig.cpp
@@ -35,8 +35,8 @@ typedef KGenericFactory<KigPlugin> kigFactory;
K_EXPORT_COMPONENT_FACTORY( kfile_kig, kigFactory( "kfile_kig" ) )
-KigPlugin::KigPlugin( TQObject *parent, const char *name, const TQStringList &args )
- : KFilePlugin( parent, name, args )
+KigPlugin::KigPlugin( TQObject *tqparent, const char *name, const TQStringList &args )
+ : KFilePlugin( tqparent, name, args )
{
KFileMimeTypeInfo::ItemInfo* item;
@@ -58,7 +58,7 @@ bool KigPlugin::readInfo( KFileMetaInfo& metainfo, uint /*what*/ )
TQString sfile = metainfo.path();
bool iscompressed = false;
TQFile f( sfile );
- if ( !sfile.endsWith( ".kig", false ) )
+ if ( !sfile.tqendsWith( ".kig", false ) )
{
iscompressed = true;
@@ -67,7 +67,7 @@ bool KigPlugin::readInfo( KFileMetaInfo& metainfo, uint /*what*/ )
return false;
TQString tempname = sfile.section( '/', -1 );
- if ( sfile.endsWith( ".kigz", false ) )
+ if ( sfile.tqendsWith( ".kigz", false ) )
{
tempname.remove( TQRegExp( "\\.[Kk][Ii][Gg][Zz]$" ) );
}
@@ -114,7 +114,7 @@ bool KigPlugin::readInfo( KFileMetaInfo& metainfo, uint /*what*/ )
TQString compatversion = main.attribute( "CompatibilityVersion" );
if ( compatversion.isEmpty() )
compatversion = i18n( "%1 represents Kig version",
- "%1 (as the version)" ).arg( version );
+ "%1 (as the version)" ).tqarg( version );
appendItem( metagroup, "CompatVersion", compatversion );
// reading the Coordinate System...