summaryrefslogtreecommitdiffstats
path: root/kbabel/common/kbproject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/common/kbproject.cpp')
-rw-r--r--kbabel/common/kbproject.cpp14
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];