summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp')
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
index 092e1a7e5..2249050ab 100644
--- a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
@@ -25,7 +25,7 @@
#include <tqlabel.h>
#include <tqlineedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwhatsthis.h>
#include <klocale.h>
@@ -127,7 +127,7 @@ void CupsdSecurityPage::slotAdd()
{
if (KMessageBox::warningContinueCancel(this, i18n("This location is already defined. Do you want to replace the existing one?"),TQString::null,i18n("Replace")) == KMessageBox::Continue)
{
- index = locs_.tqat();
+ index = locs_.at();
locs_.remove();
break;
}
@@ -149,7 +149,7 @@ void CupsdSecurityPage::slotAdd()
void CupsdSecurityPage::slotEdit(int index)
{
- CupsLocation *loc = locs_.tqat(index);
+ CupsLocation *loc = locs_.at(index);
LocationDialog::editLocation(loc, this, conf_);
}