Remove additional unneeded tq method conversions

pull/1/head
Timothy Pearson 13 years ago
parent c78679b11d
commit a4741f6c87

@ -47,8 +47,8 @@ ComponentPage::ComponentPage( ComponentData *data, Component *component, TQWidge
connect(pbSetup, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetup())); connect(pbSetup, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSetup()));
connect(pbPreview, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPreview())); connect(pbPreview, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPreview()));
pbSetup->setText(i18n("&Setup %1").tqarg(m_data->caption)); pbSetup->setText(i18n("&Setup %1").arg(m_data->caption));
pbPreview->setText(i18n("&Preview %1").tqarg(m_data->caption)); pbPreview->setText(i18n("&Preview %1").arg(m_data->caption));
if (m_data->preview.exec.isEmpty()) if (m_data->preview.exec.isEmpty())
pbPreview->hide(); pbPreview->hide();
@ -103,7 +103,7 @@ void ComponentPage::setFocus()
TQString ComponentPage::subCaption() TQString ComponentPage::subCaption()
{ {
return i18n("Setup %1").tqarg(m_data->caption); return i18n("Setup %1").arg(m_data->caption);
} }
void ComponentPage::slotSetup() void ComponentPage::slotSetup()
@ -154,7 +154,7 @@ void ComponentPage::slotSetup()
int result = KMessageBox::questionYesNo(this, int result = KMessageBox::questionYesNo(this,
i18n("<qt>You can now configure %1. " i18n("<qt>You can now configure %1. "
"When you are finished click <b>Save</b> to make the new configuration permanent.") "When you are finished click <b>Save</b> to make the new configuration permanent.")
.tqarg(m_data->caption), i18n("%1 Setup").tqarg(m_data->caption), .arg(m_data->caption), i18n("%1 Setup").arg(m_data->caption),
KStdGuiItem::save(), KStdGuiItem::discard()); KStdGuiItem::save(), KStdGuiItem::discard());
m_saveSettings = (result == KMessageBox::Yes); m_saveSettings = (result == KMessageBox::Yes);
if (!dcopApp.isEmpty()) if (!dcopApp.isEmpty())
@ -254,7 +254,7 @@ void ComponentPage::slotPreview()
i18n("<qt>This is how %1 will behave and look with the new settings. " i18n("<qt>This is how %1 will behave and look with the new settings. "
"Any changes you now make to the settings will not be saved.<p>" "Any changes you now make to the settings will not be saved.<p>"
"Click <b>Ok</b> to return to your own personal %2 configuration.") "Click <b>Ok</b> to return to your own personal %2 configuration.")
.tqarg(m_data->caption, m_data->caption), i18n("%1 Preview").tqarg(m_data->caption)); .arg(m_data->caption, m_data->caption), i18n("%1 Preview").arg(m_data->caption));
if (!dcopApp.isEmpty()) if (!dcopApp.isEmpty())
KioskRun::self()->dcopRef(dcopApp, dcopObj).call("quit"); KioskRun::self()->dcopRef(dcopApp, dcopObj).call("quit");

@ -41,7 +41,7 @@
<property name="frameShadow"> <property name="frameShadow">
<enum>Sunken</enum> <enum>Sunken</enum>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>WordBreak|AlignTop</set> <set>WordBreak|AlignTop</set>
</property> </property>
</widget> </widget>

@ -88,7 +88,7 @@ void setModuleGroup(KConfig *config, const TQString &filename)
if (i != -1) if (i != -1)
module = module.left(i); module = module.left(i);
config->setGroup(TQString("Module-%1").tqarg(module)); config->setGroup(TQString("Module-%1").arg(module));
} }
bool AutoStartConfig::autoloadEnabled(KConfig *config, const TQString &filename) bool AutoStartConfig::autoloadEnabled(KConfig *config, const TQString &filename)

@ -113,7 +113,7 @@ void KioskConfigDialog::updateExample()
if (!url.endsWith("/")) if (!url.endsWith("/"))
url += "/"; url += "/";
url += file2; url += file2;
TQString example = TQString("<qt><center><b>%1</b><br>--><br><b>%2</b></center>").tqarg(file1, url); TQString example = TQString("<qt><center><b>%1</b><br>--><br><b>%2</b></center>").arg(file1, url);
w->lblUploadExample->setText(example); w->lblUploadExample->setText(example);
w->lblUploadExample->setFixedSize(TQSize(500,fontMetrics().lineSpacing()*3 + 6)); w->lblUploadExample->setFixedSize(TQSize(500,fontMetrics().lineSpacing()*3 + 6));
} }

@ -267,7 +267,7 @@ bool KioskData::load()
TQFile file( filename ); TQFile file( filename );
if ( !file.open( IO_ReadOnly ) ) if ( !file.open( IO_ReadOnly ) )
{ {
m_errorMsg = i18n("<qt>Could not open <b>%1</b></qt>").tqarg(filename); m_errorMsg = i18n("<qt>Could not open <b>%1</b></qt>").arg(filename);
return false; return false;
} }
@ -276,7 +276,7 @@ bool KioskData::load()
int errorCol; int errorCol;
if ( !doc.setContent( &file, &errorMsg, &errorRow, &errorCol ) ) if ( !doc.setContent( &file, &errorMsg, &errorRow, &errorCol ) )
{ {
m_errorMsg = i18n("<qt>Syntax error in <b>%1</b><br>Line %3, column %4: %2</qt>").tqarg(filename, errorMsg).tqarg(errorRow).tqarg(errorCol); m_errorMsg = i18n("<qt>Syntax error in <b>%1</b><br>Line %3, column %4: %2</qt>").arg(filename, errorMsg).arg(errorRow).arg(errorCol);
file.close(); file.close();
return false; return false;
} }

@ -126,7 +126,7 @@ void KioskGui::slotCheckEtcSkel()
"<b>If this is not the intended behavior, please remove the offending " "<b>If this is not the intended behavior, please remove the offending "
"files from the skeleton folder on all systems that you want to " "files from the skeleton folder on all systems that you want to "
"administer with user profiles.</b><p>" "administer with user profiles.</b><p>"
"The following files were found under <b>%2</b>:").tqarg(etcSkel).tqarg(etcSkel), "The following files were found under <b>%2</b>:").arg(etcSkel).arg(etcSkel),
skelFiles, skelFiles,
TQString(), TQString(),
"etc_skel_warning"); "etc_skel_warning");
@ -234,7 +234,7 @@ void KioskGui::slotDeleteProfile(TQListViewItem *item)
TQString profile = item->text(0); TQString profile = item->text(0);
int result = KMessageBox::warningContinueCancel(this, int result = KMessageBox::warningContinueCancel(this,
i18n("<qt>You are about to delete the profile <b>%1</b>.<p>" i18n("<qt>You are about to delete the profile <b>%1</b>.<p>"
"Are you sure you want to do this?").tqarg(profile), "Are you sure you want to do this?").arg(profile),
TQString(), KGuiItem(i18n("Delete"),"editdelete")); TQString(), KGuiItem(i18n("Delete"),"editdelete"));
if (result == KMessageBox::Continue) if (result == KMessageBox::Continue)
{ {
@ -376,7 +376,7 @@ void KioskGui::selectPage(int page, bool save)
setCaption(i18n("Profile Properties")); setCaption(i18n("Profile Properties"));
break; break;
case PAGE_COMPONENT_SELECTION: case PAGE_COMPONENT_SELECTION:
setSubCaption(i18n("Setup Profile \"%1\"").tqarg(m_profile)); setSubCaption(i18n("Setup Profile \"%1\"").arg(m_profile));
setCaption(m_profile); setCaption(m_profile);
break; break;
case PAGE_COMPONENT: case PAGE_COMPONENT:
@ -635,7 +635,7 @@ bool KioskGui::queryClose()
KURL uploadUrl = config->readEntry("uploadURL"); KURL uploadUrl = config->readEntry("uploadURL");
int result = KMessageBox::questionYesNo(this, int result = KMessageBox::questionYesNo(this,
i18n("<qt>Do you want to upload the profiles to <b>%1</b> ?</qt>").tqarg(uploadUrl.prettyURL())); i18n("<qt>Do you want to upload the profiles to <b>%1</b> ?</qt>").arg(uploadUrl.prettyURL()));
if (result == KMessageBox::Yes) if (result == KMessageBox::Yes)
{ {
uploadAllProfiles(); uploadAllProfiles();
@ -681,7 +681,7 @@ void KioskGui::uploadAllProfiles()
if (sync.sync()) if (sync.sync())
{ {
KMessageBox::information(this, i18n("<qt>All profiles have been successfully uploaded to <b>%1</b>").tqarg(uploadURL)); KMessageBox::information(this, i18n("<qt>All profiles have been successfully uploaded to <b>%1</b>").arg(uploadURL));
} }
} }

@ -264,17 +264,17 @@ KioskRun::setupConfigEnv()
hostname[0] = 0; hostname[0] = 0;
gethostname(hostname, 255); gethostname(hostname, 255);
TQString tmpDir = TQString("%1/%2-%3").tqarg(kdeHome).tqarg("tmp").tqarg(hostname); TQString tmpDir = TQString("%1/%2-%3").arg(kdeHome).arg("tmp").arg(hostname);
deleteDir(tmpDir); deleteDir(tmpDir);
::mkdir(TQFile::encodeName(newTmpDir), 0700); ::mkdir(TQFile::encodeName(newTmpDir), 0700);
::symlink(TQFile::encodeName(newTmpDir), TQFile::encodeName(tmpDir)); ::symlink(TQFile::encodeName(newTmpDir), TQFile::encodeName(tmpDir));
TQString socketDir = TQString("%1/%2-%3").tqarg(kdeHome).tqarg("socket").tqarg(hostname); TQString socketDir = TQString("%1/%2-%3").arg(kdeHome).arg("socket").arg(hostname);
deleteDir(socketDir); deleteDir(socketDir);
::mkdir(TQFile::encodeName(newSocketDir), 0700); ::mkdir(TQFile::encodeName(newSocketDir), 0700);
::symlink(TQFile::encodeName(newSocketDir), TQFile::encodeName(socketDir)); ::symlink(TQFile::encodeName(newSocketDir), TQFile::encodeName(socketDir));
m_configDir = TQString("%1/.kde/share/config/").tqarg(m_homeDir); m_configDir = TQString("%1/.kde/share/config/").arg(m_homeDir);
m_instance = new KInstance("kioskrun"); m_instance = new KInstance("kioskrun");
(void) m_instance->dirs(); // Create KStandardDirs obj (void) m_instance->dirs(); // Create KStandardDirs obj
@ -377,7 +377,7 @@ KioskRun::setConfigImmutable(const TQString &filename, const TQString &_group, b
} }
else else
{ {
TQString group = TQString("[%1]").tqarg(_group); TQString group = TQString("[%1]").arg(_group);
if (status->m_lines.find(group)) if (status->m_lines.find(group))
{ {
if (!bImmutable) if (!bImmutable)
@ -743,7 +743,7 @@ KioskRun::setupRuntimeEnv()
char hostname[256]; char hostname[256];
hostname[0] = 0; hostname[0] = 0;
gethostname(hostname, 255); gethostname(hostname, 255);
TQString cacheDir = TQString("%1/.kde/cache-%2").tqarg(m_homeDir).tqarg(hostname); TQString cacheDir = TQString("%1/.kde/cache-%2").arg(m_homeDir).arg(hostname);
deleteDir(cacheDir); deleteDir(cacheDir);
KStandardDirs::makeDir(cacheDir); KStandardDirs::makeDir(cacheDir);
@ -751,10 +751,10 @@ KioskRun::setupRuntimeEnv()
::unlink(TQFile::encodeName(m_homeDir+".kderc")); ::unlink(TQFile::encodeName(m_homeDir+".kderc"));
TQString iceAuth = TQString("%1/.ICEauthority").tqarg(TQDir::homeDirPath()); TQString iceAuth = TQString("%1/.ICEauthority").arg(TQDir::homeDirPath());
setenv("ICEAUTHORITY", TQFile::encodeName(iceAuth), 0); // Don't overwrite existing setting setenv("ICEAUTHORITY", TQFile::encodeName(iceAuth), 0); // Don't overwrite existing setting
TQString xAuth = TQString("%1/.Xauthority").tqarg(TQDir::homeDirPath()); TQString xAuth = TQString("%1/.Xauthority").arg(TQDir::homeDirPath());
setenv("XAUTHORITY", TQFile::encodeName(xAuth), 0); // Don't overwrite existing setting setenv("XAUTHORITY", TQFile::encodeName(xAuth), 0); // Don't overwrite existing setting
TQString dcopServerFile = m_homeDir+"/.kde/DCOPserver"; TQString dcopServerFile = m_homeDir+"/.kde/DCOPserver";
@ -902,11 +902,11 @@ KioskRun::createDir(const TQString &dir)
if (error.isEmpty()) if (error.isEmpty())
msg = i18n("<qt>The directory <b>%1</b> could not be created because of an unspecified problem.<p>") msg = i18n("<qt>The directory <b>%1</b> could not be created because of an unspecified problem.<p>")
.tqarg(dir); .arg(dir);
else else
msg = i18n("<qt>The directory <b>%1</b> could not be created because of the following problem:" msg = i18n("<qt>The directory <b>%1</b> could not be created because of the following problem:"
"<p>%2<p>") "<p>%2<p>")
.tqarg(dir, NETACCESS::lastErrorString()); .arg(dir, NETACCESS::lastErrorString());
msg += i18n("Without this directory your changes can not be saved.<p>" msg += i18n("Without this directory your changes can not be saved.<p>"
"Do you want to retry creating the directory or abort the saving of changes?</qt>"); "Do you want to retry creating the directory or abort the saving of changes?</qt>");
@ -944,7 +944,7 @@ KioskRun::createRemoteDirRecursive(const KURL &dest, bool ask)
// Parent doesn't exist, // Parent doesn't exist,
int result = KMessageBox::warningContinueCancel(kapp->mainWidget(), int result = KMessageBox::warningContinueCancel(kapp->mainWidget(),
i18n("<qt>The directory <b>%1</b> does not yet exist. " i18n("<qt>The directory <b>%1</b> does not yet exist. "
"Do you want to create it?").tqarg(parent.prettyURL()), TQString(), "Do you want to create it?").arg(parent.prettyURL()), TQString(),
i18n("Create &Dir")); i18n("Create &Dir"));
if (result != KMessageBox::Continue) if (result != KMessageBox::Continue)
return false; return false;
@ -984,11 +984,11 @@ KioskRun::createRemoteDir(const KURL &dest)
if (error.isEmpty()) if (error.isEmpty())
msg = i18n("<qt>The directory <b>%1</b> could not be created because of an unspecified problem.<p>") msg = i18n("<qt>The directory <b>%1</b> could not be created because of an unspecified problem.<p>")
.tqarg(dest.prettyURL()); .arg(dest.prettyURL());
else else
msg = i18n("<qt>The directory <b>%1</b> could not be created because of the following problem:" msg = i18n("<qt>The directory <b>%1</b> could not be created because of the following problem:"
"<p>%2<p>") "<p>%2<p>")
.tqarg(dest.prettyURL(), NETACCESS::lastErrorString()); .arg(dest.prettyURL(), NETACCESS::lastErrorString());
msg += i18n("Without this directory your files can not be uploaded.<p>" msg += i18n("Without this directory your files can not be uploaded.<p>"
"Do you want to retry creating the directory or abort uploading?</qt>"); "Do you want to retry creating the directory or abort uploading?</qt>");
@ -1034,11 +1034,11 @@ KioskRun::install(const TQString &file, const TQString &destination)
TQString msg; TQString msg;
if (error.isEmpty()) if (error.isEmpty())
msg = i18n("<qt>The file <b>%1</b> could not be installed because of an unspecified problem.") msg = i18n("<qt>The file <b>%1</b> could not be installed because of an unspecified problem.")
.tqarg(destination); .arg(destination);
else else
msg = i18n("<qt>The file <b>%1</b> could not be installed because of the following problem:" msg = i18n("<qt>The file <b>%1</b> could not be installed because of the following problem:"
"<p>%2<p>") "<p>%2<p>")
.tqarg(destination, NETACCESS::lastErrorString()); .arg(destination, NETACCESS::lastErrorString());
msg += i18n("Do you want to retry the installation or abort the saving of changes?</qt>"); msg += i18n("Do you want to retry the installation or abort the saving of changes?</qt>");
@ -1068,11 +1068,11 @@ KioskRun::uploadRemote(const TQString &file, const KURL &dest)
TQString msg; TQString msg;
if (error.isEmpty()) if (error.isEmpty())
msg = i18n("<qt>The file <b>%1</b> could not be uploaded to <b>%2</b> because of an unspecified problem.") msg = i18n("<qt>The file <b>%1</b> could not be uploaded to <b>%2</b> because of an unspecified problem.")
.tqarg(file, dest.prettyURL()); .arg(file, dest.prettyURL());
else else
msg = i18n("<qt>The file <b>%1</b> could not be uploaded to <b>%2</b> because of the following problem:" msg = i18n("<qt>The file <b>%1</b> could not be uploaded to <b>%2</b> because of the following problem:"
"<p>%3<p>") "<p>%3<p>")
.tqarg(file, dest.prettyURL(),NETACCESS::lastErrorString()); .arg(file, dest.prettyURL(),NETACCESS::lastErrorString());
msg += i18n("Do you want to retry or abort the uploading?</qt>"); msg += i18n("Do you want to retry or abort the uploading?</qt>");
@ -1156,7 +1156,7 @@ KioskRun::getProfileInfo(const TQString &profile, TQString &description, TQStrin
tmp.replace("/", "_"); tmp.replace("/", "_");
defaultInstallDir += tmp+"/"; defaultInstallDir += tmp+"/";
TQString group = TQString("Directories-%1").tqarg(profile); TQString group = TQString("Directories-%1").arg(profile);
config->setGroup(group); config->setGroup(group);
installDir = config->readEntry("prefixes", defaultInstallDir); installDir = config->readEntry("prefixes", defaultInstallDir);
@ -1204,11 +1204,11 @@ KioskRun::openKderc()
TQString msg; TQString msg;
if (error.isEmpty()) if (error.isEmpty())
msg = i18n("<qt>The file <b>%1</b> could not be accessed because of an unspecified problem.") msg = i18n("<qt>The file <b>%1</b> could not be accessed because of an unspecified problem.")
.tqarg(settingsUrl.path()); .arg(settingsUrl.path());
else else
msg = i18n("<qt>The file <b>%1</b> could not be accessed because of the following problem:" msg = i18n("<qt>The file <b>%1</b> could not be accessed because of the following problem:"
"<p>%2<p>") "<p>%2<p>")
.tqarg(settingsUrl.path(), error); .arg(settingsUrl.path(), error);
msg += i18n("Do you want to retry the operation or abort the saving of changes?</qt>"); msg += i18n("Do you want to retry the operation or abort the saving of changes?</qt>");
@ -1274,7 +1274,7 @@ KioskRun::setProfileInfo(const TQString &profile, const TQString &description, c
{ {
int msgResult = KMessageBox::warningYesNoCancelList(kapp->mainWidget(), int msgResult = KMessageBox::warningYesNoCancelList(kapp->mainWidget(),
i18n("<qt>The profile directory <b>%1</b> contains the following files, " i18n("<qt>The profile directory <b>%1</b> contains the following files, "
"do you wish to delete these files?").tqarg(installDir), "do you wish to delete these files?").arg(installDir),
allFiles, allFiles,
i18n("Deleting Profile"), i18n("Deleting Profile"),
#if KDE_IS_VERSION(3,2,91) #if KDE_IS_VERSION(3,2,91)
@ -1334,7 +1334,7 @@ KioskRun::setProfileInfo(const TQString &profile, const TQString &description, c
config->setGroup("Directories"); config->setGroup("Directories");
TQString oldAdmin = config->readEntry("kioskAdmin"); TQString oldAdmin = config->readEntry("kioskAdmin");
TQString group = TQString("Directories-%1").tqarg(profile); TQString group = TQString("Directories-%1").arg(profile);
config->setGroup(group); config->setGroup(group);
if ((installDir == config->readEntry("prefixes")) && if ((installDir == config->readEntry("prefixes")) &&
@ -1420,8 +1420,8 @@ KioskRun::newProfile()
KConfig *config = kapp->config(); KConfig *config = kapp->config();
for(int p = 1; p; p++) for(int p = 1; p; p++)
{ {
TQString profile = TQString("profile%1").tqarg(p); TQString profile = TQString("profile%1").arg(p);
TQString group = TQString("Directories-%1").tqarg(profile); TQString group = TQString("Directories-%1").arg(profile);
if (!config->hasGroup(group)) if (!config->hasGroup(group))
{ {
if (profilePrefix.isEmpty()) if (profilePrefix.isEmpty())
@ -1614,7 +1614,7 @@ KioskRun::setCustomRestrictionFileBrowsing(bool restrict)
TQStringList urlRestrictions; TQStringList urlRestrictions;
for(int i = 0; i < count; i++) for(int i = 0; i < count; i++)
{ {
TQString key = TQString("rule_%1").tqarg(i+1); TQString key = TQString("rule_%1").arg(i+1);
if (cfg->hasKey(key)) if (cfg->hasKey(key))
urlRestrictions.append(cfg->readEntry(key)); urlRestrictions.append(cfg->readEntry(key));
} }
@ -1640,7 +1640,7 @@ KioskRun::setCustomRestrictionFileBrowsing(bool restrict)
for(int i = 0; i < count; i++) for(int i = 0; i < count; i++)
{ {
TQString key = TQString("rule_%1").tqarg(i+1); TQString key = TQString("rule_%1").arg(i+1);
cfg->writeEntry(key, urlRestrictions[i]); cfg->writeEntry(key, urlRestrictions[i]);
} }
KioskRun::self()->setConfigImmutable(file, group, true); KioskRun::self()->setConfigImmutable(file, group, true);

@ -150,12 +150,12 @@ KioskSync::scanChangedFiles(const TQString &_dir, const TQString &prefix)
TQDir dir(_dir); TQDir dir(_dir);
if (!dir.exists()) if (!dir.exists())
{ {
emit warning(i18n("Directory <b>%1</b> does not exist.").tqarg(_dir)); emit warning(i18n("Directory <b>%1</b> does not exist.").arg(_dir));
return; return;
} }
if (!dir.isReadable()) if (!dir.isReadable())
{ {
emit warning(i18n("Directory <b>%1</b> is not readable.").tqarg(_dir)); emit warning(i18n("Directory <b>%1</b> is not readable.").arg(_dir));
return; return;
} }

@ -166,7 +166,7 @@ int main(int argc, char **argv)
while(!profiles.isEmpty()) while(!profiles.isEmpty())
{ {
TQString profile = profiles.back(); TQString profile = profiles.back();
config->setGroup(TQString::fromLatin1("Directories-%1").tqarg(profile)); config->setGroup(TQString::fromLatin1("Directories-%1").arg(profile));
profiles.pop_back(); profiles.pop_back();
TQStringList list = config->readListEntry("prefixes"); TQStringList list = config->readListEntry("prefixes");
for (TQStringList::ConstIterator it = list.begin(); it != list.end(); it++) for (TQStringList::ConstIterator it = list.begin(); it != list.end(); it++)

@ -84,7 +84,7 @@
<property name="frameShadow"> <property name="frameShadow">
<enum>Plain</enum> <enum>Plain</enum>
</property> </property>
<property name="tqalignment"> <property name="alignment">
<set>AlignCenter</set> <set>AlignCenter</set>
</property> </property>
</widget> </widget>

@ -150,7 +150,7 @@ bool ProfilePropsPage::save()
if (!userInfo.isValid()) if (!userInfo.isValid())
{ {
KMessageBox::sorry(this, KMessageBox::sorry(this,
i18n("<qt>The user <b>%1</b> is not an existing user.</qt>").tqarg(user)); i18n("<qt>The user <b>%1</b> is not an existing user.</qt>").arg(user));
comboUser->setFocus(); comboUser->setFocus();
return false; return false;
} }
@ -182,7 +182,7 @@ bool ProfilePropsPage::save()
i18n("<qt>The directory for this profile has changed " i18n("<qt>The directory for this profile has changed "
"from <b>%1</b> to <b>%2</b>.<p>" "from <b>%1</b> to <b>%2</b>.<p>"
"The following files under <b>%3</b> will be moved to <b>%4</b>") "The following files under <b>%3</b> will be moved to <b>%4</b>")
.tqarg(m_origInstallDir, installDir, m_origInstallDir, installDir), .arg(m_origInstallDir, installDir, m_origInstallDir, installDir),
fileList, fileList,
i18n("Profile Directory Changed")); i18n("Profile Directory Changed"));
if (msgResult != KMessageBox::Continue) if (msgResult != KMessageBox::Continue)

@ -82,7 +82,7 @@ void UserManagementPage::slotShowNotice()
"If you want to use these profiles in combination with older versions you need " "If you want to use these profiles in combination with older versions you need "
"to manually set the $TDEDIRS environment variable from the <b>starttde</b> " "to manually set the $TDEDIRS environment variable from the <b>starttde</b> "
"script by adding the following line:<br><br>" "script by adding the following line:<br><br>"
"<i>export TDEDIRS=$(kiosktool-tdedirs)</i><br><br>").tqarg(AVAILABLE_SINCE), "<i>export TDEDIRS=$(kiosktool-tdedirs)</i><br><br>").arg(AVAILABLE_SINCE),
i18n("Attention"), "user-profiles"); i18n("Attention"), "user-profiles");
} }
@ -193,7 +193,7 @@ void UserManagementPage::slotAddGroup()
{ {
int result = KMessageBox::warningContinueCancel(this, int result = KMessageBox::warningContinueCancel(this,
i18n("<qt>You already have a profile defined for group <b>%1</b>. " i18n("<qt>You already have a profile defined for group <b>%1</b>. "
"Do you want to replace it?</qt>").tqarg(group), "Do you want to replace it?</qt>").arg(group),
i18n("Duplicate Warning"), i18n("Duplicate Warning"),
i18n("&Replace")); i18n("&Replace"));
if (result != KMessageBox::Continue) if (result != KMessageBox::Continue)
@ -264,7 +264,7 @@ void UserManagementPage::slotAddUser()
{ {
int result = KMessageBox::warningContinueCancel(this, int result = KMessageBox::warningContinueCancel(this,
i18n("<qt>You already have a profile defined for user <b>%1</b>. " i18n("<qt>You already have a profile defined for user <b>%1</b>. "
"Do you want to replace it?</<qt>").tqarg(user), "Do you want to replace it?</<qt>").arg(user),
i18n("Duplicate Warning"), i18n("Duplicate Warning"),
i18n("&Replace")); i18n("&Replace"));
if (result != KMessageBox::Continue) if (result != KMessageBox::Continue)

Loading…
Cancel
Save