diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/common/kbproject.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/common/kbproject.cpp')
-rw-r--r-- | kbabel/common/kbproject.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/common/kbproject.cpp b/kbabel/common/kbproject.cpp index 38996b51..73ac9dbd 100644 --- a/kbabel/common/kbproject.cpp +++ b/kbabel/common/kbproject.cpp @@ -36,7 +36,7 @@ #include "kbprojectmanager.h" #include "kbprojectsettings.h" -#include <qfileinfo.h> +#include <tqfileinfo.h> #include <kdebug.h> #include <klocale.h> @@ -47,15 +47,15 @@ namespace KBabel { -Project::Project( const QString& file ) : - QObject () +Project::Project( const TQString& file ) : + TQObject () , _filename (file) , _name (i18n("unnamed")) , _valid (false) , _config (NULL) , _settings (NULL) { - QFileInfo info(file); + TQFileInfo info(file); if(info.isDir()) return; @@ -96,12 +96,12 @@ Project::Project( const QString& file ) : // read the project name _config->setGroup( "Project" ); - _name = _config->readEntry( "Name", QString() ); + _name = _config->readEntry( "Name", TQString() ); if ( _name.isEmpty() ) _name = "Default-Project"; // set default project name // ### FIXME: why is the Version number not written to the project file? - if ( _config->readEntry( "Version", QString() ) != "1.0.1" ) + if ( _config->readEntry( "Version", TQString() ) != "1.0.1" ) { kdWarning() << "Old project format assumed" << endl; @@ -266,7 +266,7 @@ MiscSettings Project::miscSettings () { MiscSettings settings; - QString temp=_settings->accelMarker(); + TQString temp=_settings->accelMarker(); if(temp.length() > 0) { settings.accelMarker=temp[0]; |