summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/optw_input.cpp')
-rw-r--r--src/modules/options/optw_input.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/modules/options/optw_input.cpp b/src/modules/options/optw_input.cpp
index 4dd73987..210980e7 100644
--- a/src/modules/options/optw_input.cpp
+++ b/src/modules/options/optw_input.cpp
@@ -21,15 +21,15 @@
//
#include "optw_input.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include "kvi_options.h"
#include "kvi_locale.h"
//#warning "Info tips"
-KviInputLookOptionsWidget::KviInputLookOptionsWidget(QWidget * parent)
-: KviOptionsWidget(parent,"ircviewlook_options_widget")
+KviInputLookOptionsWidget::KviInputLookOptionsWidget(TQWidget * tqparent)
+: KviOptionsWidget(tqparent,"ircviewlook_options_widget")
{
createLayout(10,2);
@@ -44,11 +44,11 @@ KviInputLookOptionsWidget::KviInputLookOptionsWidget(QWidget * parent)
addPixmapSelector(0,7,1,7,__tr2qs_ctx("Background image","options"),KviOption_pixmapInputBackground);
addLabel(0,8,0,8,__tr2qs_ctx("Horizontal align:","options"));
- m_pHorizontalAlign=new QComboBox(this);
+ m_pHorizontalAlign=new TQComboBox(this);
addWidgetToLayout(m_pHorizontalAlign,1,8,1,8);
addLabel(0,9,0,9,__tr2qs_ctx("Vertical align:","options"));
- m_pVerticalAlign=new QComboBox(this);
+ m_pVerticalAlign=new TQComboBox(this);
addWidgetToLayout(m_pVerticalAlign,1,9,1,9);
m_pHorizontalAlign->insertItem(__tr2qs_ctx("Tile","options"));
@@ -61,30 +61,30 @@ KviInputLookOptionsWidget::KviInputLookOptionsWidget(QWidget * parent)
m_pVerticalAlign->insertItem(__tr2qs_ctx("Bottom","options"));
m_pVerticalAlign->insertItem(__tr2qs_ctx("Center","options"));
- switch( KVI_OPTION_UINT(KviOption_uintInputPixmapAlign) & Qt::AlignHorizontal_Mask)
+ switch( KVI_OPTION_UINT(KviOption_uintInputPixmapAlign) & TQt::AlignHorizontal_Mask)
{
- case Qt::AlignLeft:
+ case TQt::AlignLeft:
m_pHorizontalAlign->setCurrentItem(1);
break;
- case Qt::AlignRight:
+ case TQt::AlignRight:
m_pHorizontalAlign->setCurrentItem(2);
break;
- case Qt::AlignHCenter:
+ case TQt::AlignHCenter:
m_pHorizontalAlign->setCurrentItem(3);
break;
default:
m_pHorizontalAlign->setCurrentItem(0);
}
- switch( KVI_OPTION_UINT(KviOption_uintInputPixmapAlign) & Qt::AlignVertical_Mask)
+ switch( KVI_OPTION_UINT(KviOption_uintInputPixmapAlign) & TQt::AlignVertical_Mask)
{
- case Qt::AlignTop:
+ case TQt::AlignTop:
m_pVerticalAlign->setCurrentItem(1);
break;
- case Qt::AlignBottom:
+ case TQt::AlignBottom:
m_pVerticalAlign->setCurrentItem(2);
break;
- case Qt::AlignVCenter:
+ case TQt::AlignVCenter:
m_pVerticalAlign->setCurrentItem(3);
break;
default:
@@ -92,7 +92,7 @@ KviInputLookOptionsWidget::KviInputLookOptionsWidget(QWidget * parent)
}
- layout()->setRowStretch(7,1);
+ tqlayout()->setRowStretch(7,1);
}
KviInputLookOptionsWidget::~KviInputLookOptionsWidget()
@@ -105,25 +105,25 @@ void KviInputLookOptionsWidget::commit()
switch(m_pHorizontalAlign->currentItem())
{
case 1:
- iFlags|=Qt::AlignLeft;
+ iFlags|=TQt::AlignLeft;
break;
case 2:
- iFlags|=Qt::AlignRight;
+ iFlags|=TQt::AlignRight;
break;
case 3:
- iFlags|=Qt::AlignHCenter;
+ iFlags|=TQt::AlignHCenter;
break;
}
switch(m_pVerticalAlign->currentItem())
{
case 1:
- iFlags|=Qt::AlignTop;
+ iFlags|=TQt::AlignTop;
break;
case 2:
- iFlags|=Qt::AlignBottom;
+ iFlags|=TQt::AlignBottom;
break;
case 3:
- iFlags|=Qt::AlignVCenter;
+ iFlags|=TQt::AlignVCenter;
break;
}
@@ -133,8 +133,8 @@ void KviInputLookOptionsWidget::commit()
-KviInputFeaturesOptionsWidget::KviInputFeaturesOptionsWidget(QWidget * parent)
-: KviOptionsWidget(parent,"ircviewfeatures_options_widget")
+KviInputFeaturesOptionsWidget::KviInputFeaturesOptionsWidget(TQWidget * tqparent)
+: KviOptionsWidget(tqparent,"ircviewfeatures_options_widget")
{
createLayout(6,1);