summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_palette_widget.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /chalk/ui/kis_palette_widget.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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 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 &)));