summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups')
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp4
-rw-r--r--tdeprint/cups/cupsdconf2/locationdialog.cpp2
-rw-r--r--tdeprint/cups/imagepreview.cpp2
-rw-r--r--tdeprint/cups/kpimagepage.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
index 092e1a7e5..d11851c60 100644
--- a/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
+++ b/tdeprint/cups/cupsdconf2/cupsdsecuritypage.cpp
@@ -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_);
}
diff --git a/tdeprint/cups/cupsdconf2/locationdialog.cpp b/tdeprint/cups/cupsdconf2/locationdialog.cpp
index 7e1858cc7..3896f7845 100644
--- a/tdeprint/cups/cupsdconf2/locationdialog.cpp
+++ b/tdeprint/cups/cupsdconf2/locationdialog.cpp
@@ -128,7 +128,7 @@ void LocationDialog::setInfos(CupsdConf *conf)
void LocationDialog::fillLocation(CupsLocation *loc)
{
- loc->resource_ = conf_->resources_.tqat(resource_->currentItem());
+ loc->resource_ = conf_->resources_.at(resource_->currentItem());
loc->resourcename_ = loc->resource_->path_;
loc->authtype_ = authtype_->currentItem();
loc->authclass_ = (loc->authtype_ == AUTHTYPE_NONE ? AUTHCLASS_ANONYMOUS : authclass_->currentItem());
diff --git a/tdeprint/cups/imagepreview.cpp b/tdeprint/cups/imagepreview.cpp
index 9912c1886..e2401d6d3 100644
--- a/tdeprint/cups/imagepreview.cpp
+++ b/tdeprint/cups/imagepreview.cpp
@@ -51,7 +51,7 @@ void ImagePreview::setParameters(int brightness, int hue, int saturation, int ga
hue_ = hue;
saturation_ = saturation;
gamma_ = gamma;
- tqrepaint();
+ repaint();
}
void ImagePreview::paintEvent(TQPaintEvent*){
diff --git a/tdeprint/cups/kpimagepage.cpp b/tdeprint/cups/kpimagepage.cpp
index 13332dee3..701ffbc4d 100644
--- a/tdeprint/cups/kpimagepage.cpp
+++ b/tdeprint/cups/kpimagepage.cpp
@@ -192,7 +192,7 @@ KPImagePage::KPImagePage(DrMain *driver, TQWidget *parent, const char *name)
TQString whatsThisPreviewPositionImagePage = i18n( " <qt> "
" <p><b>Position Preview Thumbnail</b></p> "
" <p>This position preview thumbnail indicates the position of the image on the paper sheet. "
- " <p>Click on horizontal and vertical radio buttons to move image tqalignment on paper around. Options are: "
+ " <p>Click on horizontal and vertical radio buttons to move image alignment on paper around. Options are: "
" <ul> "
" <li> center </li>"
" <li> top </li>"