summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_palette_widget.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /chalk/ui/kis_palette_widget.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'chalk/ui/kis_palette_widget.cc')
-rw-r--r--chalk/ui/kis_palette_widget.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chalk/ui/kis_palette_widget.cc b/chalk/ui/kis_palette_widget.cc
index 2feb74c8..3618e8ad 100644
--- a/chalk/ui/kis_palette_widget.cc
+++ b/chalk/ui/kis_palette_widget.cc
@@ -26,7 +26,7 @@
#include <tqfile.h>
#include <tqimage.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqvalidator.h>
#include <tqpainter.h>
@@ -67,16 +67,16 @@ KisPaletteWidget::KisPaletteWidget( TQWidget *parent, int minWidth, int cols)
m_currentPalette = 0;
- TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
combo = new TQComboBox( false, this );
combo->setFocusPolicy( TQ_ClickFocus );
- tqlayout->addWidget(combo);
+ layout->addWidget(combo);
m_view = new KisPaletteView(this, 0, minWidth, cols);
- tqlayout->addWidget( m_view );
+ layout->addWidget( m_view );
- //setFixedSize(tqsizeHint());
+ //setFixedSize(sizeHint());
connect(combo, TQT_SIGNAL(activated(const TQString &)),
this, TQT_SLOT(slotSetPalette(const TQString &)));