diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/cups/ippreportdlg.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/cups/ippreportdlg.cpp')
-rw-r--r-- | kdeprint/cups/ippreportdlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeprint/cups/ippreportdlg.cpp b/kdeprint/cups/ippreportdlg.cpp index 71256ce39..343cd4118 100644 --- a/kdeprint/cups/ippreportdlg.cpp +++ b/kdeprint/cups/ippreportdlg.cpp @@ -26,11 +26,11 @@ #include <kmessagebox.h> #include <kdebug.h> #include <ktextedit.h> -#include <qsimplerichtext.h> -#include <qpainter.h> -#include <qpaintdevicemetrics.h> +#include <tqsimplerichtext.h> +#include <tqpainter.h> +#include <tqpaintdevicemetrics.h> -IppReportDlg::IppReportDlg(QWidget *parent, const char *name) +IppReportDlg::IppReportDlg(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("IPP Report"), Close|User1, Close, false, KGuiItem(i18n("&Print"), "fileprint")) { m_edit = new KTextEdit(this); @@ -60,7 +60,7 @@ void IppReportDlg::slotUser1() while (1) { rich.draw(&painter, margin, margin, r, colorGroup()); - QString s = caption() + ": " + QString::number(page); + QString s = caption() + ": " + TQString::number(page); QRect br = painter.fontMetrics().boundingRect(s); painter.drawText(r.right()-br.width()-5, r.top()-br.height()-4, br.width()+5, br.height()+4, Qt::AlignRight|Qt::AlignTop, s); r.moveBy(0, r.height()-10); @@ -76,7 +76,7 @@ void IppReportDlg::slotUser1() } } -void IppReportDlg::report(IppRequest *req, int group, const QString& caption) +void IppReportDlg::report(IppRequest *req, int group, const TQString& caption) { QString str_report; QTextStream t(&str_report, IO_WriteOnly); |