summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/misc.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/appwizard/misc.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/appwizard/misc.cpp')
-rw-r--r--parts/appwizard/misc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/appwizard/misc.cpp b/parts/appwizard/misc.cpp
index 3590b589..63d670b5 100644
--- a/parts/appwizard/misc.cpp
+++ b/parts/appwizard/misc.cpp
@@ -11,7 +11,7 @@
#include "misc.h"
-#include <qstring.h>
+#include <tqstring.h>
#include <kemailsettings.h>
#include <pwd.h>
@@ -21,12 +21,12 @@
#include <kstandarddirs.h>
#include <kconfig.h>
-void AppWizardUtil::guessAuthorAndEmail(QString *author, QString *email)
+void AppWizardUtil::guessAuthorAndEmail(TQString *author, TQString *email)
{
KEMailSettings emailConfig;
emailConfig.setProfile( emailConfig.defaultProfileName() );
- QString fromAddr = emailConfig.getSetting( KEMailSettings::EmailAddress );
- QString name = emailConfig.getSetting( KEMailSettings::RealName );
+ TQString fromAddr = emailConfig.getSetting( KEMailSettings::EmailAddress );
+ TQString name = emailConfig.getSetting( KEMailSettings::RealName );
if ( !fromAddr.isEmpty() && !name.isEmpty() ) {
*author = name;
@@ -45,11 +45,11 @@ void AppWizardUtil::guessAuthorAndEmail(QString *author, QString *email)
(void) ::gethostname(hostname, sizeof hostname);
if ( name.isEmpty() )
- *author = QString::fromLocal8Bit( pw->pw_gecos );
+ *author = TQString::fromLocal8Bit( pw->pw_gecos );
else
*author = name;
if ( fromAddr.isEmpty() )
- *email = QString(pw->pw_name) + "@" + hostname;
+ *email = TQString(pw->pw_name) + "@" + hostname;
else
*email = fromAddr;
}