summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing/kexisimpleprintingpagesetup.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/main/printing/kexisimpleprintingpagesetup.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kexi/main/printing/kexisimpleprintingpagesetup.cpp')
-rw-r--r--kexi/main/printing/kexisimpleprintingpagesetup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.cpp b/kexi/main/printing/kexisimpleprintingpagesetup.cpp
index 1df66250..476f924a 100644
--- a/kexi/main/printing/kexisimpleprintingpagesetup.cpp
+++ b/kexi/main/printing/kexisimpleprintingpagesetup.cpp
@@ -38,7 +38,7 @@
#include <tqlabel.h>
#include <tqtimer.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpainter.h>
#include <tqcheckbox.h>
#include <tqwhatsthis.h>
@@ -356,7 +356,7 @@ KexiSimplePrintingPageSetup::KexiSimplePrintingPageSetup( KexiMainWindow *mainWi
m_contents->openDataLink->setText( i18n("Open This Query") );
m_origCaptionLabelText = i18n("<h2>Page setup for printing \"%1\" query data</h2>");
}
- m_contents->captionLabel->setText( m_origCaptionLabelText.arg(m_item->name()) );
+ m_contents->captionLabel->setText( m_origCaptionLabelText.tqarg(m_item->name()) );
}
connect(m_contents->headerTitleLineEdit,TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotTitleTextChanged(const TQString&)));
@@ -442,8 +442,8 @@ void KexiSimplePrintingPageSetup::updatePageLayoutAndUnitInfo()
TQString s;
if (m_settings.pageLayout.format == PG_CUSTOM) {
s += TQString(" (%1 %2 x %3 %4)")
- .arg(m_settings.pageLayout.ptWidth).arg(KoUnit::unitName(m_unit))
- .arg(m_settings.pageLayout.ptHeight).arg(KoUnit::unitName(m_unit));
+ .tqarg(m_settings.pageLayout.ptWidth).tqarg(KoUnit::unitName(m_unit))
+ .tqarg(m_settings.pageLayout.ptHeight).tqarg(KoUnit::unitName(m_unit));
}
else
s += KoPageFormat::name(m_settings.pageLayout.format);