From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kdeprint_part/printpart.cpp | 10 +++++----- kdeprint/kdeprint_part/printpart.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kdeprint/kdeprint_part') diff --git a/kdeprint/kdeprint_part/printpart.cpp b/kdeprint/kdeprint_part/printpart.cpp index 535c0e7e0..c8d6ccb15 100644 --- a/kdeprint/kdeprint_part/printpart.cpp +++ b/kdeprint/kdeprint_part/printpart.cpp @@ -28,14 +28,14 @@ #include #include #include -#include +#include typedef KParts::GenericFactory PrintPartFactory; K_EXPORT_COMPONENT_FACTORY( libkdeprint_part, PrintPartFactory ) -PrintPart::PrintPart(QWidget *parentWidget, const char * /*widgetName*/ , - QObject *parent, const char *name, - const QStringList & /*args*/ ) +PrintPart::PrintPart(TQWidget *parentWidget, const char * /*widgetName*/ , + TQObject *parent, const char *name, + const TQStringList & /*args*/ ) : KParts::ReadOnlyPart(parent, name) { setInstance(PrintPartFactory::instance()); @@ -43,7 +43,7 @@ PrintPart::PrintPart(QWidget *parentWidget, const char * /*widgetName*/ , m_extension = new PrintPartExtension(this); m_view = new KMMainView(parentWidget, "MainView", actionCollection()); - m_view->setFocusPolicy(QWidget::ClickFocus); + m_view->setFocusPolicy(TQWidget::ClickFocus); m_view->enableToolbar(false); setWidget(m_view); diff --git a/kdeprint/kdeprint_part/printpart.h b/kdeprint/kdeprint_part/printpart.h index afba3c277..c84fed1cc 100644 --- a/kdeprint/kdeprint_part/printpart.h +++ b/kdeprint/kdeprint_part/printpart.h @@ -31,9 +31,9 @@ class PrintPart : public KParts::ReadOnlyPart { Q_OBJECT public: - PrintPart(QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, - const QStringList & ); + PrintPart(TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, + const TQStringList & ); virtual ~PrintPart(); static KAboutData *createAboutData(); -- cgit v1.2.1