summaryrefslogtreecommitdiffstats
path: root/tdeprint/management/kmmainview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeprint/management/kmmainview.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/management/kmmainview.cpp')
-rw-r--r--tdeprint/management/kmmainview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/management/kmmainview.cpp b/tdeprint/management/kmmainview.cpp
index c4b35bc6f..6b75edba6 100644
--- a/tdeprint/management/kmmainview.cpp
+++ b/tdeprint/management/kmmainview.cpp
@@ -148,7 +148,7 @@ void KMMainView::restoreSettings()
TDEConfig *conf = KMFactory::self()->printConfig();
conf->setGroup("General");
setViewType((KMPrinterView::ViewType)conf->readNumEntry("ViewType",KMPrinterView::Icons));
- setOrientation(conf->readNumEntry("Orientation", Qt::Vertical));
+ setOrientation(conf->readNumEntry("Orientation", TQt::Vertical));
bool view = conf->readBoolEntry("ViewToolBar",false);
slotToggleToolBar(view);
((TDEToggleAction*)m_actions->action("view_toolbar"))->setChecked(view);
@@ -608,13 +608,13 @@ void KMMainView::slotSoftDefault()
void KMMainView::setOrientation(int o)
{
- int ID = (o == Qt::Horizontal ? 1 : 0);
+ int ID = (o == TQt::Horizontal ? 1 : 0);
((TDESelectAction*)m_actions->action("orientation_change"))->setCurrentItem(ID);
slotChangeDirection(ID);
}
int KMMainView::orientation() const
-{ return (m_boxlayout->direction() == TQBoxLayout::LeftToRight ? Qt::Horizontal : Qt::Vertical); }
+{ return (m_boxlayout->direction() == TQBoxLayout::LeftToRight ? TQt::Horizontal : TQt::Vertical); }
void KMMainView::slotChangeDirection(int d)
{