summaryrefslogtreecommitdiffstats
path: root/tdeiconedit/palettetoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeiconedit/palettetoolbar.cpp')
-rw-r--r--tdeiconedit/palettetoolbar.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeiconedit/palettetoolbar.cpp b/tdeiconedit/palettetoolbar.cpp
index 04914f2b..879acdb7 100644
--- a/tdeiconedit/palettetoolbar.cpp
+++ b/tdeiconedit/palettetoolbar.cpp
@@ -35,7 +35,7 @@ PaletteToolBar::PaletteToolBar( TQWidget *parent, const char *name )
{
TQWidget *base = new TQWidget( this );
- TQBoxLayout::Direction d = orientation() == Qt::Horizontal?
+ TQBoxLayout::Direction d = orientation() == TQt::Horizontal?
TQBoxLayout::LeftToRight : TQBoxLayout::TopToBottom;
m_layout = new TQBoxLayout( base, d, 2, 6 );
@@ -63,8 +63,8 @@ PaletteToolBar::PaletteToolBar( TQWidget *parent, const char *name )
vlayout->addWidget( m_sysColors );
- connect( m_sysColors, TQT_SIGNAL( newColor(uint) ),
- TQT_SIGNAL( newColor(uint) ) );
+ connect( m_sysColors, TQ_SIGNAL( newColor(uint) ),
+ TQ_SIGNAL( newColor(uint) ) );
vlayout = new TQVBoxLayout( m_layout, 0 );
l = new TQLabel( i18n( "Custom colors:" ), base );
@@ -76,22 +76,22 @@ PaletteToolBar::PaletteToolBar( TQWidget *parent, const char *name )
vlayout->addWidget( m_customColors );
- connect( m_customColors, TQT_SIGNAL( newColor(uint) ),
- TQT_SIGNAL( newColor(uint) ) );
- connect( this, TQT_SIGNAL( newColor(uint)),
- this, TQT_SLOT(currentColorChanged(uint)));
+ connect( m_customColors, TQ_SIGNAL( newColor(uint) ),
+ TQ_SIGNAL( newColor(uint) ) );
+ connect( this, TQ_SIGNAL( newColor(uint)),
+ this, TQ_SLOT(currentColorChanged(uint)));
currentColorChanged(OPAQUE_MASK|0);
setEnableContextMenu( false );
setMovingEnabled( false );
}
-void PaletteToolBar::setOrientation( Qt::Orientation o )
+void PaletteToolBar::setOrientation( TQt::Orientation o )
{
if( barPos() == Floating )
- o = o == Qt::Vertical ? Qt::Horizontal : Qt::Vertical;
+ o = o == TQt::Vertical ? TQt::Horizontal : TQt::Vertical;
- TQBoxLayout::Direction d = o == Qt::Horizontal? TQBoxLayout::LeftToRight
+ TQBoxLayout::Direction d = o == TQt::Horizontal? TQBoxLayout::LeftToRight
: TQBoxLayout::TopToBottom;
m_layout->setDirection( d );