summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/misc.cpp
diff options
context:
space:
mode:
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;
}