From 04d353236066b9aa85f6387fa05d3d37b75a7dd2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:03:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527) --- tdeprint/kprintpreview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tdeprint/kprintpreview.cpp') diff --git a/tdeprint/kprintpreview.cpp b/tdeprint/kprintpreview.cpp index d4de7925d..3882ecb6e 100644 --- a/tdeprint/kprintpreview.cpp +++ b/tdeprint/kprintpreview.cpp @@ -129,7 +129,7 @@ static KLibFactory* componentFactory() static bool continuePrint(const TQString& msg_, TQWidget *parent, bool previewOnly) { - QString msg(msg_); + TQString msg(msg_); if (previewOnly) { KMessageBox::error(parent, msg); @@ -275,7 +275,7 @@ bool KPrintPreview::preview(const TQString& file, bool previewOnly, WId parentId exe = conf->readPathEntry("PreviewCommand", "gv"); if (TDEStandardDirs::findExe(exe).isEmpty()) { - QString msg = i18n("The preview program %1 cannot be found. " + TQString msg = i18n("The preview program %1 cannot be found. " "Check that the program is correctly installed and " "located in a directory included in your PATH " "environment variable.").arg(exe); @@ -314,7 +314,7 @@ bool KPrintPreview::preview(const TQString& file, bool previewOnly, WId parentId // start the preview process if (!proc.startPreview()) { - QString msg = i18n("Preview failed: unable to start program %1.").arg(exe); + TQString msg = i18n("Preview failed: unable to start program %1.").arg(exe); return continuePrint(msg, parentW, previewOnly); } else if (!previewOnly) -- cgit v1.2.1