summaryrefslogtreecommitdiffstats
path: root/kcontrol/screensaver
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/screensaver')
-rw-r--r--kcontrol/screensaver/scrnsave.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp
index 50dacf843..c3c154951 100644
--- a/kcontrol/screensaver/scrnsave.cpp
+++ b/kcontrol/screensaver/scrnsave.cpp
@@ -537,7 +537,7 @@ void KScreenSaver::findSavers()
mSaverListView->setSelected(selectedItem, true);
mSaverListView->setCurrentItem(selectedItem);
mSaverListView->ensureItemVisible(selectedItem);
- mSetupBt->setEnabled(!mSaverList.tqat(mSelected)->setup().isEmpty());
+ mSetupBt->setEnabled(!mSaverList.at(mSelected)->setup().isEmpty());
mTestBt->setEnabled(true);
}
@@ -587,7 +587,7 @@ void KScreenSaver::slotPreviewExited(KProcess *)
if (mSelected >= 0) {
mPreviewProc->clearArguments();
- TQString saver = mSaverList.tqat(mSelected)->saver();
+ TQString saver = mSaverList.at(mSelected)->saver();
TQTextStream ts(&saver, IO_ReadOnly);
TQString word;
@@ -665,9 +665,9 @@ void KScreenSaver::slotScreenSaver(TQListViewItem *item)
bool bChanged = (indx != mSelected);
if (!mSetupProc->isRunning())
- mSetupBt->setEnabled(!mSaverList.tqat(indx)->setup().isEmpty());
+ mSetupBt->setEnabled(!mSaverList.at(indx)->setup().isEmpty());
mTestBt->setEnabled(true);
- mSaver = mSaverList.tqat(indx)->file();
+ mSaver = mSaverList.at(indx)->file();
mSelected = indx;
setMonitor();
@@ -690,7 +690,7 @@ void KScreenSaver::slotSetup()
mSetupProc->clearArguments();
- TQString saver = mSaverList.tqat(mSelected)->setup();
+ TQString saver = mSaverList.at(mSelected)->setup();
if( saver.isEmpty())
return;
TQTextStream ts(&saver, IO_ReadOnly);
@@ -708,7 +708,7 @@ void KScreenSaver::slotSetup()
if (!kxsconfig) {
word = "-caption";
(*mSetupProc) << word;
- word = mSaverList.tqat(mSelected)->name();
+ word = mSaverList.at(mSelected)->name();
(*mSetupProc) << word;
word = "-icon";
(*mSetupProc) << word;
@@ -724,7 +724,7 @@ void KScreenSaver::slotSetup()
// Pass translated name to kxsconfig
if (kxsconfig) {
- word = mSaverList.tqat(mSelected)->name();
+ word = mSaverList.at(mSelected)->name();
(*mSetupProc) << word;
}
@@ -758,7 +758,7 @@ void KScreenSaver::slotTest()
}
mTestProc->clearArguments();
- TQString saver = mSaverList.tqat(mSelected)->saver();
+ TQString saver = mSaverList.at(mSelected)->saver();
TQTextStream ts(&saver, IO_ReadOnly);
TQString word;