diff options
Diffstat (limited to 'kexi/main/printing')
9 files changed, 18 insertions, 18 deletions
diff --git a/kexi/main/printing/kexisimpleprintingengine.cpp b/kexi/main/printing/kexisimpleprintingengine.cpp index 59a86efd..45ab5892 100644 --- a/kexi/main/printing/kexisimpleprintingengine.cpp +++ b/kexi/main/printing/kexisimpleprintingengine.cpp @@ -116,8 +116,8 @@ void KexiSimplePrintingSettings::save() //------------------------ KexiSimplePrintingEngine::KexiSimplePrintingEngine( - const KexiSimplePrintingSettings& settings, TQObject* tqparent) - : TQObject(tqparent, "KexiSimplePrintingEngine") + const KexiSimplePrintingSettings& settings, TQObject* parent) + : TQObject(parent, "KexiSimplePrintingEngine") , m_settings(&settings) , m_pdm(0) { diff --git a/kexi/main/printing/kexisimpleprintingengine.h b/kexi/main/printing/kexisimpleprintingengine.h index f3a5371d..8c6d995d 100644 --- a/kexi/main/printing/kexisimpleprintingengine.h +++ b/kexi/main/printing/kexisimpleprintingengine.h @@ -60,7 +60,7 @@ class KexiSimplePrintingEngine : public TQObject TQ_OBJECT public: - KexiSimplePrintingEngine( const KexiSimplePrintingSettings& settings, TQObject* tqparent ); + KexiSimplePrintingEngine( const KexiSimplePrintingSettings& settings, TQObject* parent ); ~KexiSimplePrintingEngine(); bool init(KexiDB::Connection& conn, KexiDB::TableOrQuerySchema& tableOrQuery, diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.cpp b/kexi/main/printing/kexisimpleprintingpagesetup.cpp index f528cb23..f8634e82 100644 --- a/kexi/main/printing/kexisimpleprintingpagesetup.cpp +++ b/kexi/main/printing/kexisimpleprintingpagesetup.cpp @@ -47,8 +47,8 @@ #include <kexiutils/tristate.h> KexiSimplePrintingCommand::KexiSimplePrintingCommand( - KexiMainWindow* mainWin, int objectId, TQObject* tqparent) - : TQObject(tqparent, "KexiSimplePrintCommand") + KexiMainWindow* mainWin, int objectId, TQObject* parent) + : TQObject(parent, "KexiSimplePrintCommand") , m_previewEngine(0) , m_mainWin(mainWin) , m_objectId(objectId) @@ -297,9 +297,9 @@ void KexiSimplePrintingCommand::slotShowPageSetupRequested() //---------------------------------------------------------- -KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, TQWidget *tqparent, +KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, TQWidget *parent, TQMap<TQString,TQString>* args ) - : KexiViewBase( mainWin, tqparent, "KexiSimplePrintingPageSetup" ) + : KexiViewBase( mainWin, parent, "KexiSimplePrintingPageSetup" ) , m_settings( KexiSimplePrintingSettings::load() ) // , m_command(0) { diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.h b/kexi/main/printing/kexisimpleprintingpagesetup.h index b2fbc668..6efd1314 100644 --- a/kexi/main/printing/kexisimpleprintingpagesetup.h +++ b/kexi/main/printing/kexisimpleprintingpagesetup.h @@ -42,7 +42,7 @@ class KexiSimplePrintingCommand : public TQObject public: KexiSimplePrintingCommand(KexiMainWindow* mainWin, int objectId, - TQObject* tqparent = 0); + TQObject* parent = 0); ~KexiSimplePrintingCommand(); public slots: @@ -76,7 +76,7 @@ class KexiSimplePrintingPageSetup : public KexiViewBase TQ_OBJECT public: - KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, TQWidget *tqparent, TQMap<TQString,TQString>* args ); + KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, TQWidget *parent, TQMap<TQString,TQString>* args ); ~KexiSimplePrintingPageSetup(); public slots: diff --git a/kexi/main/printing/kexisimpleprintingpart.cpp b/kexi/main/printing/kexisimpleprintingpart.cpp index ca751003..048f92ae 100644 --- a/kexi/main/printing/kexisimpleprintingpart.cpp +++ b/kexi/main/printing/kexisimpleprintingpart.cpp @@ -48,12 +48,12 @@ KexiSimplePrintingPart::~KexiSimplePrintingPart() { } -KexiViewBase* KexiSimplePrintingPart::createView(TQWidget *tqparent, KexiDialogBase* dialog, +KexiViewBase* KexiSimplePrintingPart::createView(TQWidget *parent, KexiDialogBase* dialog, KexiPart::Item &item, int viewMode, TQMap<TQString,TQString>* args) { Q_UNUSED( item ); if (viewMode == Kexi::DesignViewMode) { - KexiSimplePrintingPageSetup *w = new KexiSimplePrintingPageSetup( dialog->mainWin(), tqparent, args ); + KexiSimplePrintingPageSetup *w = new KexiSimplePrintingPageSetup( dialog->mainWin(), parent, args ); return w; } diff --git a/kexi/main/printing/kexisimpleprintingpart.h b/kexi/main/printing/kexisimpleprintingpart.h index 6e44ff4c..00c44b50 100644 --- a/kexi/main/printing/kexisimpleprintingpart.h +++ b/kexi/main/printing/kexisimpleprintingpart.h @@ -44,7 +44,7 @@ class KexiSimplePrintingPart : public KexiPart::StaticPart virtual ~KexiSimplePrintingPart(); protected: - virtual KexiViewBase* createView(TQWidget *tqparent, KexiDialogBase* dialog, + virtual KexiViewBase* createView(TQWidget *parent, KexiDialogBase* dialog, KexiPart::Item &item, int viewMode, TQMap<TQString,TQString>* staticObjectArgs); }; diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp index 960a23b2..68c1c673 100644 --- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp +++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp @@ -36,8 +36,8 @@ #include <kapplication.h> KexiSimplePrintPreviewView::KexiSimplePrintPreviewView( - TQWidget *tqparent, KexiSimplePrintPreviewWindow *window) - : TQWidget(tqparent, "KexiSimplePrintPreviewView", WStaticContents)//|WNoAutoErase) + TQWidget *parent, KexiSimplePrintPreviewWindow *window) + : TQWidget(parent, "KexiSimplePrintPreviewView", WStaticContents)//|WNoAutoErase) , m_window(window) { enablePainting = false; @@ -150,8 +150,8 @@ void KexiSimplePrintPreviewScrollView::setContentsPos(int x, int y) KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow( KexiSimplePrintingEngine &engine, const TQString& previewName, - TQWidget *tqparent, WFlags f) - : TQWidget(tqparent, "KexiSimplePrintPreviewWindow", f) + TQWidget *parent, WFlags f) + : TQWidget(parent, "KexiSimplePrintPreviewWindow", f) , m_engine(engine) , m_settings(*m_engine.settings()) , m_pageNumber(-1) diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.h b/kexi/main/printing/kexisimpleprintpreviewwindow.h index d3119339..35870285 100644 --- a/kexi/main/printing/kexisimpleprintpreviewwindow.h +++ b/kexi/main/printing/kexisimpleprintpreviewwindow.h @@ -38,7 +38,7 @@ class KexiSimplePrintPreviewWindow : public TQWidget public: KexiSimplePrintPreviewWindow(KexiSimplePrintingEngine &engine, - const TQString& previewName, TQWidget *tqparent, WFlags f = 0); + const TQString& previewName, TQWidget *parent, WFlags f = 0); ~KexiSimplePrintPreviewWindow(); int currentPage() const { return m_pageNumber; } diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow_p.h b/kexi/main/printing/kexisimpleprintpreviewwindow_p.h index 2c72e8a1..5246d329 100644 --- a/kexi/main/printing/kexisimpleprintpreviewwindow_p.h +++ b/kexi/main/printing/kexisimpleprintpreviewwindow_p.h @@ -25,7 +25,7 @@ class KexiSimplePrintPreviewView : public TQWidget { public: - KexiSimplePrintPreviewView(TQWidget *tqparent, KexiSimplePrintPreviewWindow *window); + KexiSimplePrintPreviewView(TQWidget *parent, KexiSimplePrintPreviewWindow *window); virtual void paintEvent( TQPaintEvent *pe ); |