summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/main/printing
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/main/printing')
-rw-r--r--kexi/main/printing/kexisimpleprintingpagesetup.cpp2
-rw-r--r--kexi/main/printing/kexisimpleprintpreviewwindow.cpp8
-rw-r--r--kexi/main/printing/kexisimpleprintpreviewwindow.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.cpp b/kexi/main/printing/kexisimpleprintingpagesetup.cpp
index 5d823a13..de3f64e2 100644
--- a/kexi/main/printing/kexisimpleprintingpagesetup.cpp
+++ b/kexi/main/printing/kexisimpleprintingpagesetup.cpp
@@ -501,7 +501,7 @@ void KexiSimplePrintingPageSetup::slotTitleTextChanged(const TQString&)
void KexiSimplePrintingPageSetup::slotChangeTitleFont()
{
- if (TQDialog::Accepted != KFontDialog::getFont(m_settings.pageTitleFont, false, this))
+ if (TQDialog::Accepted != TDEFontDialog::getFont(m_settings.pageTitleFont, false, this))
return;
m_contents->headerTitleLineEdit->setFont( m_settings.pageTitleFont );
setDirty(true);
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
index 83d9cb06..e587556b 100644
--- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
+++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
@@ -162,10 +162,10 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow(
TQVBoxLayout *lyr = new TQVBoxLayout(this, 6);
int id;
- m_toolbar = new KToolBar(0, this);
+ m_toolbar = new TDEToolBar(0, this);
m_toolbar->setLineWidth(0);
m_toolbar->setFrameStyle(TQFrame::NoFrame);
- m_toolbar->setIconText(KToolBar::IconTextRight);
+ m_toolbar->setIconText(TDEToolBar::IconTextRight);
lyr->addWidget(m_toolbar);
id = m_toolbar->insertWidget( -1, 0, new KPushButton(KStdGuiItem::print(), m_toolbar) );
@@ -204,14 +204,14 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow(
TQHBoxLayout *navToolbarLyr = new TQHBoxLayout(navToolbarWidget);
lyr->addWidget(navToolbarWidget);
- m_navToolbar = new KToolBar(0, navToolbarWidget);
+ m_navToolbar = new TDEToolBar(0, navToolbarWidget);
navToolbarLyr->addStretch(1);
navToolbarLyr->addWidget(m_navToolbar);
navToolbarLyr->addStretch(1);
// m_navToolbar->setFullWidth(true);
m_navToolbar->setLineWidth(0);
m_navToolbar->setFrameStyle(TQFrame::NoFrame);
- m_navToolbar->setIconText(KToolBar::IconTextRight);
+ m_navToolbar->setIconText(TDEToolBar::IconTextRight);
m_idFirst = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("start"), i18n("First Page"), m_navToolbar));
m_navToolbar->addConnection(m_idFirst, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotFirstClicked()));
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.h b/kexi/main/printing/kexisimpleprintpreviewwindow.h
index 8f76e803..c966553f 100644
--- a/kexi/main/printing/kexisimpleprintpreviewwindow.h
+++ b/kexi/main/printing/kexisimpleprintpreviewwindow.h
@@ -71,7 +71,7 @@ class KexiSimplePrintPreviewWindow : public TQWidget
KexiSimplePrintingEngine &m_engine;
const KexiSimplePrintingSettings& m_settings;
- KToolBar *m_toolbar, *m_navToolbar;
+ TDEToolBar *m_toolbar, *m_navToolbar;
int m_pageNumber;
int m_pagesCount; //!< needed to know that pages could has been changed
int m_idFirst, m_idLast, m_idPrevious, m_idNext, m_idPageNumberLabel;