summaryrefslogtreecommitdiffstats
path: root/tdeprint/cups
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/cups')
-rw-r--r--tdeprint/cups/cupsdconf2/cupsddialog.h2
-rw-r--r--tdeprint/cups/cupsdconf2/cupsdpage.h6
-rw-r--r--tdeprint/cups/image.cpp4
-rw-r--r--tdeprint/cups/imagepreview.cpp2
-rw-r--r--tdeprint/cups/ipprequest.h2
-rw-r--r--tdeprint/cups/kmconfigcupsdir.cpp2
-rw-r--r--tdeprint/cups/kmcupsuimanager.cpp2
7 files changed, 10 insertions, 10 deletions
diff --git a/tdeprint/cups/cupsdconf2/cupsddialog.h b/tdeprint/cups/cupsdconf2/cupsddialog.h
index 2d1de6689..683e998d7 100644
--- a/tdeprint/cups/cupsdconf2/cupsddialog.h
+++ b/tdeprint/cups/cupsdconf2/cupsddialog.h
@@ -52,7 +52,7 @@ protected:
private:
TQPtrList<CupsdPage> pagelist_;
CupsdConf *conf_;
- QString filename_;
+ TQString filename_;
};
#endif
diff --git a/tdeprint/cups/cupsdconf2/cupsdpage.h b/tdeprint/cups/cupsdconf2/cupsdpage.h
index 41209a5c0..9d8008d1f 100644
--- a/tdeprint/cups/cupsdconf2/cupsdpage.h
+++ b/tdeprint/cups/cupsdconf2/cupsdpage.h
@@ -46,9 +46,9 @@ protected:
protected:
CupsdConf *conf_;
- QString label_;
- QString header_;
- QString pixmap_;
+ TQString label_;
+ TQString header_;
+ TQString pixmap_;
};
#endif
diff --git a/tdeprint/cups/image.cpp b/tdeprint/cups/image.cpp
index ce56bb4b9..d26b01400 100644
--- a/tdeprint/cups/image.cpp
+++ b/tdeprint/cups/image.cpp
@@ -249,10 +249,10 @@ TQImage convertImage(const TQImage& image, int hue, int saturation, int brightne
{
float mat[3][3] = {{1.0,0.0,0.0},{0.0,1.0,0.0},{0.0,0.0,1.0}};
int lut[3][3][256];
- QRgb c;
+ TQRgb c;
int r,g,b,v,r2,g2,b2;
float gam = 1.0/(float(gamma)/1000.0);
- QImage img(image);
+ TQImage img(image);
saturate(mat,saturation*0.01);
huerotate(mat,(float)hue);
diff --git a/tdeprint/cups/imagepreview.cpp b/tdeprint/cups/imagepreview.cpp
index e2401d6d3..549010f44 100644
--- a/tdeprint/cups/imagepreview.cpp
+++ b/tdeprint/cups/imagepreview.cpp
@@ -55,7 +55,7 @@ void ImagePreview::setParameters(int brightness, int hue, int saturation, int ga
}
void ImagePreview::paintEvent(TQPaintEvent*){
- QImage tmpImage = convertImage(image_,hue_,(bw_ ? 0 : saturation_),brightness_,gamma_);
+ TQImage tmpImage = convertImage(image_,hue_,(bw_ ? 0 : saturation_),brightness_,gamma_);
int x = (width()-tmpImage.width())/2, y = (height()-tmpImage.height())/2;
TQPixmap buffer(width(), height());
diff --git a/tdeprint/cups/ipprequest.h b/tdeprint/cups/ipprequest.h
index 84a7c5b18..8577c9b93 100644
--- a/tdeprint/cups/ipprequest.h
+++ b/tdeprint/cups/ipprequest.h
@@ -102,7 +102,7 @@ protected:
private:
ipp_t *request_;
- QString host_;
+ TQString host_;
int port_;
bool connect_;
int dump_;
diff --git a/tdeprint/cups/kmconfigcupsdir.cpp b/tdeprint/cups/kmconfigcupsdir.cpp
index 10a455226..ab82d290b 100644
--- a/tdeprint/cups/kmconfigcupsdir.cpp
+++ b/tdeprint/cups/kmconfigcupsdir.cpp
@@ -55,7 +55,7 @@ KMConfigCupsDir::KMConfigCupsDir(TQWidget *parent)
void KMConfigCupsDir::loadConfig(TDEConfig *conf)
{
conf->setGroup("CUPS");
- QString dir = conf->readPathEntry("InstallDir");
+ TQString dir = conf->readPathEntry("InstallDir");
m_stddir->setChecked(dir.isEmpty());
m_installdir->setURL(dir);
}
diff --git a/tdeprint/cups/kmcupsuimanager.cpp b/tdeprint/cups/kmcupsuimanager.cpp
index 03b85bb0a..b1d4e60f6 100644
--- a/tdeprint/cups/kmcupsuimanager.cpp
+++ b/tdeprint/cups/kmcupsuimanager.cpp
@@ -134,7 +134,7 @@ void KMCupsUiManager::setupWizard(KMWizard *wizard)
backend->addBackend(KMWizard::Class,i18n("Cl&ass of printers"),false,whatsThisClassOfPrinters);
IppRequest req;
- QString uri;
+ TQString uri;
req.setOperation(CUPS_GET_DEVICES);
uri = TQString::fromLocal8Bit("ipp://%1/printers/").arg(CupsInfos::self()->hostaddr());