diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdeprint/kdeprint_part | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kdeprint_part')
-rw-r--r-- | kdeprint/kdeprint_part/printpart.cpp | 10 | ||||
-rw-r--r-- | kdeprint/kdeprint_part/printpart.h | 6 |
2 files changed, 8 insertions, 8 deletions
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 <kaboutdata.h> #include <kdebug.h> #include <kparts/genericfactory.h> -#include <qwidget.h> +#include <tqwidget.h> typedef KParts::GenericFactory<PrintPart> 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(); |