From a49b0e2c531c81e420dc103b5130e2fa8643f46d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 21:03:36 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f) --- kcontrol/colors/colorscm.cpp | 2 +- kcontrol/colors/widgetcanvas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol/colors') diff --git a/kcontrol/colors/colorscm.cpp b/kcontrol/colors/colorscm.cpp index 214462046..c767836fd 100644 --- a/kcontrol/colors/colorscm.cpp +++ b/kcontrol/colors/colorscm.cpp @@ -254,7 +254,7 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis groupLayout = new TQHBoxLayout; groupLayout2->addLayout(groupLayout); - sb = new TQSlider( Qt::Horizontal,group,"Slider" ); + sb = new TQSlider( TQt::Horizontal,group,"Slider" ); sb->setRange( 0, 10 ); sb->setFocusPolicy( TQWidget::StrongFocus ); connect(sb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(sliderValueChanged(int))); diff --git a/kcontrol/colors/widgetcanvas.cpp b/kcontrol/colors/widgetcanvas.cpp index b08ef6135..e93452caa 100644 --- a/kcontrol/colors/widgetcanvas.cpp +++ b/kcontrol/colors/widgetcanvas.cpp @@ -315,7 +315,7 @@ void WidgetCanvas::drawSampleWidgets() // Create a scrollbar and redirect drawing into a temp. pixmap to save a // lot of fiddly drawing later. - TQScrollBar *vertScrollBar = new TQScrollBar( Qt::Vertical, this ); + TQScrollBar *vertScrollBar = new TQScrollBar( TQt::Vertical, this ); // TODO: vertScrollBar->setStyle( new TQMotifStyle() ); vertScrollBar->setGeometry( 400, 400, SCROLLBAR_SIZE, height()); vertScrollBar->setRange( 0, 0 ); -- cgit v1.2.1