diff options
Diffstat (limited to 'chalk/ui/kis_palette_widget.cc')
-rw-r--r-- | chalk/ui/kis_palette_widget.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chalk/ui/kis_palette_widget.cc b/chalk/ui/kis_palette_widget.cc index 3618e8ad..2feb74c8 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 <layout.h> +#include <tqlayout.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 *layout = new TQVBoxLayout( this ); + TQVBoxLayout *tqlayout = new TQVBoxLayout( this ); combo = new TQComboBox( false, this ); combo->setFocusPolicy( TQ_ClickFocus ); - layout->addWidget(combo); + tqlayout->addWidget(combo); m_view = new KisPaletteView(this, 0, minWidth, cols); - layout->addWidget( m_view ); + tqlayout->addWidget( m_view ); - //setFixedSize(sizeHint()); + //setFixedSize(tqsizeHint()); connect(combo, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotSetPalette(const TQString &))); |