diff options
Diffstat (limited to 'kexi/main/printing/kexisimpleprintingpagesetup.cpp')
-rw-r--r-- | kexi/main/printing/kexisimpleprintingpagesetup.cpp | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.cpp b/kexi/main/printing/kexisimpleprintingpagesetup.cpp index ecf21be9..83db3bbd 100644 --- a/kexi/main/printing/kexisimpleprintingpagesetup.cpp +++ b/kexi/main/printing/kexisimpleprintingpagesetup.cpp @@ -55,8 +55,8 @@ KexiSimplePrintingCommand::KexiSimplePrintingCommand( , m_previewWindow(0) , m_printPreviewNeedsReloading(false) { - connect(this, TQT_SIGNAL(showPageSetupRequested(KexiPart::Item*)), - m_mainWin, TQT_SLOT(showPageSetupForItem(KexiPart::Item*))); + connect(this, TQ_SIGNAL(showPageSetupRequested(KexiPart::Item*)), + m_mainWin, TQ_SLOT(showPageSetupForItem(KexiPart::Item*))); } KexiSimplePrintingCommand::~KexiSimplePrintingCommand() @@ -261,8 +261,8 @@ bool KexiSimplePrintingCommand::showPrintPreview(const KexiSimplePrintingSetting *m_previewEngine, tableOrQuery.captionOrName(), 0, TQt::WStyle_Customize|TQt::WStyle_NormalBorder|TQt::WStyle_Title| TQt::WStyle_SysMenu|TQt::WStyle_MinMax|TQt::WStyle_ContextHelp); - connect(m_previewWindow, TQT_SIGNAL(printRequested()), this, TQT_SLOT(print())); - connect(m_previewWindow, TQT_SIGNAL(pageSetupRequested()), this, TQT_SLOT(slotShowPageSetupRequested())); + connect(m_previewWindow, TQ_SIGNAL(printRequested()), this, TQ_SLOT(print())); + connect(m_previewWindow, TQ_SIGNAL(pageSetupRequested()), this, TQ_SLOT(slotShowPageSetupRequested())); m_previewWindow->show(); KDialog::centerOnScreen(m_previewWindow); m_printPreviewNeedsReloading = false; @@ -337,17 +337,17 @@ KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWi m_contents->printButton->setIconSet( KStdGuiItem::print().iconSet(TDEIcon::Small) ); m_contents->printButton->setText( KStdGuiItem::print().text() ); - connect(m_contents->printButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(print())); + connect(m_contents->printButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(print())); m_contents->printPreviewButton->setIconSet( SmallIconSet("document-print-preview") ); m_contents->printPreviewButton->setText( i18n("Print Previe&w...") ); - connect(m_contents->printPreviewButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(printPreview())); + connect(m_contents->printPreviewButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(printPreview())); m_contents->iconLabel->setFixedWidth(32+6); m_contents->iconLabel->setPixmap( DesktopIcon("text-x-generic", 32) ); TQWhatsThis::add(m_contents->headerTitleFontButton, i18n("Changes font for title text.")); - connect(m_contents->headerTitleFontButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangeTitleFont())); + connect(m_contents->headerTitleFontButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangeTitleFont())); if (m_item) { m_origCaptionLabelText = m_contents->captionLabel->text(); @@ -358,18 +358,18 @@ KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWi } m_contents->captionLabel->setText( m_origCaptionLabelText.arg(m_item->name()) ); } - connect(m_contents->headerTitleLineEdit,TQT_SIGNAL(textChanged(const TQString&)), - this, TQT_SLOT(slotTitleTextChanged(const TQString&))); + connect(m_contents->headerTitleLineEdit,TQ_SIGNAL(textChanged(const TQString&)), + this, TQ_SLOT(slotTitleTextChanged(const TQString&))); m_contents->headerTitleLineEdit->setFont( m_settings.pageTitleFont ); TQWhatsThis::add(m_contents->openDataLink, i18n("Shows data for table or query associated with this page setup.")); TQToolTip::add(m_contents->openDataLink, i18n("Shows data for table or query associated with this page setup.")); - connect(m_contents->openDataLink, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(slotOpenData())); + connect(m_contents->openDataLink, TQ_SIGNAL(leftClickedURL()), this, TQ_SLOT(slotOpenData())); TQWhatsThis::add(m_contents->saveSetupLink, i18n("Saves settings for this setup as default.")); - connect(m_contents->saveSetupLink, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(slotSaveSetup())); + connect(m_contents->saveSetupLink, TQ_SIGNAL(leftClickedURL()), this, TQ_SLOT(slotSaveSetup())); #if !KDE_IS_VERSION(3,5,1) && !defined(TQ_WS_WIN) //a fix for problems with focusable KUrlLabel on KDElibs<=3.5.0 m_contents->openDataLink->setFocusPolicy(NoFocus); @@ -388,15 +388,15 @@ KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWi updatePageLayoutAndUnitInfo(); TQWhatsThis::add(m_contents->changePageSizeAndMarginsButton, i18n("Changes page size and margins.")); - connect(m_contents->changePageSizeAndMarginsButton, TQT_SIGNAL(clicked()), - this, TQT_SLOT(slotChangePageSizeAndMargins())); + connect(m_contents->changePageSizeAndMarginsButton, TQ_SIGNAL(clicked()), + this, TQ_SLOT(slotChangePageSizeAndMargins())); - connect(m_contents->addPageNumbersCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAddPageNumbersCheckboxToggled(bool))); - connect(m_contents->addDateTimeCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAddDateTimeCheckboxToggled(bool))); - connect(m_contents->addTableBordersCheckbox, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(slotAddTableBordersCheckboxToggled(bool))); + connect(m_contents->addPageNumbersCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAddPageNumbersCheckboxToggled(bool))); + connect(m_contents->addDateTimeCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAddDateTimeCheckboxToggled(bool))); + connect(m_contents->addTableBordersCheckbox, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(slotAddTableBordersCheckboxToggled(bool))); if (!ok) { // no data! @@ -414,16 +414,16 @@ KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWi m_printPreviewNeedsReloading = false; /* if (printPreview) - TQTimer::singleShot(50, this, TQT_SLOT(printPreview())); + TQTimer::singleShot(50, this, TQ_SLOT(printPreview())); else if (print) - TQTimer::singleShot(50, this, TQT_SLOT(print()));*/ - connect(this, TQT_SIGNAL(printItemRequested(KexiPart::Item*,const KexiSimplePrintingSettings&, + TQTimer::singleShot(50, this, TQ_SLOT(print()));*/ + connect(this, TQ_SIGNAL(printItemRequested(KexiPart::Item*,const KexiSimplePrintingSettings&, const TQString&)), - m_mainWin, TQT_SLOT(printItem(KexiPart::Item*,const KexiSimplePrintingSettings&, + m_mainWin, TQ_SLOT(printItem(KexiPart::Item*,const KexiSimplePrintingSettings&, const TQString&))); - connect(this, TQT_SIGNAL(printPreviewForItemRequested(KexiPart::Item*, + connect(this, TQ_SIGNAL(printPreviewForItemRequested(KexiPart::Item*, const KexiSimplePrintingSettings&,const TQString&,bool)), - m_mainWin, TQT_SLOT(printPreviewForItem(KexiPart::Item*, + m_mainWin, TQ_SLOT(printPreviewForItem(KexiPart::Item*, const KexiSimplePrintingSettings&,const TQString&,bool))); } |