From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcoloredit/paletteview.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kcoloredit/paletteview.cpp') diff --git a/kcoloredit/paletteview.cpp b/kcoloredit/paletteview.cpp index 8e05a2d7..6648d88b 100644 --- a/kcoloredit/paletteview.cpp +++ b/kcoloredit/paletteview.cpp @@ -15,34 +15,34 @@ * * ***************************************************************************/ -#include +#include #include "kcoloreditview.h" #include "paletteview.h" PaletteView::PaletteView(const int defaultCellWidth, const int defaultCellHeight, const int cellSpacing, - KColorEditView* view, QWidget *parent, const char *name) : - QFrame(parent, name, QWidget::WResizeNoErase*0) { + KColorEditView* view, TQWidget *parent, const char *name) : + TQFrame(parent, name, TQWidget::WResizeNoErase*0) { setFrameStyle(StyledPanel|Sunken); setLineWidth(2); - QGridLayout* topLayout = new QGridLayout(this, 2, 2); + TQGridLayout* topLayout = new TQGridLayout(this, 2, 2); topLayout->setMargin(2); topLayout->setRowStretch(0, 10); topLayout->setRowStretch(1, 0); topLayout->setColStretch(0, 10); topLayout->setColStretch(1, 0); - scrollBar = new QScrollBar(this); - hScrollBar = new QScrollBar(0, 1, 1, 1, 0, QScrollBar::Horizontal, this); + scrollBar = new TQScrollBar(this); + hScrollBar = new TQScrollBar(0, 1, 1, 1, 0, TQScrollBar::Horizontal, this); scrolledArea = new PaletteViewScrolledArea(defaultCellWidth, defaultCellHeight, cellSpacing, scrollBar, hScrollBar, view, this); - connect(scrollBar, SIGNAL( valueChanged(int) ), - SLOT( slotRepaintScrolledArea() )); + connect(scrollBar, TQT_SIGNAL( valueChanged(int) ), + TQT_SLOT( slotRepaintScrolledArea() )); topLayout->addWidget(scrolledArea, 0, 0); - connect(hScrollBar, SIGNAL( valueChanged(int) ), - SLOT( slotRepaintScrolledArea() )); - QHBoxLayout* hScrollBarLayout = new QHBoxLayout(); + connect(hScrollBar, TQT_SIGNAL( valueChanged(int) ), + TQT_SLOT( slotRepaintScrolledArea() )); + TQHBoxLayout* hScrollBarLayout = new TQHBoxLayout(); hScrollBarLayout->addWidget(hScrollBar, 10); - hScrollBarLayout->addWidget(new QWidget(this), 0); + hScrollBarLayout->addWidget(new TQWidget(this), 0); topLayout->addLayout(hScrollBarLayout, 1, 0); topLayout->addWidget(scrollBar, 0, 1); } -- cgit v1.2.1