summaryrefslogtreecommitdiffstats
path: root/dominoConfig/dominoconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dominoConfig/dominoconf.cpp')
-rw-r--r--dominoConfig/dominoconf.cpp1662
1 files changed, 831 insertions, 831 deletions
diff --git a/dominoConfig/dominoconf.cpp b/dominoConfig/dominoconf.cpp
index d25e056..410e08f 100644
--- a/dominoConfig/dominoconf.cpp
+++ b/dominoConfig/dominoconf.cpp
@@ -27,43 +27,43 @@ DEALINGS IN THE SOFTWARE.
*/
-#include <qapplication.h>
-#include <qlayout.h>
-#include <qhbox.h>
-#include <qsettings.h>
+#include <tqapplication.h>
+#include <tqlayout.h>
+#include <tqhbox.h>
+#include <tqsettings.h>
#include <kglobal.h>
#include <klocale.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
+#include <tqpushbutton.h>
+#include <tqwidget.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
#include <kcolorbutton.h>
-#include <qspinbox.h>
-#include <qcombobox.h>
-#include <qscrollbar.h>
-#include <qheader.h>
-#include <qlistview.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qimage.h>
-#include <qpixmap.h>
-#include <qstyle.h>
-#include <qpainter.h>
-#include <qframe.h>
-#include <qlistbox.h>
-#include <qheader.h>
+#include <tqspinbox.h>
+#include <tqcombobox.h>
+#include <tqscrollbar.h>
+#include <tqheader.h>
+#include <tqlistview.h>
+#include <tqradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
+#include <tqstyle.h>
+#include <tqpainter.h>
+#include <tqframe.h>
+#include <tqlistbox.h>
+#include <tqheader.h>
#include <kinputdialog.h>
#include <kstandarddirs.h>
-#include <qdir.h>
-#include <qbuttongroup.h>
+#include <tqdir.h>
+#include <tqbuttongroup.h>
#include <kmessagebox.h>
-#include <qtabbar.h>
+#include <tqtabbar.h>
#include <ktabwidget.h>
-#include <qslider.h>
+#include <tqslider.h>
#include <kfiledialog.h>
#include <kio/netaccess.h>
-#include <qvbuttongroup.h>
+#include <tqvbuttongroup.h>
#include <X11/Xft/Xft.h>
@@ -77,7 +77,7 @@ DEALINGS IN THE SOFTWARE.
extern "C"
{
- KDE_EXPORT QWidget* allocate_kstyle_config(QWidget* parent)
+ KDE_EXPORT TQWidget* allocate_kstyle_config(TQWidget* parent)
{
KGlobal::locale()->insertCatalogue("kstyle_domino_config");
return new DominoStyleConfig(parent);
@@ -85,7 +85,7 @@ extern "C"
}
-DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
+DominoStyleConfig::DominoStyleConfig(TQWidget* parent): TQWidget(parent)
{
previewStyle = new PreviewStyle();
@@ -94,10 +94,10 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
initialized = false;
int dummy;
- hasCompositeExtension = XQueryExtension(qt_xdisplay(), "Composite", &dummy, &dummy, &dummy);
+ hasCompositeExtension = XQueryExtension(tqt_xdisplay(), "Composite", &dummy, &dummy, &dummy);
//Should have no margins here, the dialog provides them
- QVBoxLayout* layout = new QVBoxLayout(this, 0, 1);
+ TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 1);
KGlobal::locale()->insertCatalogue("kstyle_domino_config");
DominoKTabWidget *tabWidget = new DominoKTabWidget(this);
@@ -107,70 +107,70 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// tab 1
////////////////////////////////////////////////////////////////////////////
- QScrollView* sv = new QScrollView(tabWidget);
- sv->setVScrollBarMode(QScrollView::AlwaysOn);
- QWidget* scrollWidget = new QWidget(sv->viewport());
+ TQScrollView* sv = new TQScrollView(tabWidget);
+ sv->setVScrollBarMode(TQScrollView::AlwaysOn);
+ TQWidget* scrollWidget = new TQWidget(sv->viewport());
sv->addChild(scrollWidget);
- sv->setResizePolicy( QScrollView::AutoOneFit );
- QVBoxLayout* page1layout = new QVBoxLayout(scrollWidget);
+ sv->setResizePolicy( TQScrollView::AutoOneFit );
+ TQVBoxLayout* page1layout = new TQVBoxLayout(scrollWidget);
page1layout->setMargin(5);
tabWidget->addTab(sv, i18n("General"));
- animateProgressBar = new QCheckBox(i18n("Animate progress bars"), scrollWidget);
+ animateProgressBar = new TQCheckBox(i18n("Animate progress bars"), scrollWidget);
animateProgressBar->setFocus();
- centerTabs = new QCheckBox(i18n("Center tabs"), scrollWidget);
- drawTriangularExpander = new QCheckBox(i18n("Triangular tree expander"), scrollWidget);
- smoothScrolling = new QCheckBox(i18n("Smoother scrolling (works best with line steps bigger than 3)"), scrollWidget);
+ centerTabs = new TQCheckBox(i18n("Center tabs"), scrollWidget);
+ drawTriangularExpander = new TQCheckBox(i18n("Triangular tree expander"), scrollWidget);
+ smoothScrolling = new TQCheckBox(i18n("Smoother scrolling (works best with line steps bigger than 3)"), scrollWidget);
- QHBox *hbox5 = new QHBox(scrollWidget);
- hbox5->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- buttonHeightAdjustmentLabel = new QLabel(hbox5);
+ TQHBox *hbox5 = new TQHBox(scrollWidget);
+ hbox5->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ buttonHeightAdjustmentLabel = new TQLabel(hbox5);
buttonHeightAdjustment = new DSpinBox(-5, 5, 1, hbox5);
buttonHeightAdjustment->setAlignRight();
buttonHeightAdjustment->setSuffix(" px");
- customCheckMarkColor = new QCheckBox(i18n("Custom checkmark color"), scrollWidget);
- QHBox *hbox3 = new QHBox(scrollWidget);
- hbox3->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ customCheckMarkColor = new TQCheckBox(i18n("Custom checkmark color"), scrollWidget);
+ TQHBox *hbox3 = new TQHBox(scrollWidget);
+ hbox3->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
checkMarkColor = new KColorButton(hbox3);
- customToolTipColor = new QCheckBox(i18n("Custom tooltip color"), scrollWidget);
- QHBox *hbox4 = new QHBox(scrollWidget);
- hbox4->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ customToolTipColor = new TQCheckBox(i18n("Custom tooltip color"), scrollWidget);
+ TQHBox *hbox4 = new TQHBox(scrollWidget);
+ hbox4->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
toolTipColor = new KColorButton(hbox4);
- highlightToolBtnIcons = new QCheckBox(i18n("Highlight tool button icons on mouse over"), scrollWidget);
+ highlightToolBtnIcons = new TQCheckBox(i18n("Highlight tool button icons on mouse over"), scrollWidget);
- toolBtnAsBtn = new QCheckBox(i18n("Draw tool buttons as normal buttons"), scrollWidget);
+ toolBtnAsBtn = new TQCheckBox(i18n("Draw tool buttons as normal buttons"), scrollWidget);
// rubber options
- QHBox *hbox27 = new QHBox(scrollWidget);
- hbox27->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- labelRubberOptions = new QLabel(i18n("Rubber band options:"), hbox27 );
+ TQHBox *hbox27 = new TQHBox(scrollWidget);
+ hbox27->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ labelRubberOptions = new TQLabel(i18n("Rubber band options:"), hbox27 );
- QHBox *hbox28 = new QHBox(scrollWidget);
- hbox28->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ TQHBox *hbox28 = new TQHBox(scrollWidget);
+ hbox28->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
- QVButtonGroup* btg = new QVButtonGroup(hbox28);
- btg->setColumnLayout(0, Qt::Vertical );
+ TQVButtonGroup* btg = new TQVButtonGroup(hbox28);
+ btg->setColumnLayout(0, TQt::Vertical );
btg->layout()->setSpacing( 2 );
btg->layout()->setMargin( 11 );
btg->setExclusive(true);
- lineRubber = new QRadioButton(i18n("Solid line"), btg);
- distRubber = new QRadioButton(i18n("Distribution's default"), btg);
- argbRubber = new QRadioButton(i18n("Semi transparent (requires a running composite manager)"), btg);
+ lineRubber = new TQRadioButton(i18n("Solid line"), btg);
+ distRubber = new TQRadioButton(i18n("Distribution's default"), btg);
+ argbRubber = new TQRadioButton(i18n("Semi transparent (requires a running composite manager)"), btg);
argbRubber->setEnabled(hasCompositeExtension);
- QHBox *hbox29 = new QHBox(btg);
+ TQHBox *hbox29 = new TQHBox(btg);
hbox29->setSpacing(2);
- hbox29->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- labelArgbRubberColor = new QLabel(i18n("Color:"), hbox29);
+ hbox29->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ labelArgbRubberColor = new TQLabel(i18n("Color:"), hbox29);
argbRubberColor = new KColorButton(hbox29);
- argbRubberColor->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Minimum);
- labelArgbRubberOpacity = new QLabel(i18n("Opacity:"), hbox29);
+ argbRubberColor->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum);
+ labelArgbRubberOpacity = new TQLabel(i18n("Opacity:"), hbox29);
argbRubberOpacity = new DSpinBox(hbox29);
argbRubberOpacity->setAlignRight();
argbRubberOpacity->setMaxValue(100);
@@ -193,33 +193,33 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// popupMenu options
- QHBox *hbox25 = new QHBox(scrollWidget);
- hbox25->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- labelPopupMenuOptions = new QLabel(i18n("Popupmenu options:"), hbox25 );
+ TQHBox *hbox25 = new TQHBox(scrollWidget);
+ hbox25->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ labelPopupMenuOptions = new TQLabel(i18n("Popupmenu options:"), hbox25 );
- QHBox *hbox26 = new QHBox(scrollWidget);
- hbox26->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ TQHBox *hbox26 = new TQHBox(scrollWidget);
+ hbox26->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
- QGroupBox* menuOptionsGb = new QGroupBox(hbox26);
- menuOptionsGb->setColumnLayout(0, Qt::Vertical );
+ TQGroupBox* menuOptionsGb = new TQGroupBox(hbox26);
+ menuOptionsGb->setColumnLayout(0, TQt::Vertical );
menuOptionsGb->layout()->setSpacing( 2 );
menuOptionsGb->layout()->setMargin( 11 );
- customPopupMenuColor = new QCheckBox(i18n("Custom popupmenu color"), menuOptionsGb);
- QHBox *hbox6 = new QHBox(menuOptionsGb);
- hbox6->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ customPopupMenuColor = new TQCheckBox(i18n("Custom popupmenu color"), menuOptionsGb);
+ TQHBox *hbox6 = new TQHBox(menuOptionsGb);
+ hbox6->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
popupMenuColor = new KColorButton(hbox6);
- customSelMenuItemColor = new QCheckBox(i18n("Custom selected menu item color"), menuOptionsGb);
- QHBox *hbox24 = new QHBox(menuOptionsGb);
- hbox24->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ customSelMenuItemColor = new TQCheckBox(i18n("Custom selected menu item color"), menuOptionsGb);
+ TQHBox *hbox24 = new TQHBox(menuOptionsGb);
+ hbox24->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
selMenuItemColor = new KColorButton(hbox24);
- drawPopupMenuGradient = new QCheckBox(i18n("Draw a gradient"), menuOptionsGb);
- indentPopupMenuItems = new QCheckBox(i18n("Indent menu items"), menuOptionsGb);
+ drawPopupMenuGradient = new TQCheckBox(i18n("Draw a gradient"), menuOptionsGb);
+ indentPopupMenuItems = new TQCheckBox(i18n("Indent menu items"), menuOptionsGb);
menuOptionsGb->layout()->add(customPopupMenuColor);
menuOptionsGb->layout()->add(hbox6);
@@ -230,57 +230,57 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// groupbox
- tintGroupBoxBackground = new QCheckBox(i18n("Tint groupbox background"), scrollWidget);
- QHBox *hbox12 = new QHBox(scrollWidget);
- hbox12->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ tintGroupBoxBackground = new TQCheckBox(i18n("Tint groupbox background"), scrollWidget);
+ TQHBox *hbox12 = new TQHBox(scrollWidget);
+ hbox12->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
- grFrame = new QGroupBox(hbox12);
- grFrame->setColumnLayout(0, Qt::Vertical );
+ grFrame = new TQGroupBox(hbox12);
+ grFrame->setColumnLayout(0, TQt::Vertical );
grFrame->layout()->setSpacing( 6 );
grFrame->layout()->setMargin( 11 );
-// grFrame->setFrameShape( QFrame::StyledPanel );
-// grFrame->setFrameShadow( QFrame::Raised );
- QVBoxLayout* grFrameLayout = new QVBoxLayout(grFrame->layout(), QBoxLayout::BottomToTop);
+// grFrame->setFrameShape( TQFrame::StyledPanel );
+// grFrame->setFrameShadow( TQFrame::Raised );
+ TQVBoxLayout* grFrameLayout = new TQVBoxLayout(grFrame->layout(), TQBoxLayout::BottomToTop);
- QFrame* prTintGroupBoxFrame = new QFrame(grFrame);
- prTintGroupBoxFrame->setPaletteBackgroundColor(qApp->palette().active().background());
- prTintGroupBoxFrame->setFrameShape( QFrame::StyledPanel );
- prTintGroupBoxFrame->setFrameShadow( QFrame::Raised );
- QVBoxLayout* prTintGroupBoxFrameLayout = new QVBoxLayout(prTintGroupBoxFrame, QBoxLayout::BottomToTop);
+ TQFrame* prTintGroupBoxFrame = new TQFrame(grFrame);
+ prTintGroupBoxFrame->setPaletteBackgroundColor(tqApp->palette().active().background());
+ prTintGroupBoxFrame->setFrameShape( TQFrame::StyledPanel );
+ prTintGroupBoxFrame->setFrameShadow( TQFrame::Raised );
+ TQVBoxLayout* prTintGroupBoxFrameLayout = new TQVBoxLayout(prTintGroupBoxFrame, TQBoxLayout::BottomToTop);
prTintGroupBoxFrameLayout->setMargin(20);
- gb1 = new QGroupBox(1, Qt::Vertical, prTintGroupBoxFrame);
+ gb1 = new TQGroupBox(1, TQt::Vertical, prTintGroupBoxFrame);
gb1->setStyle(previewStyle);
gb1->setMinimumWidth(30);
gb1->setMinimumHeight(70);
- gb2 = new QGroupBox(1, Qt::Vertical, gb1);
+ gb2 = new TQGroupBox(1, TQt::Vertical, gb1);
gb2->setStyle(previewStyle);
- gb3 = new QGroupBox(gb2);
+ gb3 = new TQGroupBox(gb2);
gb3->setStyle(previewStyle);
// grFrameLayout->addWidget(gb1);
prTintGroupBoxFrameLayout->addWidget(gb1);
grFrameLayout->addWidget(prTintGroupBoxFrame);
- grValueLabel = new QLabel("0", grFrame);
+ grValueLabel = new TQLabel("0", grFrame);
grValueLabel->setMinimumWidth(50);
- QLabel* grLabel1 = new QLabel(i18n("Brightness:"), grFrame);
- QLabel* grLabel2 = new QLabel(i18n("brighter"), grFrame);
- QLabel* grLabel3 = new QLabel(i18n("darker"), grFrame);
- grSlider = new QSlider(-50, 50, 1, 0, Qt::Horizontal, grFrame);
+ TQLabel* grLabel1 = new TQLabel(i18n("Brightness:"), grFrame);
+ TQLabel* grLabel2 = new TQLabel(i18n("brighter"), grFrame);
+ TQLabel* grLabel3 = new TQLabel(i18n("darker"), grFrame);
+ grSlider = new TQSlider(-50, 50, 1, 0, TQt::Horizontal, grFrame);
- QHBoxLayout* grHBoxLayout1 = new QHBoxLayout(0, 0, 6);
+ TQHBoxLayout* grHBoxLayout1 = new TQHBoxLayout(0, 0, 6);
grHBoxLayout1->addWidget(grLabel1);
grHBoxLayout1->addWidget(grValueLabel);
- grHBoxLayout1->addItem( new QSpacerItem( 61, 21, QSizePolicy::Preferred, QSizePolicy::Minimum ) );
+ grHBoxLayout1->addItem( new TQSpacerItem( 61, 21, TQSizePolicy::Preferred, TQSizePolicy::Minimum ) );
grHBoxLayout1->addWidget(grLabel2);
grHBoxLayout1->addWidget(grSlider);
grHBoxLayout1->addWidget(grLabel3);
grFrameLayout->addLayout(grHBoxLayout1);
- QVBoxLayout* grVBoxLayout2 = new QVBoxLayout(0, 0, 6);
- customGroupBoxBackgroundColor = new QCheckBox(i18n("Custom background color"), grFrame);
- QHBox *hbox13 = new QHBox(grFrame);
- hbox13->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ TQVBoxLayout* grVBoxLayout2 = new TQVBoxLayout(0, 0, 6);
+ customGroupBoxBackgroundColor = new TQCheckBox(i18n("Custom background color"), grFrame);
+ TQHBox *hbox13 = new TQHBox(grFrame);
+ hbox13->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
groupBoxBackgroundColor = new KColorButton(hbox13);
grVBoxLayout2->addWidget(customGroupBoxBackgroundColor);
@@ -289,7 +289,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(grValueLabelNum(int)));
connect(grSlider, SIGNAL(valueChanged(int)), this, SLOT(updateGroupBoxSettings()));
- connect(groupBoxBackgroundColor, SIGNAL(changed(const QColor&)), this, SLOT(updateGroupBoxSettings()));
+ connect(groupBoxBackgroundColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateGroupBoxSettings()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(updateGroupBoxSettings()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), this, SLOT(resetGroupBoxBackgroundColor()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), grFrame, SLOT(setEnabled(bool)));
@@ -298,76 +298,76 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// focusIndicator
- indicateFocus = new QCheckBox(scrollWidget);
- QHBox *hbox14 = new QHBox(scrollWidget);
- hbox14->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ indicateFocus = new TQCheckBox(scrollWidget);
+ TQHBox *hbox14 = new TQHBox(scrollWidget);
+ hbox14->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
- indicateFocusFrame = new QGroupBox(hbox14);
-// indicateFocusFrame->setFrameShape( QFrame::StyledPanel );
-// indicateFocusFrame->setFrameShadow( QFrame::Raised );
- indicateFocusFrame->setColumnLayout(0, Qt::Vertical );
+ indicateFocusFrame = new TQGroupBox(hbox14);
+// indicateFocusFrame->setFrameShape( TQFrame::StyledPanel );
+// indicateFocusFrame->setFrameShadow( TQFrame::Raised );
+ indicateFocusFrame->setColumnLayout(0, TQt::Vertical );
indicateFocusFrame->layout()->setSpacing( 6 );
indicateFocusFrame->layout()->setMargin( 11 );
- QGridLayout* indicateFocusLayout = new QGridLayout( indicateFocusFrame->layout(), 2, 2 );
- indicateFocusLayout->setAlignment( Qt::AlignTop );
+ TQGridLayout* indicateFocusLayout = new TQGridLayout( indicateFocusFrame->layout(), 2, 2 );
+ indicateFocusLayout->setAlignment( TQt::AlignTop );
- QHBoxLayout* hbox11 = new QHBoxLayout(0, 0, 6);
- indicatorModeCombo = new QComboBox(indicateFocusFrame);
+ TQHBoxLayout* hbox11 = new TQHBoxLayout(0, 0, 6);
+ indicatorModeCombo = new TQComboBox(indicateFocusFrame);
hbox11->addWidget( indicatorModeCombo );
- hbox11->addItem( new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
+ hbox11->addItem( new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ) );
- QHBoxLayout* hbox7 = new QHBoxLayout(0, 0, 6);
- labelIndicatorColor = new QLabel(indicateFocusFrame);
+ TQHBoxLayout* hbox7 = new TQHBoxLayout(0, 0, 6);
+ labelIndicatorColor = new TQLabel(indicateFocusFrame);
labelIndicatorColor->setMinimumWidth(labelIndicatorColor->fontMetrics().width(i18n("Button color:")));
hbox7->addWidget( labelIndicatorColor );
-// hbox7->addItem( new QSpacerItem( 21, 20, QSizePolicy::Fixed, QSizePolicy::Minimum ) );
+// hbox7->addItem( new TQSpacerItem( 21, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum ) );
indicatorColor = new KColorButton( indicateFocusFrame );
- indicatorColor->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed );
+ indicatorColor->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed );
hbox7->addWidget( indicatorColor );
- labelIndicatorColorOpacity = new QLabel(i18n("Opacity:"), indicateFocusFrame);
+ labelIndicatorColorOpacity = new TQLabel(i18n("Opacity:"), indicateFocusFrame);
hbox7->addWidget( labelIndicatorColorOpacity );
- indicatorOpacity = new QSpinBox(0, 100, 1, indicateFocusFrame);
+ indicatorOpacity = new TQSpinBox(0, 100, 1, indicateFocusFrame);
hbox7->addWidget( indicatorOpacity );
- QHBoxLayout* hbox8 = new QHBoxLayout(0, 0, 5);
- labelIndicatorBtnColor = new QLabel(indicateFocusFrame );
+ TQHBoxLayout* hbox8 = new TQHBoxLayout(0, 0, 5);
+ labelIndicatorBtnColor = new TQLabel(indicateFocusFrame );
hbox8->addWidget( labelIndicatorBtnColor );
-// hbox8->addItem( new QSpacerItem( 21, 20, QSizePolicy::Fixed, QSizePolicy::Minimum ) );
+// hbox8->addItem( new TQSpacerItem( 21, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum ) );
indicatorBtnColor = new KColorButton( indicateFocusFrame );
- indicatorBtnColor->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed );
- indicatorBtnColor->setFocusPolicy(QWidget::NoFocus);
+ indicatorBtnColor->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed );
+ indicatorBtnColor->setFocusPolicy(TQWidget::NoFocus);
hbox8->addWidget( indicatorBtnColor );
- labelIndicatorBtnColorOpacity = new QLabel(i18n("Opacity:"), indicateFocusFrame);
+ labelIndicatorBtnColorOpacity = new TQLabel(i18n("Opacity:"), indicateFocusFrame);
hbox8->addWidget( labelIndicatorBtnColorOpacity );
- indicatorBtnOpacity = new QSpinBox(0, 100, 1, indicateFocusFrame);
+ indicatorBtnOpacity = new TQSpinBox(0, 100, 1, indicateFocusFrame);
hbox8->addWidget( indicatorBtnOpacity );
- QFrame* prFrame = new QFrame( indicateFocusFrame);
- prFrame->setPaletteBackgroundColor(qApp->palette().active().background());
- prFrame->setFrameShape( QFrame::StyledPanel );
- prFrame->setFrameShadow( QFrame::Raised );
- QVBoxLayout* prFrameLayout = new QVBoxLayout( prFrame, 3, 6);
+ TQFrame* prFrame = new TQFrame( indicateFocusFrame);
+ prFrame->setPaletteBackgroundColor(tqApp->palette().active().background());
+ prFrame->setFrameShape( TQFrame::StyledPanel );
+ prFrame->setFrameShadow( TQFrame::Raised );
+ TQVBoxLayout* prFrameLayout = new TQVBoxLayout( prFrame, 3, 6);
- QHBoxLayout* hbox9 = new QHBoxLayout(0, 0, 6);
- hbox9->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
- indicatorPrevWidget = new IndicatorPrevWidget( prFrame, "IndicatorPrevWidget"/*, Qt::WNoAutoErase*/ );
+ TQHBoxLayout* hbox9 = new TQHBoxLayout(0, 0, 6);
+ hbox9->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
+ indicatorPrevWidget = new IndicatorPrevWidget( prFrame, "IndicatorPrevWidget"/*, TQt::WNoAutoErase*/ );
int width = indicatorPrevWidget->fontMetrics().width(i18n("focused"));
indicatorPrevWidget->setMinimumWidth(width+8);
hbox9->addWidget( indicatorPrevWidget );
- hbox9->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ hbox9->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
- QHBoxLayout* hbox10 = new QHBoxLayout(0, 0, 6);
- hbox10->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ TQHBoxLayout* hbox10 = new TQHBoxLayout(0, 0, 6);
+ hbox10->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
indicatorPrevButton = new IndicatorPrevButton( prFrame );
width = indicatorPrevButton->fontMetrics().width(i18n("focused"));
indicatorPrevButton->setMinimumWidth(width+16);
hbox10->addWidget( indicatorPrevButton );
- hbox10->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ hbox10->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
prFrameLayout->addLayout(hbox9);
prFrameLayout->addLayout(hbox10);
@@ -384,36 +384,36 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// text effect
- drawTextEffect = new QCheckBox(scrollWidget);
- QHBox *hbox15 = new QHBox(scrollWidget);
- hbox15->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
-
- textEffectFrame = new QGroupBox(hbox15);
-// textEffectFrame->setFrameShape( QFrame::StyledPanel );
-// textEffectFrame->setFrameShadow( QFrame::Raised );
- textEffectFrame->setColumnLayout(0, Qt::Vertical );
+ drawTextEffect = new TQCheckBox(scrollWidget);
+ TQHBox *hbox15 = new TQHBox(scrollWidget);
+ hbox15->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+
+ textEffectFrame = new TQGroupBox(hbox15);
+// textEffectFrame->setFrameShape( TQFrame::StyledPanel );
+// textEffectFrame->setFrameShadow( TQFrame::Raised );
+ textEffectFrame->setColumnLayout(0, TQt::Vertical );
textEffectFrame->layout()->setSpacing( 6 );
textEffectFrame->layout()->setMargin( 11 );
- QGridLayout* textEffectLayout = new QGridLayout( textEffectFrame->layout(), 2, 2 );
- textEffectLayout->setAlignment( Qt::AlignTop );
+ TQGridLayout* textEffectLayout = new TQGridLayout( textEffectFrame->layout(), 2, 2 );
+ textEffectLayout->setAlignment( TQt::AlignTop );
- QHBoxLayout* hbox16 = new QHBoxLayout(0, 0, 6);
- labelTextEffectColor = new QLabel(textEffectFrame);
+ TQHBoxLayout* hbox16 = new TQHBoxLayout(0, 0, 6);
+ labelTextEffectColor = new TQLabel(textEffectFrame);
labelTextEffectColor->setMinimumWidth(labelTextEffectColor->fontMetrics().width(i18n("Button color:")));
hbox16->addWidget( labelTextEffectColor );
textEffectColor = new KColorButton( textEffectFrame );
- textEffectColor->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed );
+ textEffectColor->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed );
hbox16->addWidget( textEffectColor );
- labelTextEffectColorOpacity = new QLabel(i18n("Opacity:"), textEffectFrame);
+ labelTextEffectColorOpacity = new TQLabel(i18n("Opacity:"), textEffectFrame);
hbox16->addWidget( labelTextEffectColorOpacity );
- textEffectOpacity = new QSpinBox(0, 100, 1, textEffectFrame);
+ textEffectOpacity = new TQSpinBox(0, 100, 1, textEffectFrame);
hbox16->addWidget( textEffectOpacity );
- labelTextEffectPos = new QLabel(i18n("Position:"), textEffectFrame);
+ labelTextEffectPos = new TQLabel(i18n("Position:"), textEffectFrame);
hbox16->addWidget( labelTextEffectPos );
- textEffectPos = new QComboBox(textEffectFrame);
+ textEffectPos = new TQComboBox(textEffectFrame);
textEffectPos->insertItem(i18n("top left"), 0);
textEffectPos->insertItem(i18n("top"), 1);
textEffectPos->insertItem(i18n("top right"), 2);
@@ -425,23 +425,23 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
hbox16->addWidget( textEffectPos );
- QHBoxLayout* hbox17 = new QHBoxLayout(0, 0, 5);
- labelTextEffectButtonColor = new QLabel(textEffectFrame);
+ TQHBoxLayout* hbox17 = new TQHBoxLayout(0, 0, 5);
+ labelTextEffectButtonColor = new TQLabel(textEffectFrame);
hbox17->addWidget( labelTextEffectButtonColor );
textEffectButtonColor = new KColorButton( textEffectFrame );
- textEffectButtonColor->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Fixed );
- textEffectButtonColor->setFocusPolicy(QWidget::NoFocus);
+ textEffectButtonColor->setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed );
+ textEffectButtonColor->setFocusPolicy(TQWidget::NoFocus);
hbox17->addWidget( textEffectButtonColor );
- labelTextEffectButtonColorOpacity = new QLabel(i18n("Opacity:"), textEffectFrame);
+ labelTextEffectButtonColorOpacity = new TQLabel(i18n("Opacity:"), textEffectFrame);
hbox17->addWidget( labelTextEffectButtonColorOpacity );
- textEffectButtonOpacity = new QSpinBox(0, 100, 1, textEffectFrame);
+ textEffectButtonOpacity = new TQSpinBox(0, 100, 1, textEffectFrame);
hbox17->addWidget( textEffectButtonOpacity );
- labelTextEffectButtonPos = new QLabel(i18n("Position:"), textEffectFrame);
+ labelTextEffectButtonPos = new TQLabel(i18n("Position:"), textEffectFrame);
hbox17->addWidget( labelTextEffectButtonPos );
- textEffectButtonPos = new QComboBox(textEffectFrame);
+ textEffectButtonPos = new TQComboBox(textEffectFrame);
textEffectButtonPos->insertItem(i18n("top left"), 0);
textEffectButtonPos->insertItem(i18n("top"), 1);
textEffectButtonPos->insertItem(i18n("top right"), 2);
@@ -453,23 +453,23 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
hbox17->addWidget( textEffectButtonPos );
- QFrame* prTextEffectFrame = new QFrame( textEffectFrame);
- prTextEffectFrame->setPaletteBackgroundColor(qApp->palette().active().background());
- prTextEffectFrame->setFrameShape( QFrame::StyledPanel );
- prTextEffectFrame->setFrameShadow( QFrame::Raised );
- QVBoxLayout* prTextEffectFrameLayout = new QVBoxLayout( prTextEffectFrame, 3, 6);
+ TQFrame* prTextEffectFrame = new TQFrame( textEffectFrame);
+ prTextEffectFrame->setPaletteBackgroundColor(tqApp->palette().active().background());
+ prTextEffectFrame->setFrameShape( TQFrame::StyledPanel );
+ prTextEffectFrame->setFrameShadow( TQFrame::Raised );
+ TQVBoxLayout* prTextEffectFrameLayout = new TQVBoxLayout( prTextEffectFrame, 3, 6);
- QHBoxLayout* hbox18 = new QHBoxLayout(0, 0, 6);
- hbox18->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
- textEffectPrevWidget = new TextEffectPrevWidget( prTextEffectFrame, "TextEffectPrevWidget", Qt::WNoAutoErase);
+ TQHBoxLayout* hbox18 = new TQHBoxLayout(0, 0, 6);
+ hbox18->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
+ textEffectPrevWidget = new TextEffectPrevWidget( prTextEffectFrame, "TextEffectPrevWidget", TQt::WNoAutoErase);
textEffectPrevWidget->setStyle(previewStyle);
width = textEffectPrevWidget->fontMetrics().width(i18n("123 text"));
textEffectPrevWidget->setMinimumWidth(width+8);
hbox18->addWidget( textEffectPrevWidget );
- hbox18->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ hbox18->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
- QHBoxLayout* hbox19 = new QHBoxLayout(0, 0, 6);
- hbox19->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ TQHBoxLayout* hbox19 = new TQHBoxLayout(0, 0, 6);
+ hbox19->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
textEffectPrevButton = new TextEffectPrevButton( prTextEffectFrame );
textEffectPrevButton->setStyle(previewStyle);
textEffectPrevButton->setText("123 text");
@@ -477,14 +477,14 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
//textEffectPrevButton->setMinimumWidth(width+16);
hbox19->addWidget( textEffectPrevButton );
- hbox19->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ hbox19->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
prTextEffectFrameLayout->addLayout(hbox18);
prTextEffectFrameLayout->addLayout(hbox19);
- textEffectModeCombo = new QComboBox(textEffectFrame);
- QHBoxLayout* hbox20 = new QHBoxLayout(0, 0, 6);
+ textEffectModeCombo = new TQComboBox(textEffectFrame);
+ TQHBoxLayout* hbox20 = new TQHBoxLayout(0, 0, 6);
hbox20->addWidget( textEffectModeCombo );
- hbox20->addItem( new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ) );
+ hbox20->addItem( new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ) );
textEffectLayout->addMultiCellLayout( hbox20, 0, 0, 0, 2 );
textEffectLayout->addLayout(hbox16, 1, 0);
@@ -497,89 +497,89 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
connect(textEffectModeCombo, SIGNAL( activated(int)), this, SLOT(updateTextEffectSettings()));
- drawButtonSunkenShadow = new QCheckBox(i18n("Draw a shadow on pressed sunken buttons"), scrollWidget);
+ drawButtonSunkenShadow = new TQCheckBox(i18n("Draw a shadow on pressed sunken buttons"), scrollWidget);
connect(drawButtonSunkenShadow, SIGNAL(toggled(bool)), this, SLOT(updateButtonContourSettings()));
- QHBox *hbox21 = new QHBox(scrollWidget);
- hbox21->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- buttonTypLabel = new QLabel(i18n("Button Type:"), hbox21);
- buttonContourType = new QComboBox(hbox21);
+ TQHBox *hbox21 = new TQHBox(scrollWidget);
+ hbox21->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ buttonTypLabel = new TQLabel(i18n("Button Type:"), hbox21);
+ buttonContourType = new TQComboBox(hbox21);
buttonContourType->insertItem(i18n("Sunken"), 0);
buttonContourType->insertItem(i18n("Raised"), 1);
// button contour colors
- QHBox *hbox22 = new QHBox(scrollWidget);
- hbox22->layout()->addItem(new QSpacerItem(23, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
- labelButtonContourColors = new QLabel(i18n("Button contour colors:"), hbox22 );
+ TQHBox *hbox22 = new TQHBox(scrollWidget);
+ hbox22->layout()->addItem(new TQSpacerItem(23, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
+ labelButtonContourColors = new TQLabel(i18n("Button contour colors:"), hbox22 );
- QHBox *hbox23 = new QHBox(scrollWidget);
- hbox23->layout()->addItem(new QSpacerItem(20, 0, QSizePolicy::Fixed, QSizePolicy::Minimum) );
+ TQHBox *hbox23 = new TQHBox(scrollWidget);
+ hbox23->layout()->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Fixed, TQSizePolicy::Minimum) );
- QGroupBox* buttonContourColorFrame = new QGroupBox(hbox23);
-// buttonContourColorFrame->setFrameShape( QFrame::StyledPanel );
-// buttonContourColorFrame->setFrameShadow( QFrame::Raised );
- buttonContourColorFrame->setColumnLayout(0, Qt::Vertical );
+ TQGroupBox* buttonContourColorFrame = new TQGroupBox(hbox23);
+// buttonContourColorFrame->setFrameShape( TQFrame::StyledPanel );
+// buttonContourColorFrame->setFrameShadow( TQFrame::Raised );
+ buttonContourColorFrame->setColumnLayout(0, TQt::Vertical );
buttonContourColorFrame->layout()->setSpacing( 6 );
buttonContourColorFrame->layout()->setMargin( 11 );
- QGridLayout* buttonContourColorFrameLayout = new QGridLayout( buttonContourColorFrame->layout(), 4, 3 );
- buttonContourColorFrameLayout->setAlignment( Qt::AlignTop );
+ TQGridLayout* buttonContourColorFrameLayout = new TQGridLayout( buttonContourColorFrame->layout(), 4, 3 );
+ buttonContourColorFrameLayout->setAlignment( TQt::AlignTop );
- QLabel* labelSC = new QLabel(i18n("Standard color:"), buttonContourColorFrame);
+ TQLabel* labelSC = new TQLabel(i18n("Standard color:"), buttonContourColorFrame);
buttonContourColor = new KColorButton(buttonContourColorFrame);
- QLabel* labelMC = new QLabel(i18n("Mouseover color:"), buttonContourColorFrame);
+ TQLabel* labelMC = new TQLabel(i18n("Mouseover color:"), buttonContourColorFrame);
buttonMouseOverContourColor = new KColorButton(buttonContourColorFrame);
- QLabel* labelPC = new QLabel(i18n("Pressed color:"), buttonContourColorFrame);
+ TQLabel* labelPC = new TQLabel(i18n("Pressed color:"), buttonContourColorFrame);
buttonPressedContourColor = new KColorButton(buttonContourColorFrame);
- QLabel* labelDBC = new QLabel(i18n("Defaultbutton color:"), buttonContourColorFrame);
+ TQLabel* labelDBC = new TQLabel(i18n("Defaultbutton color:"), buttonContourColorFrame);
buttonDefaultButtonContourColor = new KColorButton(buttonContourColorFrame);
buttonContourColorFrameLayout->addWidget(labelSC, 0, 0);
- buttonContourColorFrameLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Preferred, QSizePolicy::Minimum) );
+ buttonContourColorFrameLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Preferred, TQSizePolicy::Minimum) );
buttonContourColorFrameLayout->addWidget(buttonContourColor, 0, 1);
- buttonContourColorFrameLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Expanding, QSizePolicy::Minimum) );
+ buttonContourColorFrameLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Expanding, TQSizePolicy::Minimum) );
buttonContourColorFrameLayout->addWidget(labelMC, 1, 0);
- buttonContourColorFrameLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Preferred, QSizePolicy::Minimum) );
+ buttonContourColorFrameLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Preferred, TQSizePolicy::Minimum) );
buttonContourColorFrameLayout->addWidget(buttonMouseOverContourColor, 1, 1);
buttonContourColorFrameLayout->addWidget(labelPC, 2, 0);
- buttonContourColorFrameLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Preferred, QSizePolicy::Minimum) );
+ buttonContourColorFrameLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Preferred, TQSizePolicy::Minimum) );
buttonContourColorFrameLayout->addWidget(buttonPressedContourColor, 2, 1);
buttonContourColorFrameLayout->addWidget(labelDBC, 3, 0);
- buttonContourColorFrameLayout->addItem(new QSpacerItem(20, 0, QSizePolicy::Preferred, QSizePolicy::Minimum) );
+ buttonContourColorFrameLayout->addItem(new TQSpacerItem(20, 0, TQSizePolicy::Preferred, TQSizePolicy::Minimum) );
buttonContourColorFrameLayout->addWidget(buttonDefaultButtonContourColor, 3, 1);
- QGroupBox* prButtonContourColorFrame = new QGroupBox(buttonContourColorFrame);
- prButtonContourColorFrame->setPaletteBackgroundColor(qApp->palette().active().background());
- prButtonContourColorFrame->setFrameShape( QFrame::StyledPanel );
- prButtonContourColorFrame->setFrameShadow( QFrame::Raised );
+ TQGroupBox* prButtonContourColorFrame = new TQGroupBox(buttonContourColorFrame);
+ prButtonContourColorFrame->setPaletteBackgroundColor(tqApp->palette().active().background());
+ prButtonContourColorFrame->setFrameShape( TQFrame::StyledPanel );
+ prButtonContourColorFrame->setFrameShadow( TQFrame::Raised );
- QHBoxLayout* prButtonContourColorFrameLayout = new QHBoxLayout( prButtonContourColorFrame, 3, 6);
+ TQHBoxLayout* prButtonContourColorFrameLayout = new TQHBoxLayout( prButtonContourColorFrame, 3, 6);
- prButtonContourColorFrameLayout->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
- buttonContourPrevButton = new QPushButton(prButtonContourColorFrame);
- ((DominoQWidget*)buttonContourPrevButton)->setWFlags(Qt::WNoAutoErase);
+ prButtonContourColorFrameLayout->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
+ buttonContourPrevButton = new TQPushButton(prButtonContourColorFrame);
+ ((DominoTQWidget*)buttonContourPrevButton)->setWFlags(TQt::WNoAutoErase);
buttonContourPrevButton->setStyle(previewStyle);
prButtonContourColorFrameLayout->addWidget( buttonContourPrevButton );
- prButtonContourColorFrameLayout->addItem(new QSpacerItem( 61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum ));
+ prButtonContourColorFrameLayout->addItem(new TQSpacerItem( 61, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ));
buttonContourColorFrameLayout->addMultiCellWidget(prButtonContourColorFrame, 0, 3, 2, 2);
connect(buttonContourType, SIGNAL(activated(int)), this, SLOT(updateButtonContourSettings()));
- connect(buttonContourColor, SIGNAL(changed(const QColor&)), this, SLOT(updateButtonContourSettings()));
- connect(buttonMouseOverContourColor, SIGNAL(changed(const QColor&)), this, SLOT(updateButtonContourSettings()));
- connect(buttonPressedContourColor, SIGNAL(changed(const QColor&)), this, SLOT(updateButtonContourSettings()));
- connect(buttonDefaultButtonContourColor, SIGNAL(changed(const QColor&)), this, SLOT(updateButtonContourSettings()));
+ connect(buttonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings()));
+ connect(buttonMouseOverContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings()));
+ connect(buttonPressedContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings()));
+ connect(buttonDefaultButtonContourColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateButtonContourSettings()));
@@ -622,65 +622,65 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
page1layout->addStretch(1);
- QWidget *page2 = new QWidget();
+ TQWidget *page2 = new TQWidget();
tabWidget->addTab(page2, "Custom Gradients");
- QVBoxLayout* page2layout = new QVBoxLayout(page2);
+ TQVBoxLayout* page2layout = new TQVBoxLayout(page2);
////////////////////////////////////////////////////////////////////////////
// tab 2 (custom Gradients)
////////////////////////////////////////////////////////////////////////////
tabWidget2 = new DominoKTabWidget( page2, "tabWidget2" );
- connect(tabWidget2, SIGNAL(testCanDecode(const QDragMoveEvent *, bool &)), SLOT(testCanDecode(const QDragMoveEvent *, bool &)));
+ connect(tabWidget2, SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), SLOT(testCanDecode(const TQDragMoveEvent *, bool &)));
page2layout->add(tabWidget2);
////////////////////////////////////////////////////////////////////////////
// tab 2.1 (buttons)
////////////////////////////////////////////////////////////////////////////
- tab1 = new QWidget( tabWidget2, "tab1" );
- tab1Layout = new QVBoxLayout( tab1, 11, 6, "tab1Layout");
+ tab1 = new TQWidget( tabWidget2, "tab1" );
+ tab1Layout = new TQVBoxLayout( tab1, 11, 6, "tab1Layout");
- groupBox22 = new QGroupBox( tab1, "groupBox22" );
- groupBox22->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox22->sizePolicy().hasHeightForWidth() ) );
- groupBox22->setColumnLayout(0, Qt::Vertical );
+ groupBox22 = new TQGroupBox( tab1, "groupBox22" );
+ groupBox22->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox22->sizePolicy().hasHeightForWidth() ) );
+ groupBox22->setColumnLayout(0, TQt::Vertical );
groupBox22->layout()->setSpacing( 0 );
groupBox22->layout()->setMargin( 11 );
- groupBox22Layout = new QGridLayout( groupBox22->layout() );
- groupBox22Layout->setAlignment( Qt::AlignTop );
- spacer6 = new QSpacerItem( 83, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ groupBox22Layout = new TQGridLayout( groupBox22->layout() );
+ groupBox22Layout->setAlignment( TQt::AlignTop );
+ spacer6 = new TQSpacerItem( 83, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22Layout->addItem( spacer6, 3, 3 );
- textLabel1_2 = new QLabel( groupBox22, "textLabel1_2" );
- textLabel1_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );
- textLabel1_2->setTextFormat( QLabel::PlainText );
+ textLabel1_2 = new TQLabel( groupBox22, "textLabel1_2" );
+ textLabel1_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2->setTextFormat( TQLabel::PlainText );
groupBox22Layout->addWidget( textLabel1_2, 3, 4 );
kColorButton27_2 = new KColorButton( groupBox22, "kColorButton27_2" );
- kColorButton27_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, kColorButton27_2->sizePolicy().hasHeightForWidth() ) );
- kColorButton27_2->setMinimumSize( QSize( 75, 0 ) );
+ kColorButton27_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, kColorButton27_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton27_2->setMinimumSize( TQSize( 75, 0 ) );
groupBox22Layout->addWidget( kColorButton27_2, 3, 5 );
- spacer3 = new QSpacerItem( 12, 25, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer3 = new TQSpacerItem( 12, 25, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22Layout->addItem( spacer3, 3, 6 );
- groupBox10_2_2_2 = new QGroupBox( groupBox22, "groupBox10_2_2_2" );
- groupBox10_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2->sizePolicy().hasHeightForWidth() ) );
- groupBox10_2_2_2->setMinimumSize( QSize( 170, 0 ) );
- groupBox10_2_2_2->setColumnLayout(0, Qt::Vertical );
+ groupBox10_2_2_2 = new TQGroupBox( groupBox22, "groupBox10_2_2_2" );
+ groupBox10_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox10_2_2_2->setMinimumSize( TQSize( 170, 0 ) );
+ groupBox10_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox10_2_2_2->layout()->setSpacing( 6 );
groupBox10_2_2_2->layout()->setMargin( 11 );
- groupBox10_2_2_2Layout = new QVBoxLayout( groupBox10_2_2_2->layout() );
- groupBox10_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox10_2_2_2Layout = new TQVBoxLayout( groupBox10_2_2_2->layout() );
+ groupBox10_2_2_2Layout->setAlignment( TQt::AlignTop );
- pushButton16 = new QPushButton(groupBox10_2_2_2, "dominoPreviewWidget" );
+ pushButton16 = new TQPushButton(groupBox10_2_2_2, "dominoPreviewWidget" );
pushButton16->setStyle(previewStyle);
groupBox10_2_2_2Layout->addWidget( pushButton16 );
- comboBox17 = new QComboBox( FALSE, groupBox10_2_2_2, "dominoPreviewWidget" );
+ comboBox17 = new TQComboBox( FALSE, groupBox10_2_2_2, "dominoPreviewWidget" );
comboBox17->setStyle(previewStyle);
groupBox10_2_2_2Layout->addWidget( comboBox17 );
@@ -690,20 +690,20 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox10_2_2_2Layout->addWidget( spinBox44 );
groupBox22Layout->addMultiCellWidget( groupBox10_2_2_2, 0, 1, 0, 0 );
- spacer43 = new QSpacerItem( 5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer43 = new TQSpacerItem( 5, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22Layout->addMultiCell( spacer43, 0, 1, 1, 1 );
- groupBox8_2_2_2 = new QGroupBox( groupBox22, "groupBox8_2_2_2" );
+ groupBox8_2_2_2 = new TQGroupBox( groupBox22, "groupBox8_2_2_2" );
groupBox8_2_2_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox8_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn1GradientChanged()));
- groupBox8_2_2_2->setColumnLayout(0, Qt::Vertical );
+ connect(((TQCheckBox*)groupBox8_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn1GradientChanged()));
+ groupBox8_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2->layout()->setSpacing( 7 );
groupBox8_2_2_2->layout()->setMargin( 4 );
- groupBox8_2_2_2Layout = new QGridLayout( groupBox8_2_2_2->layout() );
- groupBox8_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox8_2_2_2Layout = new TQGridLayout( groupBox8_2_2_2->layout() );
+ groupBox8_2_2_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_3_2_2_2 = new QLabel( groupBox8_2_2_2, "textLabel4_3_2_2_2" );
- textLabel4_3_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel4_3_2_2_2 = new TQLabel( groupBox8_2_2_2, "textLabel4_3_2_2_2" );
+ textLabel4_3_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2Layout->addWidget( textLabel4_3_2_2_2, 1, 0 );
@@ -713,8 +713,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2Layout->addWidget( spinBox2_2_2_2_2, 1, 1 );
- textLabel2_2_2_2_2 = new QLabel( groupBox8_2_2_2, "textLabel2_2_2_2_2" );
- textLabel2_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel2_2_2_2_2 = new TQLabel( groupBox8_2_2_2, "textLabel2_2_2_2_2" );
+ textLabel2_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2Layout->addWidget( textLabel2_2_2_2_2, 1, 2 );
@@ -722,8 +722,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2Layout->addWidget( kColorButton1_2_2_2_2, 1, 3 );
- textLabel3_3_2_2_2 = new QLabel( groupBox8_2_2_2, "textLabel3_3_2_2_2" );
- textLabel3_3_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel3_3_2_2_2 = new TQLabel( groupBox8_2_2_2, "textLabel3_3_2_2_2" );
+ textLabel3_3_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2Layout->addWidget( textLabel3_3_2_2_2, 0, 0 );
@@ -733,8 +733,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2Layout->addWidget( spinBox1_2_2_2_2, 0, 1 );
- textLabel1_4_2_2_2 = new QLabel( groupBox8_2_2_2, "textLabel1_4_2_2_2" );
- textLabel1_4_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_4_2_2_2 = new TQLabel( groupBox8_2_2_2, "textLabel1_4_2_2_2" );
+ textLabel1_4_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2Layout->addWidget( textLabel1_4_2_2_2, 0, 2 );
@@ -744,19 +744,19 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox22Layout->addMultiCellWidget( groupBox8_2_2_2, 0, 0, 2, 6 );
- groupBox9_2_2_2 = new QGroupBox( groupBox22, "groupBox9_2_2_2" );
- groupBox9_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox9_2_2_2 = new TQGroupBox( groupBox22, "groupBox9_2_2_2" );
+ groupBox9_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox9_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn2GradientChanged()));
+ connect(((TQCheckBox*)groupBox9_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(btn2GradientChanged()));
groupBox9_2_2_2->setChecked( FALSE );
- groupBox9_2_2_2->setColumnLayout(0, Qt::Vertical );
+ groupBox9_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2->layout()->setSpacing( 7 );
groupBox9_2_2_2->layout()->setMargin( 4 );
- groupBox9_2_2_2Layout = new QGridLayout( groupBox9_2_2_2->layout() );
- groupBox9_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox9_2_2_2Layout = new TQGridLayout( groupBox9_2_2_2->layout() );
+ groupBox9_2_2_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_4_2_2_2 = new QLabel( groupBox9_2_2_2, "textLabel4_4_2_2_2" );
- textLabel4_4_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel4_4_2_2_2 = new TQLabel( groupBox9_2_2_2, "textLabel4_4_2_2_2" );
+ textLabel4_4_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2Layout->addWidget( textLabel4_4_2_2_2, 1, 0 );
@@ -766,8 +766,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2Layout->addWidget( spinBox2_3_2_2_2, 1, 1 );
- textLabel3_4_2_2_2 = new QLabel( groupBox9_2_2_2, "textLabel3_4_2_2_2" );
- textLabel3_4_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel3_4_2_2_2 = new TQLabel( groupBox9_2_2_2, "textLabel3_4_2_2_2" );
+ textLabel3_4_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2Layout->addWidget( textLabel3_4_2_2_2, 0, 0 );
@@ -778,7 +778,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2Layout->addWidget( spinBox1_3_2_2_2, 0, 1 );
kColorButton1_3_2_2_2 = new KColorButton( groupBox9_2_2_2, "kColorButton1_3_2_2_2" );
- kColorButton1_3_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton1_3_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2Layout->addWidget( kColorButton1_3_2_2_2, 1, 3 );
@@ -786,68 +786,68 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2Layout->addWidget( kColorButton2_5_2_2_2, 0, 3 );
- textLabel1_5_2_2_2 = new QLabel( groupBox9_2_2_2, "textLabel1_5_2_2_2" );
- textLabel1_5_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_5_2_2_2 = new TQLabel( groupBox9_2_2_2, "textLabel1_5_2_2_2" );
+ textLabel1_5_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2Layout->addWidget( textLabel1_5_2_2_2, 0, 2 );
- textLabel2_3_2_2_2 = new QLabel( groupBox9_2_2_2, "textLabel2_3_2_2_2" );
- textLabel2_3_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel2_3_2_2_2 = new TQLabel( groupBox9_2_2_2, "textLabel2_3_2_2_2" );
+ textLabel2_3_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2Layout->addWidget( textLabel2_3_2_2_2, 1, 2 );
groupBox22Layout->addMultiCellWidget( groupBox9_2_2_2, 1, 1, 2, 6 );
- spacer46 = new QSpacerItem( 20, 7, QSizePolicy::Minimum, QSizePolicy::Fixed );
+ spacer46 = new TQSpacerItem( 20, 7, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
groupBox22Layout->addItem( spacer46, 2, 4 );
- spacer2 = new QSpacerItem( 82, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer2 = new TQSpacerItem( 82, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22Layout->addItem( spacer2, 3, 2 );
tab1Layout->addWidget( groupBox22 );
- layout9 = new QHBoxLayout( 0, 0, 6, "layout9");
- spacer7 = new QSpacerItem( 270, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ layout9 = new TQHBoxLayout( 0, 0, 6, "layout9");
+ spacer7 = new TQSpacerItem( 270, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout9->addItem( spacer7 );
- textLabel7_4 = new QLabel( tab1, "textLabel7_4" );
+ textLabel7_4 = new TQLabel( tab1, "textLabel7_4" );
layout9->addWidget( textLabel7_4 );
- comboBox3_4 = new QComboBox( FALSE, tab1, "comboBox3_4" );
+ comboBox3_4 = new TQComboBox( FALSE, tab1, "comboBox3_4" );
layout9->addWidget( comboBox3_4 );
- pushButton4_4 = new QPushButton( tab1, "pushButton4_4" );
+ pushButton4_4 = new TQPushButton( tab1, "pushButton4_4" );
connect(pushButton4_4, SIGNAL(clicked()), SLOT(copyColorsToButton()));
layout9->addWidget( pushButton4_4 );
tab1Layout->addLayout( layout9 );
- tabWidget2->insertTab( tab1, QString::fromLatin1("") );
+ tabWidget2->insertTab( tab1, TQString::fromLatin1("") );
/////////////////////////////////////////////////
// tab 2.2 (tabs)
/////////////////////////////////////////////////
- tab2 = new QWidget( tabWidget2, "tab2" );
- tab2Layout = new QVBoxLayout( tab2, 11, 6, "tab2Layout");
+ tab2 = new TQWidget( tabWidget2, "tab2" );
+ tab2Layout = new TQVBoxLayout( tab2, 11, 6, "tab2Layout");
- groupBox22_2 = new QGroupBox( tab2, "groupBox22_2" );
- groupBox22_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox22_2->sizePolicy().hasHeightForWidth() ) );
- groupBox22_2->setColumnLayout(0, Qt::Vertical );
+ groupBox22_2 = new TQGroupBox( tab2, "groupBox22_2" );
+ groupBox22_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox22_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox22_2->setColumnLayout(0, TQt::Vertical );
groupBox22_2->layout()->setSpacing( 0 );
groupBox22_2->layout()->setMargin( 11 );
- groupBox22_2Layout = new QGridLayout( groupBox22_2->layout() );
- groupBox22_2Layout->setAlignment( Qt::AlignTop );
- spacer46_2 = new QSpacerItem( 20, 7, QSizePolicy::Minimum, QSizePolicy::Fixed );
+ groupBox22_2Layout = new TQGridLayout( groupBox22_2->layout() );
+ groupBox22_2Layout->setAlignment( TQt::AlignTop );
+ spacer46_2 = new TQSpacerItem( 20, 7, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
groupBox22_2Layout->addItem( spacer46_2, 2, 5 );
- spacer43_2 = new QSpacerItem( 5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer43_2 = new TQSpacerItem( 5, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2Layout->addMultiCell( spacer43_2, 0, 1, 1, 1 );
- groupBox8_2_2_2_2 = new QGroupBox( groupBox22_2, "groupBox8_2_2_2_2" );
+ groupBox8_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox8_2_2_2_2" );
groupBox8_2_2_2_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox8_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab1GradientChanged()));
- groupBox8_2_2_2_2->setColumnLayout(0, Qt::Vertical );
+ connect(((TQCheckBox*)groupBox8_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab1GradientChanged()));
+ groupBox8_2_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2->layout()->setSpacing( 7 );
groupBox8_2_2_2_2->layout()->setMargin( 4 );
- groupBox8_2_2_2_2Layout = new QGridLayout( groupBox8_2_2_2_2->layout() );
- groupBox8_2_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox8_2_2_2_2Layout = new TQGridLayout( groupBox8_2_2_2_2->layout() );
+ groupBox8_2_2_2_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_3_2_2_2_2 = new QLabel( groupBox8_2_2_2_2, "textLabel4_3_2_2_2_2" );
- textLabel4_3_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel4_3_2_2_2_2 = new TQLabel( groupBox8_2_2_2_2, "textLabel4_3_2_2_2_2" );
+ textLabel4_3_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2Layout->addWidget( textLabel4_3_2_2_2_2, 1, 0 );
@@ -857,8 +857,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2Layout->addWidget( spinBox2_2_2_2_2_2, 1, 1 );
- textLabel2_2_2_2_2_2 = new QLabel( groupBox8_2_2_2_2, "textLabel2_2_2_2_2_2" );
- textLabel2_2_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel2_2_2_2_2_2 = new TQLabel( groupBox8_2_2_2_2, "textLabel2_2_2_2_2_2" );
+ textLabel2_2_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2Layout->addWidget( textLabel2_2_2_2_2_2, 1, 2 );
@@ -866,8 +866,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2Layout->addWidget( kColorButton1_2_2_2_2_2, 1, 3 );
- textLabel3_3_2_2_2_2 = new QLabel( groupBox8_2_2_2_2, "textLabel3_3_2_2_2_2" );
- textLabel3_3_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel3_3_2_2_2_2 = new TQLabel( groupBox8_2_2_2_2, "textLabel3_3_2_2_2_2" );
+ textLabel3_3_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2Layout->addWidget( textLabel3_3_2_2_2_2, 0, 0 );
@@ -877,8 +877,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2Layout->addWidget( spinBox1_2_2_2_2_2, 0, 1 );
- textLabel1_4_2_2_2_2 = new QLabel( groupBox8_2_2_2_2, "textLabel1_4_2_2_2_2" );
- textLabel1_4_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_4_2_2_2_2 = new TQLabel( groupBox8_2_2_2_2, "textLabel1_4_2_2_2_2" );
+ textLabel1_4_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2Layout->addWidget( textLabel1_4_2_2_2_2, 0, 2 );
@@ -888,31 +888,31 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox22_2Layout->addMultiCellWidget( groupBox8_2_2_2_2, 0, 0, 2, 6 );
- groupBox9_2_2_2_2 = new QGroupBox( groupBox22_2, "groupBox9_2_2_2_2" );
+ groupBox9_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox9_2_2_2_2" );
groupBox9_2_2_2_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox9_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab2GradientChanged()));
+ connect(((TQCheckBox*)groupBox9_2_2_2_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(tab2GradientChanged()));
groupBox9_2_2_2_2->setChecked( FALSE );
- groupBox9_2_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
- groupBox9_2_2_2_2->setColumnLayout(0, Qt::Vertical );
+ groupBox9_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox9_2_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2_2->layout()->setSpacing( 7 );
groupBox9_2_2_2_2->layout()->setMargin( 4 );
- groupBox9_2_2_2_2Layout = new QGridLayout( groupBox9_2_2_2_2->layout() );
- groupBox9_2_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox9_2_2_2_2Layout = new TQGridLayout( groupBox9_2_2_2_2->layout() );
+ groupBox9_2_2_2_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_4_2_2_2_2 = new QLabel( groupBox9_2_2_2_2, "textLabel4_4_2_2_2_2" );
- textLabel4_4_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel4_4_2_2_2_2 = new TQLabel( groupBox9_2_2_2_2, "textLabel4_4_2_2_2_2" );
+ textLabel4_4_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2Layout->addWidget( textLabel4_4_2_2_2_2, 1, 0 );
spinBox2_3_2_2_2_2 = new DSpinBox( groupBox9_2_2_2_2, "spinBox2_3_2_2_2_2" );
- spinBox2_3_2_2_2_2->setButtonSymbols( QSpinBox::UpDownArrows );
+ spinBox2_3_2_2_2_2->setButtonSymbols( TQSpinBox::UpDownArrows );
spinBox2_3_2_2_2_2->setAlignRight();
spinBox2_3_2_2_2_2->setMaxValue( 100 );
groupBox9_2_2_2_2Layout->addWidget( spinBox2_3_2_2_2_2, 1, 1 );
- textLabel3_4_2_2_2_2 = new QLabel( groupBox9_2_2_2_2, "textLabel3_4_2_2_2_2" );
- textLabel3_4_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel3_4_2_2_2_2 = new TQLabel( groupBox9_2_2_2_2, "textLabel3_4_2_2_2_2" );
+ textLabel3_4_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2Layout->addWidget( textLabel3_4_2_2_2_2, 0, 0 );
@@ -923,7 +923,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2Layout->addWidget( spinBox1_3_2_2_2_2, 0, 1 );
kColorButton1_3_2_2_2_2 = new KColorButton( groupBox9_2_2_2_2, "kColorButton1_3_2_2_2_2" );
- kColorButton1_3_2_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton1_3_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2Layout->addWidget( kColorButton1_3_2_2_2_2, 1, 3 );
@@ -931,50 +931,50 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2Layout->addWidget( kColorButton2_5_2_2_2_2, 0, 3 );
- textLabel1_5_2_2_2_2 = new QLabel( groupBox9_2_2_2_2, "textLabel1_5_2_2_2_2" );
- textLabel1_5_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_5_2_2_2_2 = new TQLabel( groupBox9_2_2_2_2, "textLabel1_5_2_2_2_2" );
+ textLabel1_5_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2Layout->addWidget( textLabel1_5_2_2_2_2, 0, 2 );
- textLabel2_3_2_2_2_2 = new QLabel( groupBox9_2_2_2_2, "textLabel2_3_2_2_2_2" );
- textLabel2_3_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel2_3_2_2_2_2 = new TQLabel( groupBox9_2_2_2_2, "textLabel2_3_2_2_2_2" );
+ textLabel2_3_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2Layout->addWidget( textLabel2_3_2_2_2_2, 1, 2 );
groupBox22_2Layout->addMultiCellWidget( groupBox9_2_2_2_2, 1, 1, 2, 6 );
- spacer6_2 = new QSpacerItem( 83, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer6_2 = new TQSpacerItem( 83, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2Layout->addItem( spacer6_2, 3, 3 );
- textLabel1_2_2 = new QLabel( groupBox22_2, "textLabel1_2_2" );
- textLabel1_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, textLabel1_2_2->sizePolicy().hasHeightForWidth() ) );
- textLabel1_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_2_2 = new TQLabel( groupBox22_2, "textLabel1_2_2" );
+ textLabel1_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2_2->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2_2->setTextFormat( TQLabel::PlainText );
groupBox22_2Layout->addWidget( textLabel1_2_2, 3, 4 );
- spacer2_2 = new QSpacerItem( 82, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer2_2 = new TQSpacerItem( 82, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2Layout->addItem( spacer2_2, 3, 2 );
- spacer3_2 = new QSpacerItem( 12, 25, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer3_2 = new TQSpacerItem( 12, 25, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2Layout->addItem( spacer3_2, 3, 6 );
kColorButton27_2_2 = new KColorButton( groupBox22_2, "kColorButton27_2_2" );
- kColorButton27_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2->sizePolicy().hasHeightForWidth() ) );
- kColorButton27_2_2->setMinimumSize( QSize( 75, 0 ) );
+ kColorButton27_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton27_2_2->setMinimumSize( TQSize( 75, 0 ) );
groupBox22_2Layout->addWidget( kColorButton27_2_2, 3, 5 );
- groupBox10_2_2_2_2 = new QGroupBox( groupBox22_2, "groupBox10_2_2_2_2" );
- groupBox10_2_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
- groupBox10_2_2_2_2->setMinimumSize( QSize( 170, 0 ) );
- groupBox10_2_2_2_2->setColumnLayout(0, Qt::Vertical );
+ groupBox10_2_2_2_2 = new TQGroupBox( groupBox22_2, "groupBox10_2_2_2_2" );
+ groupBox10_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox10_2_2_2_2->setMinimumSize( TQSize( 170, 0 ) );
+ groupBox10_2_2_2_2->setColumnLayout(0, TQt::Vertical );
groupBox10_2_2_2_2->layout()->setSpacing( 6 );
groupBox10_2_2_2_2->layout()->setMargin( 11 );
- groupBox10_2_2_2_2Layout = new QVBoxLayout( groupBox10_2_2_2_2->layout() );
- groupBox10_2_2_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox10_2_2_2_2Layout = new TQVBoxLayout( groupBox10_2_2_2_2->layout() );
+ groupBox10_2_2_2_2Layout->setAlignment( TQt::AlignTop );
prevTopTabWidget = new DominoKTabPrevWidget(groupBox10_2_2_2_2);
prevTopTabWidget->setStyle(previewStyle);
tabBarTop = new PreviewTabBar(0);
tabBarTop->setStyle(previewStyle);
- ((DominoQTabWidget*)prevTopTabWidget)->setTabBar(tabBarTop);
+ ((DominoTQTabWidget*)prevTopTabWidget)->setTabBar(tabBarTop);
prevTopPage1 = new TabWidgetIndicator(prevTopTabWidget);
prevTopPage2 = new TabWidgetIndicator(prevTopTabWidget);
@@ -983,15 +983,15 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
prevTopTabWidget->addTab(prevTopPage1, " 1 ");
prevTopTabWidget->addTab(prevTopPage2, " 2 ");
prevTopTabWidget->addTab(prevTopPage3, " 3 ");
- prevTopTabWidget->page(0)->parentWidget()->setPaletteBackgroundColor(qApp->palette().active().background());
+ prevTopTabWidget->page(0)->parentWidget()->setPaletteBackgroundColor(tqApp->palette().active().background());
prevTopTabWidget->setCurrentPage(1);
prevBottomTabWidget = new DominoKTabPrevWidget(groupBox10_2_2_2_2);
prevBottomTabWidget->setStyle(previewStyle);
tabBarBottom = new PreviewTabBar(0);
tabBarBottom->setStyle(previewStyle);
- ((DominoQTabWidget*)prevBottomTabWidget)->setTabBar(tabBarBottom);
- prevBottomTabWidget->setTabPosition(QTabWidget::Bottom);
+ ((DominoTQTabWidget*)prevBottomTabWidget)->setTabBar(tabBarBottom);
+ prevBottomTabWidget->setTabPosition(TQTabWidget::Bottom);
prevBottomPage1 = new TabWidgetIndicator(prevBottomTabWidget);
prevBottomPage2 = new TabWidgetIndicator(prevBottomTabWidget);
@@ -1000,7 +1000,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
prevBottomTabWidget->addTab(prevBottomPage1, " 1 ");
prevBottomTabWidget->addTab(prevBottomPage2, " 2 ");
prevBottomTabWidget->addTab(prevBottomPage3, " 3 ");
- prevBottomTabWidget->page(0)->parentWidget()->setPaletteBackgroundColor(qApp->palette().active().background());
+ prevBottomTabWidget->page(0)->parentWidget()->setPaletteBackgroundColor(tqApp->palette().active().background());
prevBottomTabWidget->setCurrentPage(1);
groupBox10_2_2_2_2Layout->addWidget(prevTopTabWidget);
@@ -1010,36 +1010,36 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox22_2Layout->addMultiCellWidget( groupBox10_2_2_2_2, 0, 1, 0, 0 );
tab2Layout->addWidget( groupBox22_2 );
- layout9_2 = new QHBoxLayout( 0, 0, 6, "layout9_2");
+ layout9_2 = new TQHBoxLayout( 0, 0, 6, "layout9_2");
- tabComboLayout = new QHBoxLayout( 0, 0, 6, "tabComboLayout");
- tabPosCombo = new QComboBox( FALSE, tab2, "tabPosCombo" );
+ tabComboLayout = new TQHBoxLayout( 0, 0, 6, "tabComboLayout");
+ tabPosCombo = new TQComboBox( FALSE, tab2, "tabPosCombo" );
tabComboLayout->addWidget( tabPosCombo );
- tabStateCombo = new QComboBox( FALSE, tab2, "tabStateCombo" );
+ tabStateCombo = new TQComboBox( FALSE, tab2, "tabStateCombo" );
tabComboLayout->addWidget( tabStateCombo );
- QSpacerItem* spacer_combo2 = new QSpacerItem( 20, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ TQSpacerItem* spacer_combo2 = new TQSpacerItem( 20, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
tabComboLayout->addItem( spacer_combo2 );
layout9_2->addLayout( tabComboLayout );
- spacer7_2 = new QSpacerItem( 270, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer7_2 = new TQSpacerItem( 270, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout9_2->addItem( spacer7_2 );
- textLabel7_4_2 = new QLabel( tab2, "textLabel7_4_2" );
+ textLabel7_4_2 = new TQLabel( tab2, "textLabel7_4_2" );
layout9_2->addWidget( textLabel7_4_2 );
- comboBox3_4_2 = new QComboBox( FALSE, tab2, "comboBox3_4_2" );
+ comboBox3_4_2 = new TQComboBox( FALSE, tab2, "comboBox3_4_2" );
layout9_2->addWidget( comboBox3_4_2 );
- pushButton4_4_2 = new QPushButton( tab2, "pushButton4_4_2" );
+ pushButton4_4_2 = new TQPushButton( tab2, "pushButton4_4_2" );
connect(pushButton4_4_2, SIGNAL(clicked()), SLOT(copyColorsToTab()));
layout9_2->addWidget( pushButton4_4_2 );
tab2Layout->addLayout( layout9_2 );
- tabWidget2->insertTab( tab2, QString::fromLatin1("") );
+ tabWidget2->insertTab( tab2, TQString::fromLatin1("") );
@@ -1047,28 +1047,28 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
/////////////////////////////////////////////////
// tab 2.3 (scrollbars)
/////////////////////////////////////////////////
- tab3 = new QWidget( tabWidget2, "tab3" );
- tab3Layout = new QVBoxLayout( tab3, 11, 6, "tab3Layout");
+ tab3 = new TQWidget( tabWidget2, "tab3" );
+ tab3Layout = new TQVBoxLayout( tab3, 11, 6, "tab3Layout");
- groupBox22_2_2 = new QGroupBox( tab3, "groupBox22_2_2" );
- groupBox22_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox22_2_2->sizePolicy().hasHeightForWidth() ) );
- groupBox22_2_2->setColumnLayout(0, Qt::Vertical );
+ groupBox22_2_2 = new TQGroupBox( tab3, "groupBox22_2_2" );
+ groupBox22_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox22_2_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox22_2_2->setColumnLayout(0, TQt::Vertical );
groupBox22_2_2->layout()->setSpacing( 0 );
groupBox22_2_2->layout()->setMargin( 11 );
- groupBox22_2_2Layout = new QGridLayout( groupBox22_2_2->layout() );
- groupBox22_2_2Layout->setAlignment( Qt::AlignTop );
+ groupBox22_2_2Layout = new TQGridLayout( groupBox22_2_2->layout() );
+ groupBox22_2_2Layout->setAlignment( TQt::AlignTop );
- groupBox8_2_2_2_2_4 = new QGroupBox( groupBox22_2_2, "groupBox8_2_2_2_2_4" );
+ groupBox8_2_2_2_2_4 = new TQGroupBox( groupBox22_2_2, "groupBox8_2_2_2_2_4" );
groupBox8_2_2_2_2_4->setCheckable( TRUE );
- groupBox8_2_2_2_2_4->setColumnLayout(0, Qt::Vertical );
+ groupBox8_2_2_2_2_4->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2_4->layout()->setSpacing( 7 );
groupBox8_2_2_2_2_4->layout()->setMargin( 4 );
- groupBox8_2_2_2_2_4Layout = new QGridLayout( groupBox8_2_2_2_2_4->layout() );
- groupBox8_2_2_2_2_4Layout->setAlignment( Qt::AlignTop );
- connect(((QCheckBox*)groupBox8_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar1GradientChanged()));
+ groupBox8_2_2_2_2_4Layout = new TQGridLayout( groupBox8_2_2_2_2_4->layout() );
+ groupBox8_2_2_2_2_4Layout->setAlignment( TQt::AlignTop );
+ connect(((TQCheckBox*)groupBox8_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar1GradientChanged()));
- textLabel4_3_2_2_2_2_4 = new QLabel( groupBox8_2_2_2_2_4, "textLabel4_3_2_2_2_2_4" );
- textLabel4_3_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel4_3_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel4_3_2_2_2_2_4" );
+ textLabel4_3_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4Layout->addWidget( textLabel4_3_2_2_2_2_4, 1, 0 );
@@ -1078,8 +1078,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4Layout->addWidget( spinBox2_2_2_2_2_2_4, 1, 1 );
- textLabel2_2_2_2_2_2_4 = new QLabel( groupBox8_2_2_2_2_4, "textLabel2_2_2_2_2_2_4" );
- textLabel2_2_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel2_2_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel2_2_2_2_2_2_4" );
+ textLabel2_2_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4Layout->addWidget( textLabel2_2_2_2_2_2_4, 1, 2 );
@@ -1087,8 +1087,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4Layout->addWidget( kColorButton1_2_2_2_2_2_4, 1, 3 );
- textLabel3_3_2_2_2_2_4 = new QLabel( groupBox8_2_2_2_2_4, "textLabel3_3_2_2_2_2_4" );
- textLabel3_3_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel3_3_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel3_3_2_2_2_2_4" );
+ textLabel3_3_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4Layout->addWidget( textLabel3_3_2_2_2_2_4, 0, 0 );
@@ -1098,8 +1098,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4Layout->addWidget( spinBox1_2_2_2_2_2_4, 0, 1 );
- textLabel1_4_2_2_2_2_4 = new QLabel( groupBox8_2_2_2_2_4, "textLabel1_4_2_2_2_2_4" );
- textLabel1_4_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel1_4_2_2_2_2_4 = new TQLabel( groupBox8_2_2_2_2_4, "textLabel1_4_2_2_2_2_4" );
+ textLabel1_4_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4Layout->addWidget( textLabel1_4_2_2_2_2_4, 0, 2 );
@@ -1108,23 +1108,23 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4Layout->addWidget( kColorButton2_4_2_2_2_2_4, 0, 3 );
groupBox22_2_2Layout->addMultiCellWidget( groupBox8_2_2_2_2_4, 0, 0, 2, 6 );
- spacer46_2_2 = new QSpacerItem( 20, 7, QSizePolicy::Minimum, QSizePolicy::Fixed );
+ spacer46_2_2 = new TQSpacerItem( 20, 7, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
groupBox22_2_2Layout->addItem( spacer46_2_2, 2, 5 );
- groupBox9_2_2_2_2_4 = new QGroupBox( groupBox22_2_2, "groupBox9_2_2_2_2_4" );
- groupBox9_2_2_2_2_4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
+ groupBox9_2_2_2_2_4 = new TQGroupBox( groupBox22_2_2, "groupBox9_2_2_2_2_4" );
+ groupBox9_2_2_2_2_4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4->setCheckable( TRUE );
groupBox9_2_2_2_2_4->setChecked( FALSE );
- groupBox9_2_2_2_2_4->setColumnLayout(0, Qt::Vertical );
+ groupBox9_2_2_2_2_4->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2_2_4->layout()->setSpacing( 7 );
groupBox9_2_2_2_2_4->layout()->setMargin( 4 );
- groupBox9_2_2_2_2_4Layout = new QGridLayout( groupBox9_2_2_2_2_4->layout() );
- groupBox9_2_2_2_2_4Layout->setAlignment( Qt::AlignTop );
+ groupBox9_2_2_2_2_4Layout = new TQGridLayout( groupBox9_2_2_2_2_4->layout() );
+ groupBox9_2_2_2_2_4Layout->setAlignment( TQt::AlignTop );
- connect(((QCheckBox*)groupBox9_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar2GradientChanged()));
+ connect(((TQCheckBox*)groupBox9_2_2_2_2_4->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(scrollBar2GradientChanged()));
- textLabel4_4_2_2_2_2_4 = new QLabel( groupBox9_2_2_2_2_4, "textLabel4_4_2_2_2_2_4" );
- textLabel4_4_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel4_4_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel4_4_2_2_2_2_4" );
+ textLabel4_4_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4Layout->addWidget( textLabel4_4_2_2_2_2_4, 1, 0 );
@@ -1134,8 +1134,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4Layout->addWidget( spinBox2_3_2_2_2_2_4, 1, 1 );
- textLabel3_4_2_2_2_2_4 = new QLabel( groupBox9_2_2_2_2_4, "textLabel3_4_2_2_2_2_4" );
- textLabel3_4_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel3_4_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel3_4_2_2_2_2_4" );
+ textLabel3_4_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4Layout->addWidget( textLabel3_4_2_2_2_2_4, 0, 0 );
@@ -1146,7 +1146,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4Layout->addWidget( spinBox1_3_2_2_2_2_4, 0, 1 );
kColorButton1_3_2_2_2_2_4 = new KColorButton( groupBox9_2_2_2_2_4, "kColorButton1_3_2_2_2_2_4" );
- kColorButton1_3_2_2_2_2_4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
+ kColorButton1_3_2_2_2_2_4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4Layout->addWidget( kColorButton1_3_2_2_2_2_4, 1, 3 );
@@ -1154,141 +1154,141 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4Layout->addWidget( kColorButton2_5_2_2_2_2_4, 0, 3 );
- textLabel1_5_2_2_2_2_4 = new QLabel( groupBox9_2_2_2_2_4, "textLabel1_5_2_2_2_2_4" );
- textLabel1_5_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel1_5_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel1_5_2_2_2_2_4" );
+ textLabel1_5_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4Layout->addWidget( textLabel1_5_2_2_2_2_4, 0, 2 );
- textLabel2_3_2_2_2_2_4 = new QLabel( groupBox9_2_2_2_2_4, "textLabel2_3_2_2_2_2_4" );
- textLabel2_3_2_2_2_2_4->setTextFormat( QLabel::PlainText );
+ textLabel2_3_2_2_2_2_4 = new TQLabel( groupBox9_2_2_2_2_4, "textLabel2_3_2_2_2_2_4" );
+ textLabel2_3_2_2_2_2_4->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4Layout->addWidget( textLabel2_3_2_2_2_2_4, 1, 2 );
groupBox22_2_2Layout->addMultiCellWidget( groupBox9_2_2_2_2_4, 1, 1, 2, 6 );
- groupBox10_2_2_2_2_4 = new QGroupBox( groupBox22_2_2, "groupBox10_2_2_2_2_4" );
- groupBox10_2_2_2_2_4->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
- groupBox10_2_2_2_2_4->setMinimumSize( QSize( 170, 0 ) );
- groupBox10_2_2_2_2_4->setColumnLayout(0, Qt::Vertical );
+ groupBox10_2_2_2_2_4 = new TQGroupBox( groupBox22_2_2, "groupBox10_2_2_2_2_4" );
+ groupBox10_2_2_2_2_4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
+ groupBox10_2_2_2_2_4->setMinimumSize( TQSize( 170, 0 ) );
+ groupBox10_2_2_2_2_4->setColumnLayout(0, TQt::Vertical );
groupBox10_2_2_2_2_4->layout()->setSpacing( 6 );
groupBox10_2_2_2_2_4->layout()->setMargin( 11 );
- groupBox10_2_2_2_2_4Layout = new QGridLayout( groupBox10_2_2_2_2_4->layout() );
- groupBox10_2_2_2_2_4Layout->setAlignment( Qt::AlignTop );
- spacer35 = new QSpacerItem( 112, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ groupBox10_2_2_2_2_4Layout = new TQGridLayout( groupBox10_2_2_2_2_4->layout() );
+ groupBox10_2_2_2_2_4Layout->setAlignment( TQt::AlignTop );
+ spacer35 = new TQSpacerItem( 112, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox10_2_2_2_2_4Layout->addItem( spacer35, 0, 0 );
- scrollBar5 = new QScrollBar( groupBox10_2_2_2_2_4, "dominoPreviewWidget" );
+ scrollBar5 = new TQScrollBar( groupBox10_2_2_2_2_4, "dominoPreviewWidget" );
scrollBar5->setStyle(previewStyle);
- scrollBar5->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::MinimumExpanding);
- scrollBar5->setOrientation( QScrollBar::Vertical );
+ scrollBar5->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::MinimumExpanding);
+ scrollBar5->setOrientation( TQScrollBar::Vertical );
scrollBar5->setMaxValue(50);
groupBox10_2_2_2_2_4Layout->addWidget( scrollBar5, 0, 1 );
- scrollBar6 = new QScrollBar( groupBox10_2_2_2_2_4, "dominoPreviewWidget" );
+ scrollBar6 = new TQScrollBar( groupBox10_2_2_2_2_4, "dominoPreviewWidget" );
scrollBar6->setStyle(previewStyle);
- scrollBar6->setOrientation( QScrollBar::Horizontal );
+ scrollBar6->setOrientation( TQScrollBar::Horizontal );
scrollBar6->setMaxValue(50);
groupBox10_2_2_2_2_4Layout->addWidget( scrollBar6, 1, 0 );
//////////////////////////////////
groupBox22_2_2Layout->addMultiCellWidget( groupBox10_2_2_2_2_4, 0, 1, 0, 0 );
- spacer43_2_2 = new QSpacerItem( 5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer43_2_2 = new TQSpacerItem( 5, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2Layout->addItem( spacer43_2_2, 1, 1 );
- spacer3_2_2 = new QSpacerItem( 12, 25, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer3_2_2 = new TQSpacerItem( 12, 25, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2Layout->addItem( spacer3_2_2, 3, 6 );
- spacer6_2_2 = new QSpacerItem( 83, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer6_2_2 = new TQSpacerItem( 83, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2Layout->addItem( spacer6_2_2, 3, 3 );
kColorButton27_2_2_2 = new KColorButton( groupBox22_2_2, "kColorButton27_2_2_2" );
- kColorButton27_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2->sizePolicy().hasHeightForWidth() ) );
- kColorButton27_2_2_2->setMinimumSize( QSize( 75, 0 ) );
+ kColorButton27_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton27_2_2_2->setMinimumSize( TQSize( 75, 0 ) );
groupBox22_2_2Layout->addWidget( kColorButton27_2_2_2, 3, 5 );
- spacer2_2_2 = new QSpacerItem( 82, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer2_2_2 = new TQSpacerItem( 82, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2Layout->addItem( spacer2_2_2, 3, 2 );
- textLabel1_2_2_2 = new QLabel( groupBox22_2_2, "textLabel1_2_2_2" );
- textLabel1_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2->sizePolicy().hasHeightForWidth() ) );
- textLabel1_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_2_2_2 = new TQLabel( groupBox22_2_2, "textLabel1_2_2_2" );
+ textLabel1_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox22_2_2Layout->addWidget( textLabel1_2_2_2, 3, 4 );
tab3Layout->addWidget( groupBox22_2_2 );
- layout6 = new QHBoxLayout( 0, 0, 6, "layout6");
- comboBox7 = new QComboBox( FALSE, tab3, "comboBox7" );
+ layout6 = new TQHBoxLayout( 0, 0, 6, "layout6");
+ comboBox7 = new TQComboBox( FALSE, tab3, "comboBox7" );
layout6->addWidget( comboBox7 );
- spacer7_2_3 = new QSpacerItem( 246, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer7_2_3 = new TQSpacerItem( 246, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout6->addItem( spacer7_2_3 );
- textLabel7_4_2_3 = new QLabel( tab3, "textLabel7_4_2_3" );
+ textLabel7_4_2_3 = new TQLabel( tab3, "textLabel7_4_2_3" );
layout6->addWidget( textLabel7_4_2_3 );
- comboBox3_4_2_3 = new QComboBox( FALSE, tab3, "comboBox3_4_2_3" );
+ comboBox3_4_2_3 = new TQComboBox( FALSE, tab3, "comboBox3_4_2_3" );
layout6->addWidget( comboBox3_4_2_3 );
- pushButton4_4_2_3 = new QPushButton( tab3, "pushButton4_4_2_3" );
+ pushButton4_4_2_3 = new TQPushButton( tab3, "pushButton4_4_2_3" );
connect(pushButton4_4_2_3, SIGNAL(clicked()), SLOT(copyColorsToScrollBar()));
layout6->addWidget( pushButton4_4_2_3 );
tab3Layout->addLayout( layout6 );
- tabWidget2->insertTab( tab3, QString::fromLatin1("") );
+ tabWidget2->insertTab( tab3, TQString::fromLatin1("") );
/////////////////////////////////////////////////
// tab 2.4 (headers)
/////////////////////////////////////////////////
- tab4 = new QWidget( tabWidget2, "tab4" );
- tab4Layout = new QVBoxLayout( tab4, 11, 6, "tab4Layout");
+ tab4 = new TQWidget( tabWidget2, "tab4" );
+ tab4Layout = new TQVBoxLayout( tab4, 11, 6, "tab4Layout");
- groupBox22_2_2_3 = new QGroupBox( tab4, "groupBox22_2_2_3" );
- groupBox22_2_2_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox22_2_2_3->sizePolicy().hasHeightForWidth() ) );
- groupBox22_2_2_3->setColumnLayout(0, Qt::Vertical );
+ groupBox22_2_2_3 = new TQGroupBox( tab4, "groupBox22_2_2_3" );
+ groupBox22_2_2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox22_2_2_3->sizePolicy().hasHeightForWidth() ) );
+ groupBox22_2_2_3->setColumnLayout(0, TQt::Vertical );
groupBox22_2_2_3->layout()->setSpacing( 0 );
groupBox22_2_2_3->layout()->setMargin( 11 );
- groupBox22_2_2_3Layout = new QGridLayout( groupBox22_2_2_3->layout() );
- groupBox22_2_2_3Layout->setAlignment( Qt::AlignTop );
- spacer3_2_2_2 = new QSpacerItem( 12, 25, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ groupBox22_2_2_3Layout = new TQGridLayout( groupBox22_2_2_3->layout() );
+ groupBox22_2_2_3Layout->setAlignment( TQt::AlignTop );
+ spacer3_2_2_2 = new TQSpacerItem( 12, 25, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2_3Layout->addItem( spacer3_2_2_2, 3, 6 );
- spacer6_2_2_2 = new QSpacerItem( 83, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer6_2_2_2 = new TQSpacerItem( 83, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2_3Layout->addItem( spacer6_2_2_2, 3, 3 );
kColorButton27_2_2_2_2 = new KColorButton( groupBox22_2_2_3, "kColorButton27_2_2_2_2" );
- kColorButton27_2_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
- kColorButton27_2_2_2_2->setMinimumSize( QSize( 75, 0 ) );
+ kColorButton27_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton27_2_2_2_2->setMinimumSize( TQSize( 75, 0 ) );
groupBox22_2_2_3Layout->addWidget( kColorButton27_2_2_2_2, 3, 5 );
- spacer2_2_2_2 = new QSpacerItem( 82, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer2_2_2_2 = new TQSpacerItem( 82, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2_3Layout->addItem( spacer2_2_2_2, 3, 2 );
- spacer46_2_2_2 = new QSpacerItem( 20, 7, QSizePolicy::Minimum, QSizePolicy::Fixed );
+ spacer46_2_2_2 = new TQSpacerItem( 20, 7, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
groupBox22_2_2_3Layout->addItem( spacer46_2_2_2, 2, 5 );
- textLabel1_2_2_2_2 = new QLabel( groupBox22_2_2_3, "textLabel1_2_2_2_2" );
- textLabel1_2_2_2_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
- textLabel1_2_2_2_2->setTextFormat( QLabel::PlainText );
+ textLabel1_2_2_2_2 = new TQLabel( groupBox22_2_2_3, "textLabel1_2_2_2_2" );
+ textLabel1_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2_2_2_2->setTextFormat( TQLabel::PlainText );
groupBox22_2_2_3Layout->addWidget( textLabel1_2_2_2_2, 3, 4 );
- spacer43_2_2_2 = new QSpacerItem( 5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer43_2_2_2 = new TQSpacerItem( 5, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2_3Layout->addItem( spacer43_2_2_2, 1, 1 );
- groupBox10_2_2_2_2_4_3 = new QGroupBox( groupBox22_2_2_3, "groupBox10_2_2_2_2_4_3" );
- groupBox10_2_2_2_2_4_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
- groupBox10_2_2_2_2_4_3->setMinimumSize( QSize( 170, 0 ) );
- groupBox10_2_2_2_2_4_3->setColumnLayout(0, Qt::Vertical );
+ groupBox10_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox10_2_2_2_2_4_3" );
+ groupBox10_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
+ groupBox10_2_2_2_2_4_3->setMinimumSize( TQSize( 170, 0 ) );
+ groupBox10_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical );
groupBox10_2_2_2_2_4_3->layout()->setSpacing( 6 );
groupBox10_2_2_2_2_4_3->layout()->setMargin( 11 );
- groupBox10_2_2_2_2_4_3Layout = new QVBoxLayout( groupBox10_2_2_2_2_4_3->layout() );
- groupBox10_2_2_2_2_4_3Layout->setAlignment( Qt::AlignTop );
+ groupBox10_2_2_2_2_4_3Layout = new TQVBoxLayout( groupBox10_2_2_2_2_4_3->layout() );
+ groupBox10_2_2_2_2_4_3Layout->setAlignment( TQt::AlignTop );
- frame3 = new QFrame( groupBox10_2_2_2_2_4_3, "frame3" );
- frame3->setFrameShape( QFrame::StyledPanel );
- frame3->setFrameShadow( QFrame::Raised ); // ?^
+ frame3 = new TQFrame( groupBox10_2_2_2_2_4_3, "frame3" );
+ frame3->setFrameShape( TQFrame::StyledPanel );
+ frame3->setFrameShadow( TQFrame::Raised ); // ?^
frame3->setLineWidth( 1 );
- frame3Layout = new QVBoxLayout( frame3, 2, 6, "frame3Layout");
+ frame3Layout = new TQVBoxLayout( frame3, 2, 6, "frame3Layout");
- layout1 = new QVBoxLayout( 0, 0, 0, "layout1");
+ layout1 = new TQVBoxLayout( 0, 0, 0, "layout1");
- header1 = new QHeader(frame3, "dominoPreviewWidget");
+ header1 = new TQHeader(frame3, "dominoPreviewWidget");
header1->setStyle(previewStyle);
header1->setMovingEnabled(false);
header1->setStretchEnabled(true);
@@ -1297,7 +1297,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
layout1->addWidget( header1);
- listBox1 = new QListBox( frame3, "listBox1" );
+ listBox1 = new TQListBox( frame3, "listBox1" );
listBox1->setLineWidth(0);
layout1->addWidget( listBox1 );
@@ -1307,18 +1307,18 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
//////////////////////////////////////
groupBox22_2_2_3Layout->addMultiCellWidget( groupBox10_2_2_2_2_4_3, 0, 1, 0, 0 );
- groupBox8_2_2_2_2_4_3 = new QGroupBox( groupBox22_2_2_3, "groupBox8_2_2_2_2_4_3" );
+ groupBox8_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox8_2_2_2_2_4_3" );
groupBox8_2_2_2_2_4_3->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox8_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header1GradientChanged()));
+ connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header1GradientChanged()));
- groupBox8_2_2_2_2_4_3->setColumnLayout(0, Qt::Vertical );
+ groupBox8_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2_4_3->layout()->setSpacing( 7 );
groupBox8_2_2_2_2_4_3->layout()->setMargin( 4 );
- groupBox8_2_2_2_2_4_3Layout = new QGridLayout( groupBox8_2_2_2_2_4_3->layout() );
- groupBox8_2_2_2_2_4_3Layout->setAlignment( Qt::AlignTop );
+ groupBox8_2_2_2_2_4_3Layout = new TQGridLayout( groupBox8_2_2_2_2_4_3->layout() );
+ groupBox8_2_2_2_2_4_3Layout->setAlignment( TQt::AlignTop );
- textLabel4_3_2_2_2_2_4_3 = new QLabel( groupBox8_2_2_2_2_4_3, "textLabel4_3_2_2_2_2_4_3" );
- textLabel4_3_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel4_3_2_2_2_2_4_3 = new TQLabel( groupBox8_2_2_2_2_4_3, "textLabel4_3_2_2_2_2_4_3" );
+ textLabel4_3_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3Layout->addWidget( textLabel4_3_2_2_2_2_4_3, 1, 0 );
@@ -1328,8 +1328,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3Layout->addWidget( spinBox2_2_2_2_2_2_4_3, 1, 1 );
- textLabel2_2_2_2_2_2_4_3 = new QLabel( groupBox8_2_2_2_2_4_3, "textLabel2_2_2_2_2_2_4_3" );
- textLabel2_2_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel2_2_2_2_2_2_4_3 = new TQLabel( groupBox8_2_2_2_2_4_3, "textLabel2_2_2_2_2_2_4_3" );
+ textLabel2_2_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3Layout->addWidget( textLabel2_2_2_2_2_2_4_3, 1, 2 );
@@ -1337,8 +1337,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3Layout->addWidget( kColorButton1_2_2_2_2_2_4_3, 1, 3 );
- textLabel3_3_2_2_2_2_4_3 = new QLabel( groupBox8_2_2_2_2_4_3, "textLabel3_3_2_2_2_2_4_3" );
- textLabel3_3_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel3_3_2_2_2_2_4_3 = new TQLabel( groupBox8_2_2_2_2_4_3, "textLabel3_3_2_2_2_2_4_3" );
+ textLabel3_3_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3Layout->addWidget( textLabel3_3_2_2_2_2_4_3, 0, 0 );
@@ -1348,8 +1348,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3Layout->addWidget( spinBox1_2_2_2_2_2_4_3, 0, 1 );
- textLabel1_4_2_2_2_2_4_3 = new QLabel( groupBox8_2_2_2_2_4_3, "textLabel1_4_2_2_2_2_4_3" );
- textLabel1_4_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel1_4_2_2_2_2_4_3 = new TQLabel( groupBox8_2_2_2_2_4_3, "textLabel1_4_2_2_2_2_4_3" );
+ textLabel1_4_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3Layout->addWidget( textLabel1_4_2_2_2_2_4_3, 0, 2 );
@@ -1359,19 +1359,19 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox22_2_2_3Layout->addMultiCellWidget( groupBox8_2_2_2_2_4_3, 0, 0, 2, 6 );
- groupBox9_2_2_2_2_4_3 = new QGroupBox( groupBox22_2_2_3, "groupBox9_2_2_2_2_4_3" );
- groupBox9_2_2_2_2_4_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
+ groupBox9_2_2_2_2_4_3 = new TQGroupBox( groupBox22_2_2_3, "groupBox9_2_2_2_2_4_3" );
+ groupBox9_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox9_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header2GradientChanged()));
+ connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(header2GradientChanged()));
groupBox9_2_2_2_2_4_3->setChecked( FALSE );
- groupBox9_2_2_2_2_4_3->setColumnLayout(0, Qt::Vertical );
+ groupBox9_2_2_2_2_4_3->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2_2_4_3->layout()->setSpacing( 7 );
groupBox9_2_2_2_2_4_3->layout()->setMargin( 4 );
- groupBox9_2_2_2_2_4_3Layout = new QGridLayout( groupBox9_2_2_2_2_4_3->layout() );
- groupBox9_2_2_2_2_4_3Layout->setAlignment( Qt::AlignTop );
+ groupBox9_2_2_2_2_4_3Layout = new TQGridLayout( groupBox9_2_2_2_2_4_3->layout() );
+ groupBox9_2_2_2_2_4_3Layout->setAlignment( TQt::AlignTop );
- textLabel4_4_2_2_2_2_4_3 = new QLabel( groupBox9_2_2_2_2_4_3, "textLabel4_4_2_2_2_2_4_3" );
- textLabel4_4_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel4_4_2_2_2_2_4_3 = new TQLabel( groupBox9_2_2_2_2_4_3, "textLabel4_4_2_2_2_2_4_3" );
+ textLabel4_4_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3Layout->addWidget( textLabel4_4_2_2_2_2_4_3, 1, 0 );
@@ -1381,8 +1381,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3Layout->addWidget( spinBox2_3_2_2_2_2_4_3, 1, 1 );
- textLabel3_4_2_2_2_2_4_3 = new QLabel( groupBox9_2_2_2_2_4_3, "textLabel3_4_2_2_2_2_4_3" );
- textLabel3_4_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel3_4_2_2_2_2_4_3 = new TQLabel( groupBox9_2_2_2_2_4_3, "textLabel3_4_2_2_2_2_4_3" );
+ textLabel3_4_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3Layout->addWidget( textLabel3_4_2_2_2_2_4_3, 0, 0 );
@@ -1393,7 +1393,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3Layout->addWidget( spinBox1_3_2_2_2_2_4_3, 0, 1 );
kColorButton1_3_2_2_2_2_4_3 = new KColorButton( groupBox9_2_2_2_2_4_3, "kColorButton1_3_2_2_2_2_4_3" );
- kColorButton1_3_2_2_2_2_4_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
+ kColorButton1_3_2_2_2_2_4_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4_3->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3Layout->addWidget( kColorButton1_3_2_2_2_2_4_3, 1, 3 );
@@ -1401,62 +1401,62 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3Layout->addWidget( kColorButton2_5_2_2_2_2_4_3, 0, 3 );
- textLabel1_5_2_2_2_2_4_3 = new QLabel( groupBox9_2_2_2_2_4_3, "textLabel1_5_2_2_2_2_4_3" );
- textLabel1_5_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel1_5_2_2_2_2_4_3 = new TQLabel( groupBox9_2_2_2_2_4_3, "textLabel1_5_2_2_2_2_4_3" );
+ textLabel1_5_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3Layout->addWidget( textLabel1_5_2_2_2_2_4_3, 0, 2 );
- textLabel2_3_2_2_2_2_4_3 = new QLabel( groupBox9_2_2_2_2_4_3, "textLabel2_3_2_2_2_2_4_3" );
- textLabel2_3_2_2_2_2_4_3->setTextFormat( QLabel::PlainText );
+ textLabel2_3_2_2_2_2_4_3 = new TQLabel( groupBox9_2_2_2_2_4_3, "textLabel2_3_2_2_2_2_4_3" );
+ textLabel2_3_2_2_2_2_4_3->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3Layout->addWidget( textLabel2_3_2_2_2_2_4_3, 1, 2 );
groupBox22_2_2_3Layout->addMultiCellWidget( groupBox9_2_2_2_2_4_3, 1, 1, 2, 6 );
tab4Layout->addWidget( groupBox22_2_2_3 );
- layout21 = new QHBoxLayout( 0, 0, 6, "layout21");
- spacer7_2_3_3 = new QSpacerItem( 354, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ layout21 = new TQHBoxLayout( 0, 0, 6, "layout21");
+ spacer7_2_3_3 = new TQSpacerItem( 354, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout21->addItem( spacer7_2_3_3 );
- textLabel7_4_2_3_3 = new QLabel( tab4, "textLabel7_4_2_3_3" );
+ textLabel7_4_2_3_3 = new TQLabel( tab4, "textLabel7_4_2_3_3" );
layout21->addWidget( textLabel7_4_2_3_3 );
- comboBox3_4_2_3_3 = new QComboBox( FALSE, tab4, "comboBox3_4_2_3_3" );
+ comboBox3_4_2_3_3 = new TQComboBox( FALSE, tab4, "comboBox3_4_2_3_3" );
layout21->addWidget( comboBox3_4_2_3_3 );
- pushButton4_4_2_3_3 = new QPushButton( tab4, "pushButton4_4_2_3_3" );
+ pushButton4_4_2_3_3 = new TQPushButton( tab4, "pushButton4_4_2_3_3" );
connect(pushButton4_4_2_3_3, SIGNAL(clicked()), SLOT(copyColorsToHeader()));
layout21->addWidget( pushButton4_4_2_3_3 );
tab4Layout->addLayout( layout21 );
- tabWidget2->insertTab( tab4, QString::fromLatin1("") );
+ tabWidget2->insertTab( tab4, TQString::fromLatin1("") );
/////////////////////////////////////////////////
// tab 2.5 (radio/checkboxes)
/////////////////////////////////////////////////
- tab5 = new QWidget( tabWidget2, "tab5" );
- tab5Layout = new QVBoxLayout( tab5, 11, 6, "tab5Layout");
+ tab5 = new TQWidget( tabWidget2, "tab5" );
+ tab5Layout = new TQVBoxLayout( tab5, 11, 6, "tab5Layout");
- groupBox22_2_2_3_2 = new QGroupBox( tab5, "groupBox22_2_2_3_2" );
- groupBox22_2_2_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox22_2_2_3_2->sizePolicy().hasHeightForWidth() ) );
- groupBox22_2_2_3_2->setColumnLayout(0, Qt::Vertical );
+ groupBox22_2_2_3_2 = new TQGroupBox( tab5, "groupBox22_2_2_3_2" );
+ groupBox22_2_2_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox22_2_2_3_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox22_2_2_3_2->setColumnLayout(0, TQt::Vertical );
groupBox22_2_2_3_2->layout()->setSpacing( 0 );
groupBox22_2_2_3_2->layout()->setMargin( 11 );
- groupBox22_2_2_3_2Layout = new QGridLayout( groupBox22_2_2_3_2->layout() );
- groupBox22_2_2_3_2Layout->setAlignment( Qt::AlignTop );
+ groupBox22_2_2_3_2Layout = new TQGridLayout( groupBox22_2_2_3_2->layout() );
+ groupBox22_2_2_3_2Layout->setAlignment( TQt::AlignTop );
- groupBox8_2_2_2_2_4_3_2 = new QGroupBox( groupBox22_2_2_3_2, "groupBox8_2_2_2_2_4_3_2" );
+ groupBox8_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox8_2_2_2_2_4_3_2" );
groupBox8_2_2_2_2_4_3_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox8_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem1GradientChanged()));
+ connect(((TQCheckBox*)groupBox8_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem1GradientChanged()));
groupBox8_2_2_2_2_4_3_2->setChecked( FALSE );
- groupBox8_2_2_2_2_4_3_2->setColumnLayout(0, Qt::Vertical );
+ groupBox8_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical );
groupBox8_2_2_2_2_4_3_2->layout()->setSpacing( 7 );
groupBox8_2_2_2_2_4_3_2->layout()->setMargin( 4 );
- groupBox8_2_2_2_2_4_3_2Layout = new QGridLayout( groupBox8_2_2_2_2_4_3_2->layout() );
- groupBox8_2_2_2_2_4_3_2Layout->setAlignment( Qt::AlignTop );
+ groupBox8_2_2_2_2_4_3_2Layout = new TQGridLayout( groupBox8_2_2_2_2_4_3_2->layout() );
+ groupBox8_2_2_2_2_4_3_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_3_2_2_2_2_4_3_2 = new QLabel( groupBox8_2_2_2_2_4_3_2, "textLabel4_3_2_2_2_2_4_3_2" );
- textLabel4_3_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel4_3_2_2_2_2_4_3_2 = new TQLabel( groupBox8_2_2_2_2_4_3_2, "textLabel4_3_2_2_2_2_4_3_2" );
+ textLabel4_3_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3_2Layout->addWidget( textLabel4_3_2_2_2_2_4_3_2, 1, 0 );
@@ -1466,8 +1466,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3_2Layout->addWidget( spinBox2_2_2_2_2_2_4_3_2, 1, 1 );
- textLabel2_2_2_2_2_2_4_3_2 = new QLabel( groupBox8_2_2_2_2_4_3_2, "textLabel2_2_2_2_2_2_4_3_2" );
- textLabel2_2_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel2_2_2_2_2_2_4_3_2 = new TQLabel( groupBox8_2_2_2_2_4_3_2, "textLabel2_2_2_2_2_2_4_3_2" );
+ textLabel2_2_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3_2Layout->addWidget( textLabel2_2_2_2_2_2_4_3_2, 1, 2 );
@@ -1475,8 +1475,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3_2Layout->addWidget( kColorButton1_2_2_2_2_2_4_3_2, 1, 3 );
- textLabel3_3_2_2_2_2_4_3_2 = new QLabel( groupBox8_2_2_2_2_4_3_2, "textLabel3_3_2_2_2_2_4_3_2" );
- textLabel3_3_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel3_3_2_2_2_2_4_3_2 = new TQLabel( groupBox8_2_2_2_2_4_3_2, "textLabel3_3_2_2_2_2_4_3_2" );
+ textLabel3_3_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3_2Layout->addWidget( textLabel3_3_2_2_2_2_4_3_2, 0, 0 );
@@ -1486,8 +1486,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3_2Layout->addWidget( spinBox1_2_2_2_2_2_4_3_2, 0, 1 );
- textLabel1_4_2_2_2_2_4_3_2 = new QLabel( groupBox8_2_2_2_2_4_3_2, "textLabel1_4_2_2_2_2_4_3_2" );
- textLabel1_4_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel1_4_2_2_2_2_4_3_2 = new TQLabel( groupBox8_2_2_2_2_4_3_2, "textLabel1_4_2_2_2_2_4_3_2" );
+ textLabel1_4_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox8_2_2_2_2_4_3_2Layout->addWidget( textLabel1_4_2_2_2_2_4_3_2, 0, 2 );
@@ -1496,37 +1496,37 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox8_2_2_2_2_4_3_2Layout->addWidget( kColorButton2_4_2_2_2_2_4_3_2, 0, 3 );
groupBox22_2_2_3_2Layout->addMultiCellWidget( groupBox8_2_2_2_2_4_3_2, 0, 0, 2, 6 );
- spacer3_2_2_3 = new QSpacerItem( 12, 25, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer3_2_2_3 = new TQSpacerItem( 12, 25, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2_3_2Layout->addItem( spacer3_2_2_3, 3, 6 );
- spacer6_2_2_3 = new QSpacerItem( 83, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer6_2_2_3 = new TQSpacerItem( 83, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2_3_2Layout->addItem( spacer6_2_2_3, 3, 3 );
kColorButton27_2_2_2_3 = new KColorButton( groupBox22_2_2_3_2, "kColorButton27_2_2_2_3" );
- kColorButton27_2_2_2_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
- kColorButton27_2_2_2_3->setMinimumSize( QSize( 75, 0 ) );
+ kColorButton27_2_2_2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, kColorButton27_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
+ kColorButton27_2_2_2_3->setMinimumSize( TQSize( 75, 0 ) );
groupBox22_2_2_3_2Layout->addWidget( kColorButton27_2_2_2_3, 3, 5 );
- spacer2_2_2_3 = new QSpacerItem( 82, 25, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer2_2_2_3 = new TQSpacerItem( 82, 25, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
groupBox22_2_2_3_2Layout->addItem( spacer2_2_2_3, 3, 2 );
- spacer46_2_2_3 = new QSpacerItem( 20, 7, QSizePolicy::Minimum, QSizePolicy::Fixed );
+ spacer46_2_2_3 = new TQSpacerItem( 20, 7, TQSizePolicy::Minimum, TQSizePolicy::Fixed );
groupBox22_2_2_3_2Layout->addItem( spacer46_2_2_3, 2, 5 );
- textLabel1_2_2_2_3 = new QLabel( groupBox22_2_2_3_2, "textLabel1_2_2_2_3" );
- textLabel1_2_2_2_3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
- textLabel1_2_2_2_3->setTextFormat( QLabel::PlainText );
+ textLabel1_2_2_2_3 = new TQLabel( groupBox22_2_2_3_2, "textLabel1_2_2_2_3" );
+ textLabel1_2_2_2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
+ textLabel1_2_2_2_3->setTextFormat( TQLabel::PlainText );
groupBox22_2_2_3_2Layout->addWidget( textLabel1_2_2_2_3, 3, 4 );
- spacer43_2_2_2_2 = new QSpacerItem( 5, 20, QSizePolicy::Fixed, QSizePolicy::Minimum );
+ spacer43_2_2_2_2 = new TQSpacerItem( 5, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
groupBox22_2_2_3_2Layout->addItem( spacer43_2_2_2_2, 1, 1 );
- groupBox10_2_2_2_2_4_3_2 = new QGroupBox( groupBox22_2_2_3_2, "groupBox10_2_2_2_2_4_3_2" );
- groupBox10_2_2_2_2_4_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
- groupBox10_2_2_2_2_4_3_2->setMinimumSize( QSize( 170, 0 ) );
- groupBox10_2_2_2_2_4_3_2->setColumnLayout(0, Qt::Vertical );
+ groupBox10_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox10_2_2_2_2_4_3_2" );
+ groupBox10_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, groupBox10_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox10_2_2_2_2_4_3_2->setMinimumSize( TQSize( 170, 0 ) );
+ groupBox10_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical );
groupBox10_2_2_2_2_4_3_2->layout()->setSpacing( 6 );
groupBox10_2_2_2_2_4_3_2->layout()->setMargin( 11 );
- groupBox10_2_2_2_2_4_3_2Layout = new QVBoxLayout( groupBox10_2_2_2_2_4_3_2->layout() );
- groupBox10_2_2_2_2_4_3_2Layout->setAlignment( Qt::AlignTop );
+ groupBox10_2_2_2_2_4_3_2Layout = new TQVBoxLayout( groupBox10_2_2_2_2_4_3_2->layout() );
+ groupBox10_2_2_2_2_4_3_2Layout->setAlignment( TQt::AlignTop );
radioButton2 = new PreviewRadioButton( groupBox10_2_2_2_2_4_3_2, "dominoPreviewWidget" );
radioButton2->setStyle(previewStyle);
@@ -1538,20 +1538,20 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox22_2_2_3_2Layout->addMultiCellWidget( groupBox10_2_2_2_2_4_3_2, 0, 1, 0, 0 );
- groupBox9_2_2_2_2_4_3_2 = new QGroupBox( groupBox22_2_2_3_2, "groupBox9_2_2_2_2_4_3_2" );
- groupBox9_2_2_2_2_4_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)5, (QSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
+ groupBox9_2_2_2_2_4_3_2 = new TQGroupBox( groupBox22_2_2_3_2, "groupBox9_2_2_2_2_4_3_2" );
+ groupBox9_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, groupBox9_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3_2->setCheckable( TRUE );
- connect(((QCheckBox*)groupBox9_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem2GradientChanged()));
+ connect(((TQCheckBox*)groupBox9_2_2_2_2_4_3_2->child("qt_groupbox_checkbox", 0, false)), SIGNAL(clicked()), SLOT(checkItem2GradientChanged()));
groupBox9_2_2_2_2_4_3_2->setChecked( FALSE );
- groupBox9_2_2_2_2_4_3_2->setColumnLayout(0, Qt::Vertical );
+ groupBox9_2_2_2_2_4_3_2->setColumnLayout(0, TQt::Vertical );
groupBox9_2_2_2_2_4_3_2->layout()->setSpacing( 7 );
groupBox9_2_2_2_2_4_3_2->layout()->setMargin( 4 );
- groupBox9_2_2_2_2_4_3_2Layout = new QGridLayout( groupBox9_2_2_2_2_4_3_2->layout() );
- groupBox9_2_2_2_2_4_3_2Layout->setAlignment( Qt::AlignTop );
+ groupBox9_2_2_2_2_4_3_2Layout = new TQGridLayout( groupBox9_2_2_2_2_4_3_2->layout() );
+ groupBox9_2_2_2_2_4_3_2Layout->setAlignment( TQt::AlignTop );
- textLabel4_4_2_2_2_2_4_3_2 = new QLabel( groupBox9_2_2_2_2_4_3_2, "textLabel4_4_2_2_2_2_4_3_2" );
- textLabel4_4_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel4_4_2_2_2_2_4_3_2 = new TQLabel( groupBox9_2_2_2_2_4_3_2, "textLabel4_4_2_2_2_2_4_3_2" );
+ textLabel4_4_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3_2Layout->addWidget( textLabel4_4_2_2_2_2_4_3_2, 1, 0 );
@@ -1561,8 +1561,8 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3_2Layout->addWidget( spinBox2_3_2_2_2_2_4_3_2, 1, 1 );
- textLabel3_4_2_2_2_2_4_3_2 = new QLabel( groupBox9_2_2_2_2_4_3_2, "textLabel3_4_2_2_2_2_4_3_2" );
- textLabel3_4_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel3_4_2_2_2_2_4_3_2 = new TQLabel( groupBox9_2_2_2_2_4_3_2, "textLabel3_4_2_2_2_2_4_3_2" );
+ textLabel3_4_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3_2Layout->addWidget( textLabel3_4_2_2_2_2_4_3_2, 0, 0 );
@@ -1573,7 +1573,7 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3_2Layout->addWidget( spinBox1_3_2_2_2_2_4_3_2, 0, 1 );
kColorButton1_3_2_2_2_2_4_3_2 = new KColorButton( groupBox9_2_2_2_2_4_3_2, "kColorButton1_3_2_2_2_2_4_3_2" );
- kColorButton1_3_2_2_2_2_4_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
+ kColorButton1_3_2_2_2_2_4_3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, kColorButton1_3_2_2_2_2_4_3_2->sizePolicy().hasHeightForWidth() ) );
groupBox9_2_2_2_2_4_3_2Layout->addWidget( kColorButton1_3_2_2_2_2_4_3_2, 1, 3 );
@@ -1581,39 +1581,39 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
groupBox9_2_2_2_2_4_3_2Layout->addWidget( kColorButton2_5_2_2_2_2_4_3_2, 0, 3 );
- textLabel1_5_2_2_2_2_4_3_2 = new QLabel( groupBox9_2_2_2_2_4_3_2, "textLabel1_5_2_2_2_2_4_3_2" );
- textLabel1_5_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel1_5_2_2_2_2_4_3_2 = new TQLabel( groupBox9_2_2_2_2_4_3_2, "textLabel1_5_2_2_2_2_4_3_2" );
+ textLabel1_5_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3_2Layout->addWidget( textLabel1_5_2_2_2_2_4_3_2, 0, 2 );
- textLabel2_3_2_2_2_2_4_3_2 = new QLabel( groupBox9_2_2_2_2_4_3_2, "textLabel2_3_2_2_2_2_4_3_2" );
- textLabel2_3_2_2_2_2_4_3_2->setTextFormat( QLabel::PlainText );
+ textLabel2_3_2_2_2_2_4_3_2 = new TQLabel( groupBox9_2_2_2_2_4_3_2, "textLabel2_3_2_2_2_2_4_3_2" );
+ textLabel2_3_2_2_2_2_4_3_2->setTextFormat( TQLabel::PlainText );
groupBox9_2_2_2_2_4_3_2Layout->addWidget( textLabel2_3_2_2_2_2_4_3_2, 1, 2 );
groupBox22_2_2_3_2Layout->addMultiCellWidget( groupBox9_2_2_2_2_4_3_2, 1, 1, 2, 6 );
tab5Layout->addWidget( groupBox22_2_2_3_2 );
- layout22 = new QHBoxLayout( 0, 0, 6, "layout22");
- spacer7_2_3_3_2 = new QSpacerItem( 354, 21, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ layout22 = new TQHBoxLayout( 0, 0, 6, "layout22");
+ spacer7_2_3_3_2 = new TQSpacerItem( 354, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout22->addItem( spacer7_2_3_3_2 );
- textLabel7_4_2_3_3_2 = new QLabel( tab5, "textLabel7_4_2_3_3_2" );
+ textLabel7_4_2_3_3_2 = new TQLabel( tab5, "textLabel7_4_2_3_3_2" );
layout22->addWidget( textLabel7_4_2_3_3_2 );
- comboBox3_4_2_3_3_2 = new QComboBox( FALSE, tab5, "comboBox3_4_2_3_3_2" );
+ comboBox3_4_2_3_3_2 = new TQComboBox( FALSE, tab5, "comboBox3_4_2_3_3_2" );
layout22->addWidget( comboBox3_4_2_3_3_2 );
- pushButton4_4_2_3_3_2 = new QPushButton( tab5, "pushButton4_4_2_3_3_2" );
+ pushButton4_4_2_3_3_2 = new TQPushButton( tab5, "pushButton4_4_2_3_3_2" );
connect(pushButton4_4_2_3_3_2, SIGNAL(clicked()), SLOT(copyColorsToCheckItem()));
layout22->addWidget( pushButton4_4_2_3_3_2 );
tab5Layout->addLayout( layout22 );
- tabWidget2->insertTab( tab5, QString::fromLatin1("") );
+ tabWidget2->insertTab( tab5, TQString::fromLatin1("") );
- /// resize( QSize(673, 465).expandedTo(minimumSizeHint()) );
+ /// resize( TQSize(673, 465).expandedTo(minimumSizeHint()) );
/// clearWState( WState_Polished );
////////////////////////////////////////////////////////////////////////////
@@ -1621,58 +1621,58 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
////////////////////////////////////////////////////////////////////////////
- QWidget *page3 = new QWidget(tabWidget);
+ TQWidget *page3 = new TQWidget(tabWidget);
- tab_lsLayout = new QVBoxLayout( page3, 11, 6, "tab_lsLayout");
+ tab_lsLayout = new TQVBoxLayout( page3, 11, 6, "tab_lsLayout");
- groupBox_ls = new QGroupBox( page3, "groupBox21" );
- groupBox_ls->setColumnLayout(0, Qt::Vertical );
+ groupBox_ls = new TQGroupBox( page3, "groupBox21" );
+ groupBox_ls->setColumnLayout(0, TQt::Vertical );
groupBox_ls->layout()->setSpacing( 6 );
groupBox_ls->layout()->setMargin( 11 );
- groupBox_lsLayout = new QHBoxLayout( groupBox_ls->layout() );
- groupBox_lsLayout->setAlignment( Qt::AlignTop );
+ groupBox_lsLayout = new TQHBoxLayout( groupBox_ls->layout() );
+ groupBox_lsLayout->setAlignment( TQt::AlignTop );
- listView_ls = new QListView( groupBox_ls, "listView_ls" );
+ listView_ls = new TQListView( groupBox_ls, "listView_ls" );
listView_ls->addColumn( tr( "Name" ) );
listView_ls->header()->setMovingEnabled(false);
- listView_ls->setResizeMode(QListView::LastColumn);
+ listView_ls->setResizeMode(TQListView::LastColumn);
listView_ls->setShowSortIndicator(true);
- connect(listView_ls, SIGNAL(selectionChanged(QListViewItem*)), SLOT(slotDelPerm(QListViewItem*)));
- connect(listView_ls, SIGNAL(doubleClicked(QListViewItem*, const QPoint&, int)), SLOT(slotLoad()));
+ connect(listView_ls, SIGNAL(selectionChanged(TQListViewItem*)), SLOT(slotDelPerm(TQListViewItem*)));
+ connect(listView_ls, SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), SLOT(slotLoad()));
schemeList = new SchemeList();
getConfigSchemes();
groupBox_lsLayout->addWidget( listView_ls );
- layout8 = new QVBoxLayout( 0, 0, 6, "layout8");
- loadButton = new QPushButton( groupBox_ls, "loadButton" );
+ layout8 = new TQVBoxLayout( 0, 0, 6, "layout8");
+ loadButton = new TQPushButton( groupBox_ls, "loadButton" );
connect(loadButton, SIGNAL(clicked()), SLOT(slotLoad()));
layout8->addWidget( loadButton );
- saveButton = new QPushButton( groupBox_ls, "saveButton" );
+ saveButton = new TQPushButton( groupBox_ls, "saveButton" );
connect(saveButton, SIGNAL(clicked()), SLOT(slotSave()));
layout8->addWidget( saveButton );
- deleteButton = new QPushButton( groupBox_ls, "deleteButton" );
+ deleteButton = new TQPushButton( groupBox_ls, "deleteButton" );
connect(deleteButton, SIGNAL(clicked()), SLOT(slotDelete()));
layout8->addWidget( deleteButton );
- importButton = new QPushButton( groupBox_ls, "importButton" );
+ importButton = new TQPushButton( groupBox_ls, "importButton" );
connect(importButton, SIGNAL(clicked()), SLOT(slotImport()));
layout8->addWidget( importButton );
- spacer32 = new QSpacerItem( 31, 141, QSizePolicy::Minimum, QSizePolicy::Expanding );
+ spacer32 = new TQSpacerItem( 31, 141, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
layout8->addItem( spacer32 );
groupBox_lsLayout->addLayout( layout8 );
tab_lsLayout->addWidget( groupBox_ls );
- currentConfigLabel = new QLabel(page3);
+ currentConfigLabel = new TQLabel(page3);
tab_lsLayout->addWidget(currentConfigLabel);
tabWidget->addTab(page3, "Load/Save");
-// resize( QSize(673, 465).expandedTo(minimumSizeHint()) );
+// resize( TQSize(673, 465).expandedTo(minimumSizeHint()) );
languageChange();
////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1683,54 +1683,54 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
updateChanged(); // enable or disable widgets
// scrollbar buttons or groove
- connect(comboBox7, SIGNAL( activated(const QString &)), SLOT(userLoadScrollBarConfig()));
+ connect(comboBox7, SIGNAL( activated(const TQString &)), SLOT(userLoadScrollBarConfig()));
// btn
- connect(kColorButton2_4_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(btnPv1(const QColor&)));
- connect(kColorButton1_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(btnPv2(const QColor&)));
- connect(kColorButton2_5_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(btnPv3(const QColor&)));
- connect(kColorButton1_3_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(btnPv4(const QColor&)));
- connect(kColorButton27_2, SIGNAL(changed(const QColor&)),this, SLOT(btnPv5(const QColor&)));
+ connect(kColorButton2_4_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv1(const TQColor&)));
+ connect(kColorButton1_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv2(const TQColor&)));
+ connect(kColorButton2_5_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv3(const TQColor&)));
+ connect(kColorButton1_3_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv4(const TQColor&)));
+ connect(kColorButton27_2, SIGNAL(changed(const TQColor&)),this, SLOT(btnPv5(const TQColor&)));
connect(spinBox1_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv6(int)));
connect(spinBox2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv7(int)));
connect(spinBox1_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv8(int)));
connect(spinBox2_3_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(btnPv9(int)));
// header
- connect(kColorButton2_4_2_2_2_2_4_3, SIGNAL(changed(const QColor&)),this, SLOT(hPv1(const QColor&)));
- connect(kColorButton1_2_2_2_2_2_4_3, SIGNAL(changed(const QColor&)),this, SLOT(hPv2(const QColor&)));
- connect(kColorButton2_5_2_2_2_2_4_3, SIGNAL(changed(const QColor&)),this, SLOT(hPv3(const QColor&)));
- connect(kColorButton1_3_2_2_2_2_4_3, SIGNAL(changed(const QColor&)),this, SLOT(hPv4(const QColor&)));
- connect(kColorButton27_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(hPv5(const QColor&)));
+ connect(kColorButton2_4_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv1(const TQColor&)));
+ connect(kColorButton1_2_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv2(const TQColor&)));
+ connect(kColorButton2_5_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv3(const TQColor&)));
+ connect(kColorButton1_3_2_2_2_2_4_3, SIGNAL(changed(const TQColor&)),this, SLOT(hPv4(const TQColor&)));
+ connect(kColorButton27_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(hPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv6(int)));
connect(spinBox2_2_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv7(int)));
connect(spinBox1_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv8(int)));
connect(spinBox2_3_2_2_2_2_4_3, SIGNAL(valueChanged(int)), this, SLOT(hPv9(int)));
// checkBox
- connect(kColorButton2_4_2_2_2_2_4_3_2, SIGNAL(changed(const QColor&)),this, SLOT(chbPv1(const QColor&)));
- connect(kColorButton1_2_2_2_2_2_4_3_2, SIGNAL(changed(const QColor&)),this, SLOT(chbPv2(const QColor&)));
- connect(kColorButton2_5_2_2_2_2_4_3_2, SIGNAL(changed(const QColor&)),this, SLOT(chbPv3(const QColor&)));
- connect(kColorButton1_3_2_2_2_2_4_3_2, SIGNAL(changed(const QColor&)),this, SLOT(chbPv4(const QColor&)));
- connect(kColorButton27_2_2_2_3, SIGNAL(changed(const QColor&)),this, SLOT(chbPv5(const QColor&)));
+ connect(kColorButton2_4_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv1(const TQColor&)));
+ connect(kColorButton1_2_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv2(const TQColor&)));
+ connect(kColorButton2_5_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv3(const TQColor&)));
+ connect(kColorButton1_3_2_2_2_2_4_3_2, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv4(const TQColor&)));
+ connect(kColorButton27_2_2_2_3, SIGNAL(changed(const TQColor&)),this, SLOT(chbPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv6(int)));
connect(spinBox2_2_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv7(int)));
connect(spinBox1_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv8(int)));
connect(spinBox2_3_2_2_2_2_4_3_2, SIGNAL(valueChanged(int)), this, SLOT(chbPv9(int)));
// scrollbar
- connect(kColorButton2_4_2_2_2_2_4, SIGNAL(changed(const QColor&)),this, SLOT(sbPv1(const QColor&)));
- connect(kColorButton1_2_2_2_2_2_4, SIGNAL(changed(const QColor&)),this, SLOT(sbPv2(const QColor&)));
- connect(kColorButton2_5_2_2_2_2_4, SIGNAL(changed(const QColor&)),this, SLOT(sbPv3(const QColor&)));
- connect(kColorButton1_3_2_2_2_2_4, SIGNAL(changed(const QColor&)),this, SLOT(sbPv4(const QColor&)));
- connect(kColorButton27_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(sbPv5(const QColor&)));
+ connect(kColorButton2_4_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv1(const TQColor&)));
+ connect(kColorButton1_2_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv2(const TQColor&)));
+ connect(kColorButton2_5_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv3(const TQColor&)));
+ connect(kColorButton1_3_2_2_2_2_4, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv4(const TQColor&)));
+ connect(kColorButton27_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(sbPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv6(int)));
connect(spinBox2_2_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv7(int)));
connect(spinBox1_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv8(int)));
connect(spinBox2_3_2_2_2_2_4, SIGNAL(valueChanged(int)), this, SLOT(sbPv9(int)));
// tab
- connect(kColorButton2_4_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(tabPv1(const QColor&)));
- connect(kColorButton1_2_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(tabPv2(const QColor&)));
- connect(kColorButton2_5_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(tabPv3(const QColor&)));
- connect(kColorButton1_3_2_2_2_2, SIGNAL(changed(const QColor&)),this, SLOT(tabPv4(const QColor&)));
- connect(kColorButton27_2_2, SIGNAL(changed(const QColor&)),this, SLOT(tabPv5(const QColor&)));
+ connect(kColorButton2_4_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv1(const TQColor&)));
+ connect(kColorButton1_2_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv2(const TQColor&)));
+ connect(kColorButton2_5_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv3(const TQColor&)));
+ connect(kColorButton1_3_2_2_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv4(const TQColor&)));
+ connect(kColorButton27_2_2, SIGNAL(changed(const TQColor&)),this, SLOT(tabPv5(const TQColor&)));
connect(spinBox1_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv6(int)));
connect(spinBox2_2_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv7(int)));
connect(spinBox1_3_2_2_2_2, SIGNAL(valueChanged(int)), this, SLOT(tabPv8(int)));
@@ -1742,23 +1742,23 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(customCheckMarkColor, SIGNAL(toggled(bool)), SLOT(updateCheckItemIndicators()));
- connect(checkMarkColor, SIGNAL(changed(const QColor&)), SLOT(updateCheckItemIndicators()));
+ connect(checkMarkColor, SIGNAL(changed(const TQColor&)), SLOT(updateCheckItemIndicators()));
connect(customToolTipColor, SIGNAL(toggled(bool)), SLOT(updateChanged()));
connect(customPopupMenuColor, SIGNAL(toggled(bool)), SLOT( updateChanged()));
connect(customSelMenuItemColor, SIGNAL(toggled(bool)), SLOT( updateChanged()));
connect(tintGroupBoxBackground, SIGNAL(toggled(bool)), SLOT( updateChanged()));
- connect(indicatorColor, SIGNAL(changed(const QColor&)), this, SLOT(updateFocusIndicatorSettings()));
- connect(indicatorBtnColor, SIGNAL(changed(const QColor&)), this, SLOT(updateFocusIndicatorSettings()));
+ connect(indicatorColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings()));
+ connect(indicatorBtnColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateFocusIndicatorSettings()));
connect(indicatorOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings()));
connect(indicatorBtnOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateFocusIndicatorSettings()));
- connect(textEffectColor, SIGNAL(changed(const QColor&)), this, SLOT(updateTextEffectSettings()));
+ connect(textEffectColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings()));
connect(textEffectPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings()));
connect(textEffectOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings()));
- connect(textEffectButtonColor, SIGNAL(changed(const QColor&)), this, SLOT(updateTextEffectSettings()));
+ connect(textEffectButtonColor, SIGNAL(changed(const TQColor&)), this, SLOT(updateTextEffectSettings()));
connect(textEffectButtonPos, SIGNAL(activated(int)), this, SLOT(updateTextEffectSettings()));
connect(textEffectButtonOpacity, SIGNAL(valueChanged(int)), this, SLOT(updateTextEffectSettings()));
@@ -1770,31 +1770,31 @@ DominoStyleConfig::DominoStyleConfig(QWidget* parent): QWidget(parent)
// btn
-void DominoStyleConfig::btnPv1(const QColor&col) {
+void DominoStyleConfig::btnPv1(const TQColor&col) {
previewStyle->btnSurface.g1Color1 = col.name();
pushButton16->repaint(false);
comboBox17->repaint(false);
spinBox44->spinWidget()->repaint(false);
}
-void DominoStyleConfig::btnPv2(const QColor&col) {
+void DominoStyleConfig::btnPv2(const TQColor&col) {
previewStyle->btnSurface.g1Color2 = col.name();
pushButton16->repaint(false);
comboBox17->repaint(false);
spinBox44->spinWidget()->repaint(false);
}
-void DominoStyleConfig::btnPv3(const QColor&col) {
+void DominoStyleConfig::btnPv3(const TQColor&col) {
previewStyle->btnSurface.g2Color1 = col.name();
pushButton16->repaint(false);
comboBox17->repaint(false);
spinBox44->spinWidget()->repaint(false);
}
-void DominoStyleConfig::btnPv4(const QColor&col) {
+void DominoStyleConfig::btnPv4(const TQColor&col) {
previewStyle->btnSurface.g2Color2 = col.name();
pushButton16->repaint(false);
comboBox17->repaint(false);
spinBox44->spinWidget()->repaint(false);
}
-void DominoStyleConfig::btnPv5(const QColor&col) {
+void DominoStyleConfig::btnPv5(const TQColor&col) {
previewStyle->btnSurface.background = col.name();
pushButton16->repaint(false);
comboBox17->repaint(false);
@@ -1826,65 +1826,65 @@ void DominoStyleConfig::btnPv9(int i) {
}
// header
-void DominoStyleConfig::hPv1(const QColor&col) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+void DominoStyleConfig::hPv1(const TQColor&col) {
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g1Color1 = col.name();
}
-void DominoStyleConfig::hPv2(const QColor&col) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+void DominoStyleConfig::hPv2(const TQColor&col) {
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g1Color2 = col.name();
}
-void DominoStyleConfig::hPv3(const QColor&col) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+void DominoStyleConfig::hPv3(const TQColor&col) {
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g2Color1 = col.name();
}
-void DominoStyleConfig::hPv4(const QColor&col) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+void DominoStyleConfig::hPv4(const TQColor&col) {
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g2Color2 = col.name();
}
-void DominoStyleConfig::hPv5(const QColor&col) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+void DominoStyleConfig::hPv5(const TQColor&col) {
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.background = col.name();
}
void DominoStyleConfig::hPv6(int i) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g1Top = i;
}
void DominoStyleConfig::hPv7(int i) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g1Bottom = i;
}
void DominoStyleConfig::hPv8(int i) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g2Top = i;
}
void DominoStyleConfig::hPv9(int i) {
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
previewStyle->headerSurface.g2Bottom= i;
}
// checkBox
-void DominoStyleConfig::chbPv1(const QColor&col) {
+void DominoStyleConfig::chbPv1(const TQColor&col) {
previewStyle->checkItemSurface.g1Color1 = col.name();
checkBox2->repaint(false);
radioButton2->repaint(false);
}
-void DominoStyleConfig::chbPv2(const QColor&col) {
+void DominoStyleConfig::chbPv2(const TQColor&col) {
previewStyle->checkItemSurface.g1Color2 = col.name();
checkBox2->repaint(false);
radioButton2->repaint(false);
}
-void DominoStyleConfig::chbPv3(const QColor&col) {
+void DominoStyleConfig::chbPv3(const TQColor&col) {
previewStyle->checkItemSurface.g2Color1 = col.name();
checkBox2->repaint(false);
radioButton2->repaint(false);
}
-void DominoStyleConfig::chbPv4(const QColor&col) {
+void DominoStyleConfig::chbPv4(const TQColor&col) {
previewStyle->checkItemSurface.g2Color2 = col.name();
checkBox2->repaint(false);
radioButton2->repaint(false);
}
-void DominoStyleConfig::chbPv5(const QColor&col) {
+void DominoStyleConfig::chbPv5(const TQColor&col) {
previewStyle->checkItemSurface.background = col.name();
checkBox2->repaint(false);
radioButton2->repaint(false);
@@ -1911,31 +1911,31 @@ void DominoStyleConfig::chbPv9(int i) {
}
// scrollBar
-void DominoStyleConfig::sbPv1(const QColor&col) {
+void DominoStyleConfig::sbPv1(const TQColor&col) {
currentScrollBarSurface->g1Color1 = col.name();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
scrollBar5->repaint(false);
scrollBar6->repaint(false);
}
-void DominoStyleConfig::sbPv2(const QColor&col) {
+void DominoStyleConfig::sbPv2(const TQColor&col) {
currentScrollBarSurface->g1Color2 = col.name();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
scrollBar5->repaint(false);
scrollBar6->repaint(false);
}
-void DominoStyleConfig::sbPv3(const QColor&col) {
+void DominoStyleConfig::sbPv3(const TQColor&col) {
currentScrollBarSurface->g2Color1 = col.name();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
scrollBar5->repaint(false);
scrollBar6->repaint(false);
}
-void DominoStyleConfig::sbPv4(const QColor&col) {
+void DominoStyleConfig::sbPv4(const TQColor&col) {
currentScrollBarSurface->g2Color2 = col.name();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
scrollBar5->repaint(false);
scrollBar6->repaint(false);
}
-void DominoStyleConfig::sbPv5(const QColor&col) {
+void DominoStyleConfig::sbPv5(const TQColor&col) {
currentScrollBarSurface->background = col.name();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
scrollBar5->repaint(false);
@@ -1967,27 +1967,27 @@ void DominoStyleConfig::sbPv9(int i) {
}
// tabs
-void DominoStyleConfig::tabPv1(const QColor&col) {
+void DominoStyleConfig::tabPv1(const TQColor&col) {
currentTabSurface->g1Color1 = col.name();
tabBarTop->repaint(false);
tabBarBottom->repaint(false);
}
-void DominoStyleConfig::tabPv2(const QColor&col) {
+void DominoStyleConfig::tabPv2(const TQColor&col) {
currentTabSurface->g1Color2 = col.name();
tabBarTop->repaint(false);
tabBarBottom->repaint(false);
}
-void DominoStyleConfig::tabPv3(const QColor&col) {
+void DominoStyleConfig::tabPv3(const TQColor&col) {
currentTabSurface->g2Color1 = col.name();
tabBarTop->repaint(false);
tabBarBottom->repaint(false);
}
-void DominoStyleConfig::tabPv4(const QColor&col) {
+void DominoStyleConfig::tabPv4(const TQColor&col) {
currentTabSurface->g2Color2 = col.name();
tabBarTop->repaint(false);
tabBarBottom->repaint(false);
}
-void DominoStyleConfig::tabPv5(const QColor&col) {
+void DominoStyleConfig::tabPv5(const TQColor&col) {
currentTabSurface->background = col.name();
tabBarTop->repaint(false);
tabBarBottom->repaint(false);
@@ -2013,13 +2013,13 @@ void DominoStyleConfig::tabPv9(int i) {
tabBarBottom->repaint(false);
}
-void DominoStyleConfig::loadConfig(const QString &name) {
+void DominoStyleConfig::loadConfig(const TQString &name) {
- QColor background = qApp->palette().active().background();
- QColor button = qApp->palette().active().button();
- QColor highlight = qApp->palette().active().highlight();
- QString cName = name;
- QSettings settings;
+ TQColor background = tqApp->palette().active().background();
+ TQColor button = tqApp->palette().active().button();
+ TQColor highlight = tqApp->palette().active().highlight();
+ TQString cName = name;
+ TQSettings settings;
settings.beginGroup("/" + cName + "/Settings");
currentConfig = settings.readEntry("/name", "unnamed");
@@ -2051,7 +2051,7 @@ void DominoStyleConfig::loadConfig(const QString &name) {
origCustomToolTipColor = settings.readBoolEntry("/customToolTipColor", false);
customToolTipColor->setChecked(origCustomToolTipColor);
- origToolTipColor = settings.readEntry("/toolTipColor", QColor(218,218,179).name());
+ origToolTipColor = settings.readEntry("/toolTipColor", TQColor(218,218,179).name());
toolTipColor->setColor(origToolTipColor);
origSmoothScrolling = settings.readBoolEntry("/smoothScrolling", true);
@@ -2108,9 +2108,9 @@ void DominoStyleConfig::loadConfig(const QString &name) {
drawTextEffect->setChecked(origDrawTextEffect);
origTextEffectMode = settings.readNumEntry("/textEffectMode", 0);
textEffectModeCombo->setCurrentItem(origTextEffectMode);
- origTextEffectColor = settings.readEntry("/textEffectColor", Qt::white.name());
+ origTextEffectColor = settings.readEntry("/textEffectColor", TQt::white.name());
textEffectColor->setColor(origTextEffectColor);
- origTextEffectButtonColor = settings.readEntry("/textEffectButtonColor", Qt::white.name());
+ origTextEffectButtonColor = settings.readEntry("/textEffectButtonColor", TQt::white.name());
textEffectButtonColor->setColor(origTextEffectButtonColor);
origTextEffectOpacity = settings.readNumEntry("/textEffectOpacity", 60);
@@ -2446,8 +2446,8 @@ void DominoStyleConfig::userLoadScrollBarConfig() {
void DominoStyleConfig::userLoadTabConfig() {
- ((DominoQTabWidget*)prevTopTabWidget)->tabBar()->setUpdatesEnabled(false);
- ((DominoQTabWidget*)prevBottomTabWidget)->tabBar()->setUpdatesEnabled(false);
+ ((DominoTQTabWidget*)prevTopTabWidget)->tabBar()->setUpdatesEnabled(false);
+ ((DominoTQTabWidget*)prevBottomTabWidget)->tabBar()->setUpdatesEnabled(false);
bool topTabWidgetIsActive = false;
// index: bottom = 1, top = 0
@@ -2498,20 +2498,20 @@ void DominoStyleConfig::userLoadTabConfig() {
groupBox9_2_2_2_2->setChecked(false);
break;
}
- ((DominoQTabWidget*)prevTopTabWidget)->tabBar()->setUpdatesEnabled(true);
- ((DominoQTabWidget*)prevBottomTabWidget)->tabBar()->setUpdatesEnabled(true);
+ ((DominoTQTabWidget*)prevTopTabWidget)->tabBar()->setUpdatesEnabled(true);
+ ((DominoTQTabWidget*)prevBottomTabWidget)->tabBar()->setUpdatesEnabled(true);
}
-void DominoStyleConfig::saveConfig(const QString &fileName, const QString &schemeName ) {
+void DominoStyleConfig::saveConfig(const TQString &fileName, const TQString &schemeName ) {
- QString fName;
- QSettings s;
+ TQString fName;
+ TQSettings s;
int c;
if(fileName == "domino")
fName = fileName;
else
- fName = QString("domino_").append(fileName);
+ fName = TQString("domino_").append(fileName);
s.beginGroup("/" + fName + "/Settings");
@@ -2690,107 +2690,107 @@ void DominoStyleConfig::saveConfig(const QString &fileName, const QString &schem
}
-void PreviewCheckBox::paintEvent(QPaintEvent* ) {
+void PreviewCheckBox::paintEvent(TQPaintEvent* ) {
- QPainter p(this);
+ TQPainter p(this);
drawButton(&p);
}
// checkBoxes and radioButtons without pixmapCache
-void PreviewCheckBox::drawButton(QPainter *p) {
+void PreviewCheckBox::drawButton(TQPainter *p) {
- QStyle::SFlags flags = QStyle::Style_Default|Domino_noCache;
+ TQStyle::SFlags flags = TQStyle::Style_Default|Domino_noCache;
if ( isEnabled() )
- flags |= QStyle::Style_Enabled;
+ flags |= TQStyle::Style_Enabled;
if ( hasFocus() )
- flags |= QStyle::Style_HasFocus;
+ flags |= TQStyle::Style_HasFocus;
if ( isDown() )
- flags |= QStyle::Style_Down;
+ flags |= TQStyle::Style_Down;
if ( hasMouse() )
- flags |= QStyle::Style_MouseOver;
- if ( state() == QButton::On )
- flags |= QStyle::Style_On;
- else if ( state() == QButton::Off )
- flags |= QStyle::Style_Off;
-// else if ( state() == QButton::NoChange )
-// flags |= QStyle::Style_NoChange;
-
- QRect irect = QStyle::visualRect( style().subRect(QStyle::SR_CheckBoxIndicator, this), this );
- p->setBackgroundMode(Qt::OpaqueMode);
+ flags |= TQStyle::Style_MouseOver;
+ if ( state() == TQButton::On )
+ flags |= TQStyle::Style_On;
+ else if ( state() == TQButton::Off )
+ flags |= TQStyle::Style_Off;
+// else if ( state() == TQButton::NoChange )
+// flags |= TQStyle::Style_NoChange;
+
+ TQRect irect = TQStyle::visualRect( style().subRect(TQStyle::SR_CheckBoxIndicator, this), this );
+ p->setBackgroundMode(TQt::OpaqueMode);
drawButtonLabel(p);
- QPixmap pix(18,19);
- QPainter painter(&pix);
+ TQPixmap pix(18,19);
+ TQPainter painter(&pix);
pix.fill(backgroundColor());
- style().drawControl(QStyle::CE_CheckBox, &painter, this, irect, colorGroup(), flags);
+ style().drawControl(TQStyle::CE_CheckBox, &painter, this, irect, colorGroup(), flags);
bitBlt(this, 0, 0, &pix);
}
-void PreviewRadioButton::paintEvent(QPaintEvent* ) {
+void PreviewRadioButton::paintEvent(TQPaintEvent* ) {
- QPainter p(this);
+ TQPainter p(this);
drawButton(&p);
}
-void PreviewRadioButton::drawButton(QPainter *p) {
+void PreviewRadioButton::drawButton(TQPainter *p) {
- QStyle::SFlags flags = QStyle::Style_Default|Domino_noCache;
+ TQStyle::SFlags flags = TQStyle::Style_Default|Domino_noCache;
if ( isEnabled() )
- flags |= QStyle::Style_Enabled;
+ flags |= TQStyle::Style_Enabled;
if ( hasFocus() )
- flags |= QStyle::Style_HasFocus;
+ flags |= TQStyle::Style_HasFocus;
if ( isDown() )
- flags |= QStyle::Style_Down;
+ flags |= TQStyle::Style_Down;
if ( hasMouse() )
- flags |= QStyle::Style_MouseOver;
- if ( state() == QButton::On )
- flags |= QStyle::Style_On;
- else if ( state() == QButton::Off )
- flags |= QStyle::Style_Off;
+ flags |= TQStyle::Style_MouseOver;
+ if ( state() == TQButton::On )
+ flags |= TQStyle::Style_On;
+ else if ( state() == TQButton::Off )
+ flags |= TQStyle::Style_Off;
- QRect irect = QStyle::visualRect( style().subRect(QStyle::SR_RadioButtonIndicator, this), this );
+ TQRect irect = TQStyle::visualRect( style().subRect(TQStyle::SR_RadioButtonIndicator, this), this );
irect.addCoords(0,-1,0,0);
- p->setBackgroundMode(Qt::OpaqueMode);
+ p->setBackgroundMode(TQt::OpaqueMode);
drawButtonLabel( p );
- QPixmap pix(17,17);
- QPainter painter(&pix);
+ TQPixmap pix(17,17);
+ TQPainter painter(&pix);
pix.fill(backgroundColor());
- style().drawControl(QStyle::CE_RadioButton, &painter, this, irect, colorGroup(), flags);
+ style().drawControl(TQStyle::CE_RadioButton, &painter, this, irect, colorGroup(), flags);
bitBlt(this, 0, 0, &pix);
}
-void PreviewTabBar::paintEvent(QPaintEvent* event) {
+void PreviewTabBar::paintEvent(TQPaintEvent* event) {
- QString height = QString::number(rect().height());
- QString color = QString::number(palette().active().background().pixel(), 16);
+ TQString height = TQString::number(rect().height());
+ TQString color = TQString::number(palette().active().background().pixel(), 16);
- QPixmapCache::remove("firsttabEdges2-bottom-sel"+color+height);
- QPixmapCache::remove("lasttabEdges2-bottom-sel"+color+height);
- QPixmapCache::remove("singletabEdges2-bottom-sel"+color+height);
- QPixmapCache::remove("middletabEdges2-bottom-sel"+color+height);
+ TQPixmapCache::remove("firsttabEdges2-bottom-sel"+color+height);
+ TQPixmapCache::remove("lasttabEdges2-bottom-sel"+color+height);
+ TQPixmapCache::remove("singletabEdges2-bottom-sel"+color+height);
+ TQPixmapCache::remove("middletabEdges2-bottom-sel"+color+height);
- QPixmapCache::remove("tabEdges2-bottom"+color+height);
+ TQPixmapCache::remove("tabEdges2-bottom"+color+height);
- QPixmapCache::remove("firsttabEdges2-top-sel"+color+height);
- QPixmapCache::remove("lasttabEdges2-top-sel"+color+height);
- QPixmapCache::remove("singletabEdges2-top-sel"+color+height);
- QPixmapCache::remove("middletabEdges2-top-sel"+color+height);
- QPixmapCache::remove("tabEdges2-top"+color+height);
+ TQPixmapCache::remove("firsttabEdges2-top-sel"+color+height);
+ TQPixmapCache::remove("lasttabEdges2-top-sel"+color+height);
+ TQPixmapCache::remove("singletabEdges2-top-sel"+color+height);
+ TQPixmapCache::remove("middletabEdges2-top-sel"+color+height);
+ TQPixmapCache::remove("tabEdges2-top"+color+height);
- QTabBar::paintEvent(event);
+ TQTabBar::paintEvent(event);
}
-void PreviewTabBar::mousePressEvent(QMouseEvent* event) {
+void PreviewTabBar::mousePressEvent(TQMouseEvent* event) {
- QTabWidget* tw = static_cast<QTabWidget*>(parentWidget());
- bool tabsAbove = tw->tabPosition() == QTabWidget::Top;
- QPoint point = ((QMouseEvent*)event)->pos();
- QTab* tab = selectTab(point);
+ TQTabWidget* tw = static_cast<TQTabWidget*>(parentWidget());
+ bool tabsAbove = tw->tabPosition() == TQTabWidget::Top;
+ TQPoint point = ((TQMouseEvent*)event)->pos();
+ TQTab* tab = selectTab(point);
if(!tab)
return;
@@ -2809,33 +2809,33 @@ void PreviewTabBar::mousePressEvent(QMouseEvent* event) {
styleConfig->userLoadTabConfig();
}
-void IndicatorPrevButton::paintEvent(QPaintEvent* /*event*/)
+void IndicatorPrevButton::paintEvent(TQPaintEvent* /*event*/)
{
if(!isEnabled()) {
erase();
return;
}
- QStyle::SFlags flags = QStyle::Style_Default;
+ TQStyle::SFlags flags = TQStyle::Style_Default;
if (isEnabled())
- flags |= QStyle::Style_Enabled;
+ flags |= TQStyle::Style_Enabled;
if (isDown())
- flags |= QStyle::Style_Down;
+ flags |= TQStyle::Style_Down;
if (isOn())
- flags |= QStyle::Style_On;
+ flags |= TQStyle::Style_On;
if (! isFlat() && ! isDown())
- flags |= QStyle::Style_Raised;
+ flags |= TQStyle::Style_Raised;
if (isDefault())
- flags |= QStyle::Style_ButtonDefault;
+ flags |= TQStyle::Style_ButtonDefault;
- QPixmap buffer(width(), height());
- QPainter p(&buffer);
+ TQPixmap buffer(width(), height());
+ TQPainter p(&buffer);
buffer.fill(paletteBackgroundColor());
- previewStyle->drawControl(QStyle::CE_PushButton, &p, this, rect(), colorGroup(), flags);
+ previewStyle->drawControl(TQStyle::CE_PushButton, &p, this, rect(), colorGroup(), flags);
- previewStyle->drawFocusIndicator(&p, style().subRect(QStyle::SR_PushButtonFocusRect, this), AlignHCenter| AlignVCenter |ShowPrefix,
+ previewStyle->drawFocusIndicator(&p, style().subRect(TQStyle::SR_PushButtonFocusRect, this), AlignHCenter| AlignVCenter |ShowPrefix,
colorGroup(), true, 0, indicatorPreviewText, -1, indicatorBtnColor->color(), (indicatorModeCombo->currentItem() == 1), true);
- QColor fg = colorGroup().buttonText();
+ TQColor fg = colorGroup().buttonText();
TextEffect textEffectMode_save = previewStyle->textEffectSettings.mode;
if(!drawTextEffect->isChecked())
@@ -2848,21 +2848,21 @@ void IndicatorPrevButton::paintEvent(QPaintEvent* /*event*/)
p.drawPixmap(0,0,buffer);
}
-void IndicatorPrevWidget::paintEvent(QPaintEvent* /*event*/)
+void IndicatorPrevWidget::paintEvent(TQPaintEvent* /*event*/)
{
if(!isEnabled()) {
erase();
return;
}
- QPixmap buffer(width(), height());
- QPainter p(&buffer);
+ TQPixmap buffer(width(), height());
+ TQPainter p(&buffer);
buffer.fill(paletteBackgroundColor());
previewStyle->drawFocusIndicator(&p, rect(), AlignHCenter| AlignVCenter |ShowPrefix, colorGroup(), true, 0, indicatorPreviewText,
-1, indicatorColor->color(), (indicatorModeCombo->currentItem() == 1));
- QColor fg = colorGroup().foreground();
- previewStyle->drawItem(&p, style().subRect(QStyle::SR_PushButtonFocusRect, this), AlignHCenter| AlignVCenter |ShowPrefix, colorGroup(),
+ TQColor fg = colorGroup().foreground();
+ previewStyle->drawItem(&p, style().subRect(TQStyle::SR_PushButtonFocusRect, this), AlignHCenter| AlignVCenter |ShowPrefix, colorGroup(),
true, 0, indicatorPreviewText, -1, &fg);
p.end();
@@ -2870,7 +2870,7 @@ void IndicatorPrevWidget::paintEvent(QPaintEvent* /*event*/)
p.drawPixmap(0,0,buffer);
}
-void TextEffectPrevButton::paintEvent(QPaintEvent* /*event*/)
+void TextEffectPrevButton::paintEvent(TQPaintEvent* /*event*/)
{
if(!isEnabled()) {
@@ -2879,22 +2879,22 @@ void TextEffectPrevButton::paintEvent(QPaintEvent* /*event*/)
}
- QStyle::SFlags flags = QStyle::Style_Default;
+ TQStyle::SFlags flags = TQStyle::Style_Default;
if (isEnabled())
- flags |= QStyle::Style_Enabled;
+ flags |= TQStyle::Style_Enabled;
if (isDown()) {
- flags |= QStyle::Style_Down;
+ flags |= TQStyle::Style_Down;
}
if (isOn())
- flags |= QStyle::Style_On;
+ flags |= TQStyle::Style_On;
if (! isFlat() && ! isDown())
- flags |= QStyle::Style_Raised;
+ flags |= TQStyle::Style_Raised;
if (isDefault())
- flags |= QStyle::Style_ButtonDefault;
+ flags |= TQStyle::Style_ButtonDefault;
- QPixmap buffer(width(), height());
- QPainter p(&buffer);
- previewStyle->drawControl(QStyle::CE_PushButton, &p, this, rect(), colorGroup(), flags);
+ TQPixmap buffer(width(), height());
+ TQPainter p(&buffer);
+ previewStyle->drawControl(TQStyle::CE_PushButton, &p, this, rect(), colorGroup(), flags);
drawButtonLabel(&p);
@@ -2904,16 +2904,16 @@ void TextEffectPrevButton::paintEvent(QPaintEvent* /*event*/)
}
-void TextEffectPrevWidget::paintEvent(QPaintEvent* /*event*/)
+void TextEffectPrevWidget::paintEvent(TQPaintEvent* /*event*/)
{
if(!drawTextEffect->isChecked() || textEffectModeCombo->currentItem() == 0) {
erase();
return;
}
- QPixmap buffer(width(), height());
+ TQPixmap buffer(width(), height());
buffer.fill(paletteBackgroundColor());
- QPainter p(&buffer);
+ TQPainter p(&buffer);
previewStyle->drawItem(&p, rect(), AlignHCenter| AlignVCenter, colorGroup(), true, 0, textEffectPreviewText);
p.end();
@@ -2954,27 +2954,27 @@ void DominoStyleConfig::languageChange()
// tab 2.1 (buttons)
/////////////////////////////////////////////////
textLabel1_2->setText( tr( "Background Color:" ) );
- kColorButton27_2->setText( QString::null );
+ kColorButton27_2->setText( TQString::null );
groupBox10_2_2_2->setTitle( tr( "Preview" ) );
// pushButton16->setText( tr( "PushButton" ) );
groupBox8_2_2_2->setTitle( tr( "First Gradient" ) );
textLabel4_3_2_2_2->setText( tr( "ends at:" ) );
spinBox2_2_2_2_2->setSuffix( tr( " %" ) );
textLabel2_2_2_2_2->setText( tr( "with color:" ) );
- kColorButton1_2_2_2_2->setText( QString::null );
+ kColorButton1_2_2_2_2->setText( TQString::null );
textLabel3_3_2_2_2->setText( tr( "starts at:" ) );
spinBox1_2_2_2_2->setSuffix( tr( " %" ) );
- spinBox1_2_2_2_2->setSpecialValueText( QString::null );
+ spinBox1_2_2_2_2->setSpecialValueText( TQString::null );
textLabel1_4_2_2_2->setText( tr( "with color:" ) );
- kColorButton2_4_2_2_2->setText( QString::null );
+ kColorButton2_4_2_2_2->setText( TQString::null );
groupBox9_2_2_2->setTitle( tr( "Second Gradient" ) );
textLabel4_4_2_2_2->setText( tr( "ends at:" ) );
spinBox2_3_2_2_2->setSuffix( tr( " %" ) );
textLabel3_4_2_2_2->setText( tr( "starts at:" ) );
spinBox1_3_2_2_2->setSuffix( tr( " %" ) );
- spinBox1_3_2_2_2->setSpecialValueText( QString::null );
- kColorButton1_3_2_2_2->setText( QString::null );
- kColorButton2_5_2_2_2->setText( QString::null );
+ spinBox1_3_2_2_2->setSpecialValueText( TQString::null );
+ kColorButton1_3_2_2_2->setText( TQString::null );
+ kColorButton2_5_2_2_2->setText( TQString::null );
textLabel1_5_2_2_2->setText( tr( "with color:" ) );
textLabel2_3_2_2_2->setText( tr( "with color:" ) );
textLabel7_4->setText( tr( "Copy from:" ) );
@@ -2992,24 +2992,24 @@ void DominoStyleConfig::languageChange()
textLabel4_3_2_2_2_2->setText( tr( "ends at:" ) );
spinBox2_2_2_2_2_2->setSuffix( tr( " %" ) );
textLabel2_2_2_2_2_2->setText( tr( "with color:" ) );
- kColorButton1_2_2_2_2_2->setText( QString::null );
+ kColorButton1_2_2_2_2_2->setText( TQString::null );
textLabel3_3_2_2_2_2->setText( tr( "starts at:" ) );
spinBox1_2_2_2_2_2->setSuffix( tr( " %" ) );
- spinBox1_2_2_2_2_2->setSpecialValueText( QString::null );
+ spinBox1_2_2_2_2_2->setSpecialValueText( TQString::null );
textLabel1_4_2_2_2_2->setText( tr( "with color:" ) );
- kColorButton2_4_2_2_2_2->setText( QString::null );
+ kColorButton2_4_2_2_2_2->setText( TQString::null );
groupBox9_2_2_2_2->setTitle( tr( "Second Gradient" ) );
textLabel4_4_2_2_2_2->setText( tr( "ends at:" ) );
spinBox2_3_2_2_2_2->setSuffix( tr( " %" ) );
textLabel3_4_2_2_2_2->setText( tr( "starts at:" ) );
spinBox1_3_2_2_2_2->setSuffix( tr( " %" ) );
- spinBox1_3_2_2_2_2->setSpecialValueText( QString::null );
- kColorButton1_3_2_2_2_2->setText( QString::null );
- kColorButton2_5_2_2_2_2->setText( QString::null );
+ spinBox1_3_2_2_2_2->setSpecialValueText( TQString::null );
+ kColorButton1_3_2_2_2_2->setText( TQString::null );
+ kColorButton2_5_2_2_2_2->setText( TQString::null );
textLabel1_5_2_2_2_2->setText( tr( "with color:" ) );
textLabel2_3_2_2_2_2->setText( tr( "with color:" ) );
textLabel1_2_2->setText( tr( "Background Color:" ) );
- kColorButton27_2_2->setText( QString::null );
+ kColorButton27_2_2->setText( TQString::null );
groupBox10_2_2_2_2->setTitle( tr( "Preview" ) );
textLabel7_4_2->setText( tr( "Copy from:" ) );
comboBox3_4_2->clear();
@@ -3035,24 +3035,24 @@ void DominoStyleConfig::languageChange()
textLabel4_3_2_2_2_2_4->setText( tr( "ends at:" ) );
spinBox2_2_2_2_2_2_4->setSuffix( tr( " %" ) );
textLabel2_2_2_2_2_2_4->setText( tr( "with color:" ) );
- kColorButton1_2_2_2_2_2_4->setText( QString::null );
+ kColorButton1_2_2_2_2_2_4->setText( TQString::null );
textLabel3_3_2_2_2_2_4->setText( tr( "starts at:" ) );
spinBox1_2_2_2_2_2_4->setSuffix( tr( " %" ) );
- spinBox1_2_2_2_2_2_4->setSpecialValueText( QString::null );
+ spinBox1_2_2_2_2_2_4->setSpecialValueText( TQString::null );
textLabel1_4_2_2_2_2_4->setText( tr( "with color:" ) );
- kColorButton2_4_2_2_2_2_4->setText( QString::null );
+ kColorButton2_4_2_2_2_2_4->setText( TQString::null );
groupBox9_2_2_2_2_4->setTitle( tr( "Second Gradient" ) );
textLabel4_4_2_2_2_2_4->setText( tr( "ends at:" ) );
spinBox2_3_2_2_2_2_4->setSuffix( tr( " %" ) );
textLabel3_4_2_2_2_2_4->setText( tr( "starts at:" ) );
spinBox1_3_2_2_2_2_4->setSuffix( tr( " %" ) );
- spinBox1_3_2_2_2_2_4->setSpecialValueText( QString::null );
- kColorButton1_3_2_2_2_2_4->setText( QString::null );
- kColorButton2_5_2_2_2_2_4->setText( QString::null );
+ spinBox1_3_2_2_2_2_4->setSpecialValueText( TQString::null );
+ kColorButton1_3_2_2_2_2_4->setText( TQString::null );
+ kColorButton2_5_2_2_2_2_4->setText( TQString::null );
textLabel1_5_2_2_2_2_4->setText( tr( "with color:" ) );
textLabel2_3_2_2_2_2_4->setText( tr( "with color:" ) );
groupBox10_2_2_2_2_4->setTitle( tr( "Preview" ) );
- kColorButton27_2_2_2->setText( QString::null );
+ kColorButton27_2_2_2->setText( TQString::null );
textLabel1_2_2_2->setText( tr( "Background Color:" ) );
comboBox7->clear();
comboBox7->insertItem( tr( "Buttons/Slider" ) );
@@ -3068,27 +3068,27 @@ void DominoStyleConfig::languageChange()
/////////////////////////////////////////////////
// tab 2.4 (headers)
/////////////////////////////////////////////////
- kColorButton27_2_2_2_2->setText( QString::null );
+ kColorButton27_2_2_2_2->setText( TQString::null );
textLabel1_2_2_2_2->setText( tr( "Background Color:" ) );
groupBox10_2_2_2_2_4_3->setTitle( tr( "Preview" ) );
groupBox8_2_2_2_2_4_3->setTitle( tr( "First Gradient" ) );
textLabel4_3_2_2_2_2_4_3->setText( tr( "ends at:" ) );
spinBox2_2_2_2_2_2_4_3->setSuffix( tr( " %" ) );
textLabel2_2_2_2_2_2_4_3->setText( tr( "with color:" ) );
- kColorButton1_2_2_2_2_2_4_3->setText( QString::null );
+ kColorButton1_2_2_2_2_2_4_3->setText( TQString::null );
textLabel3_3_2_2_2_2_4_3->setText( tr( "starts at:" ) );
spinBox1_2_2_2_2_2_4_3->setSuffix( tr( " %" ) );
- spinBox1_2_2_2_2_2_4_3->setSpecialValueText( QString::null );
+ spinBox1_2_2_2_2_2_4_3->setSpecialValueText( TQString::null );
textLabel1_4_2_2_2_2_4_3->setText( tr( "with color:" ) );
- kColorButton2_4_2_2_2_2_4_3->setText( QString::null );
+ kColorButton2_4_2_2_2_2_4_3->setText( TQString::null );
groupBox9_2_2_2_2_4_3->setTitle( tr( "Second Gradient" ) );
textLabel4_4_2_2_2_2_4_3->setText( tr( "ends at:" ) );
spinBox2_3_2_2_2_2_4_3->setSuffix( tr( " %" ) );
textLabel3_4_2_2_2_2_4_3->setText( tr( "starts at:" ) );
spinBox1_3_2_2_2_2_4_3->setSuffix( tr( " %" ) );
- spinBox1_3_2_2_2_2_4_3->setSpecialValueText( QString::null );
- kColorButton1_3_2_2_2_2_4_3->setText( QString::null );
- kColorButton2_5_2_2_2_2_4_3->setText( QString::null );
+ spinBox1_3_2_2_2_2_4_3->setSpecialValueText( TQString::null );
+ kColorButton1_3_2_2_2_2_4_3->setText( TQString::null );
+ kColorButton2_5_2_2_2_2_4_3->setText( TQString::null );
textLabel1_5_2_2_2_2_4_3->setText( tr( "with color:" ) );
textLabel2_3_2_2_2_2_4_3->setText( tr( "with color:" ) );
textLabel7_4_2_3_3->setText( tr( "Copy from:" ) );
@@ -3106,13 +3106,13 @@ void DominoStyleConfig::languageChange()
textLabel4_3_2_2_2_2_4_3_2->setText( tr( "ends at:" ) );
spinBox2_2_2_2_2_2_4_3_2->setSuffix( tr( " %" ) );
textLabel2_2_2_2_2_2_4_3_2->setText( tr( "with color:" ) );
- kColorButton1_2_2_2_2_2_4_3_2->setText( QString::null );
+ kColorButton1_2_2_2_2_2_4_3_2->setText( TQString::null );
textLabel3_3_2_2_2_2_4_3_2->setText( tr( "starts at:" ) );
spinBox1_2_2_2_2_2_4_3_2->setSuffix( tr( " %" ) );
- spinBox1_2_2_2_2_2_4_3_2->setSpecialValueText( QString::null );
+ spinBox1_2_2_2_2_2_4_3_2->setSpecialValueText( TQString::null );
textLabel1_4_2_2_2_2_4_3_2->setText( tr( "with color:" ) );
- kColorButton2_4_2_2_2_2_4_3_2->setText( QString::null );
- kColorButton27_2_2_2_3->setText( QString::null );
+ kColorButton2_4_2_2_2_2_4_3_2->setText( TQString::null );
+ kColorButton27_2_2_2_3->setText( TQString::null );
textLabel1_2_2_2_3->setText( tr( "Background Color:" ) );
groupBox10_2_2_2_2_4_3_2->setTitle( tr( "Preview" ) );
radioButton2->setText( tr( "RadioButton" ) );
@@ -3122,9 +3122,9 @@ void DominoStyleConfig::languageChange()
spinBox2_3_2_2_2_2_4_3_2->setSuffix( tr( " %" ) );
textLabel3_4_2_2_2_2_4_3_2->setText( tr( "starts at:" ) );
spinBox1_3_2_2_2_2_4_3_2->setSuffix( tr( " %" ) );
- spinBox1_3_2_2_2_2_4_3_2->setSpecialValueText( QString::null );
- kColorButton1_3_2_2_2_2_4_3_2->setText( QString::null );
- kColorButton2_5_2_2_2_2_4_3_2->setText( QString::null );
+ spinBox1_3_2_2_2_2_4_3_2->setSpecialValueText( TQString::null );
+ kColorButton1_3_2_2_2_2_4_3_2->setText( TQString::null );
+ kColorButton2_5_2_2_2_2_4_3_2->setText( TQString::null );
textLabel1_5_2_2_2_2_4_3_2->setText( tr( "with color:" ) );
textLabel2_3_2_2_2_2_4_3_2->setText( tr( "with color:" ) );
textLabel7_4_2_3_3_2->setText( tr( "Copy from:" ) );
@@ -3139,7 +3139,7 @@ void DominoStyleConfig::languageChange()
/////////////////////////////////////////////////
// tab 3 (load/save)
/////////////////////////////////////////////////
- groupBox_ls->setTitle( QString::null );
+ groupBox_ls->setTitle( TQString::null );
listView_ls->header()->setLabel( 0, tr( "Name" ) );
loadButton->setText( tr( "Load Config" ) );
saveButton->setText( tr( "Save Config" ) );
@@ -3316,8 +3316,8 @@ void DominoStyleConfig::save()
if(settingsChanged) {
- if(!QString(currentConfig).endsWith(" (" + i18n("modified") + ")")) {
- currentConfig = QString(currentConfig).append(" (" + i18n("modified") + ")");
+ if(!TQString(currentConfig).endsWith(" (" + i18n("modified") + ")")) {
+ currentConfig = TQString(currentConfig).append(" (" + i18n("modified") + ")");
}
}
@@ -3333,9 +3333,9 @@ void DominoStyleConfig::save()
void DominoStyleConfig::defaults()
{
- QColor background = qApp->palette().active().background();
- QColor button = qApp->palette().active().button();
- QColor highlight = qApp->palette().active().highlight();
+ TQColor background = tqApp->palette().active().background();
+ TQColor button = tqApp->palette().active().button();
+ TQColor highlight = tqApp->palette().active().highlight();
animateProgressBar->setChecked(true);
centerTabs->setChecked(false);
@@ -3343,13 +3343,13 @@ void DominoStyleConfig::defaults()
toolBtnAsBtn->setChecked(true);
highlightToolBtnIcons->setChecked(false);
customCheckMarkColor->setChecked(false);
- checkMarkColor->setColor(QColor(0,0,0));
+ checkMarkColor->setColor(TQColor(0,0,0));
tintGroupBoxBackground->setChecked(true);
customGroupBoxBackgroundColor->setChecked(false);
groupBoxBackgroundColor->setColor(background.dark(110));
grSlider->setValue(10);
customToolTipColor->setChecked(false);
- toolTipColor->setColor(QColor(218,218,179));
+ toolTipColor->setColor(TQColor(218,218,179));
smoothScrolling->setChecked(true);
buttonHeightAdjustment->setValue(0);
@@ -3374,8 +3374,8 @@ void DominoStyleConfig::defaults()
drawTextEffect->setChecked(true);
textEffectModeCombo->setCurrentItem(0); // only on buttons
- textEffectColor->setColor(Qt::white.name());
- textEffectButtonColor->setColor(Qt::white.name());
+ textEffectColor->setColor(TQt::white.name());
+ textEffectButtonColor->setColor(TQt::white.name());
textEffectOpacity->setValue(60);
textEffectButtonOpacity->setValue(60);
textEffectPos->setCurrentItem(5);
@@ -3768,7 +3768,7 @@ void DominoStyleConfig::copyColorsToCheckItem() {
void DominoStyleConfig::slotLoad() {
- QString sName;
+ TQString sName;
if(listView_ls->selectedItem()) {
sName = listView_ls->currentItem()->text(0);
}
@@ -3776,7 +3776,7 @@ void DominoStyleConfig::slotLoad() {
return;
SchemeEntry * entry;
- QString fName;
+ TQString fName;
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
if(!strcmp(entry->getSchemeName(), sName)) {
fName = entry->getFileName();
@@ -3791,7 +3791,7 @@ void DominoStyleConfig::slotLoad() {
void DominoStyleConfig::slotSave() {
bool ok;
- QString cName;
+ TQString cName;
if(listView_ls->selectedItem()) {
cName = listView_ls->currentItem()->text(0);
}
@@ -3801,7 +3801,7 @@ void DominoStyleConfig::slotSave() {
return;
if (!listView_ls->findItem(cName, 0)) {
- new QListViewItem(listView_ls, cName);
+ new TQListViewItem(listView_ls, cName);
schemeList->append( new SchemeEntry("domino_" + cName.simplifyWhiteSpace().lower() + "rc", cName, true ));
}
else {
@@ -3822,14 +3822,14 @@ void DominoStyleConfig::slotSave() {
void DominoStyleConfig::slotDelete() {
- QString sName;
+ TQString sName;
if(listView_ls->selectedItem())
sName = listView_ls->currentItem()->text(0);
else
return;
SchemeEntry * entry;
- QString fName;
+ TQString fName;
for (entry = schemeList->first(); entry; entry = schemeList->next()) {
if(!strcmp(entry->getSchemeName(), sName)) {
fName = entry->getFileName();
@@ -3839,7 +3839,7 @@ void DominoStyleConfig::slotDelete() {
}
delete listView_ls->currentItem();
- QDir qDir(QDir::homeDirPath() + ".qt/");
+ TQDir qDir(TQDir::homeDirPath() + ".qt/");
qDir.remove(fName);
qDir.remove("." + fName + ".lock");
}
@@ -3848,36 +3848,36 @@ void DominoStyleConfig::slotDelete() {
void DominoStyleConfig::getConfigSchemes() {
// only local
- QString qtHome(QDir::homeDirPath() + "/.qt");
- QSettings s;
- s.insertSearchPath( QSettings::Unix, qtHome);
+ TQString qtHome(TQDir::homeDirPath() + "/.qt");
+ TQSettings s;
+ s.insertSearchPath( TQSettings::Unix, qtHome);
- QDir schemeFile(qtHome, "domino_*rc");
+ TQDir schemeFile(qtHome, "domino_*rc");
for(uint i = 0; i < schemeFile.count(); i++) {
- bool deletable = QFileInfo(qtHome, schemeFile[i]).isWritable();
+ bool deletable = TQFileInfo(qtHome, schemeFile[i]).isWritable();
s.beginGroup("/" + schemeFile[i].left(schemeFile[i].length()-2) + "/Settings");
- QString origName = s.readEntry("/name", "unnamed");
- QString sName = origName;
+ TQString origName = s.readEntry("/name", "unnamed");
+ TQString sName = origName;
if(listView_ls->findItem(sName, 0)) {
for(int i = 2; listView_ls->findItem(sName, 0); i++) {
- QString num = QString().setNum(i);
- sName = QString(origName).append(" (" + num + ")" );
+ TQString num = TQString().setNum(i);
+ sName = TQString(origName).append(" (" + num + ")" );
}
}
- new QListViewItem(listView_ls, sName);
+ new TQListViewItem(listView_ls, sName);
schemeList->append( new SchemeEntry(schemeFile[i], sName, deletable ));
s.endGroup();
}
}
-void DominoStyleConfig::slotDelPerm(QListViewItem* li) {
+void DominoStyleConfig::slotDelPerm(TQListViewItem* li) {
if(!li)
return;
SchemeEntry * entry;
- QString selected = li->text(0);
+ TQString selected = li->text(0);
for ( entry = schemeList->first(); entry; entry = schemeList->next() ) {
if(!strcmp(entry->getSchemeName(), selected)) {
@@ -3890,21 +3890,21 @@ void DominoStyleConfig::slotDelPerm(QListViewItem* li) {
void DominoStyleConfig::slotImport() {
- KURL file ( KFileDialog::getOpenFileName(QString::null, QString::null, this) );
+ KURL file ( KFileDialog::getOpenFileName(TQString::null, TQString::null, this) );
if ( file.isEmpty() )
return;
- QString sFile = file.fileName( false );
+ TQString sFile = file.fileName( false );
KSimpleConfig *config = new KSimpleConfig(file.directory(false)+sFile);
config->setGroup("Settings");
- QString cName = config->readEntry("name", i18n("unnamed"));
+ TQString cName = config->readEntry("name", i18n("unnamed"));
delete config;
- QString fName = "domino_" + cName.simplifyWhiteSpace().lower() + "rc";
+ TQString fName = "domino_" + cName.simplifyWhiteSpace().lower() + "rc";
if (!listView_ls->findItem(cName, 0)) {
- new QListViewItem(listView_ls, cName);
+ new TQListViewItem(listView_ls, cName);
schemeList->append( new SchemeEntry(fName, cName, true ));
}
else {
@@ -3915,7 +3915,7 @@ void DominoStyleConfig::slotImport() {
return;
}
- QString saveDir = QDir::homeDirPath() + "/.qt/";
+ TQString saveDir = TQDir::homeDirPath() + "/.qt/";
if (!KIO::NetAccess::file_copy(file, KURL( saveDir+fName ), -1, true ) )
{
KMessageBox::error(this, KIO::NetAccess::lastErrorString(),i18n("Import failed."));
@@ -4013,7 +4013,7 @@ void DominoStyleConfig::headerNumGradientsChanged(int g) {
int c = groupBox9_2_2_2_2_4_3->isChecked() ? 2 : groupBox8_2_2_2_2_4_3->isChecked() ? 1 : 0;
previewStyle->headerSurface.numGradients = c;
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
header1->repaint(false);
}
@@ -4076,12 +4076,12 @@ void DominoStyleConfig::tabNumGradientsChanged(int g) {
// Accept color drops on tabs.
-void DominoStyleConfig::testCanDecode(const QDragMoveEvent * e, bool & accept) {
+void DominoStyleConfig::testCanDecode(const TQDragMoveEvent * e, bool & accept) {
accept = e->provides("application/x-color");
}
void DominoStyleConfig::resetGroupBoxBackgroundColor() {
- QColor bg = qApp->palette().active().background();
+ TQColor bg = tqApp->palette().active().background();
gb1->setPaletteBackgroundColor(bg);
gb2->setPaletteBackgroundColor(bg);
gb3->setPaletteBackgroundColor(bg);
@@ -4106,27 +4106,27 @@ void DominoStyleConfig::indicatorModeChanged() {
}
-void TabWidgetIndicator::paintEvent(QPaintEvent*) {
+void TabWidgetIndicator::paintEvent(TQPaintEvent*) {
// index: bottom = 1, top = 0
bool topTabSelected = tabPosCombo->currentItem() == 0;
// index: inactive = 1, active = 0
bool activeTabSelected = tabStateCombo->currentItem() == 0;
DominoKTabPrevWidget* tw = (DominoKTabPrevWidget*) (topTabSelected ? prevTopTabWidget : prevBottomTabWidget);
- QWidget* w = tw->currentPage();
- QTabBar* tabBar = tw->tabBar();
- QRect pr = w->rect();
- QRect tr1;
- QRect tr2;
+ TQWidget* w = tw->currentPage();
+ TQTabBar* tabBar = tw->tabBar();
+ TQRect pr = w->rect();
+ TQRect tr1;
+ TQRect tr2;
- QPoint point = w->mapToParent(QPoint(0,0));
+ TQPoint point = w->mapToParent(TQPoint(0,0));
- QPixmap arrow_tmp = tintImage( topTabSelected ? config_findImage("tabIndicatorArrow") : config_findImage("tabIndicatorArrow").mirror(), qApp->palette().active().foreground());
- QPixmap arrow(arrow_tmp.size());
+ TQPixmap arrow_tmp = tintImage( topTabSelected ? config_findImage("tabIndicatorArrow") : config_findImage("tabIndicatorArrow").mirror(), tqApp->palette().active().foreground());
+ TQPixmap arrow(arrow_tmp.size());
arrow.fill(paletteBackgroundColor());
bitBlt(&arrow, 0, 0, &arrow_tmp);
- QPainter p(w);
+ TQPainter p(w);
if(activeTabSelected) {
tr1 = tabBar->tabAt(tw->currentPageIndex())->rect();
tr1.moveBy(-point.x()+tabBar->geometry().x(), 0);
@@ -4164,40 +4164,40 @@ void TabWidgetIndicator::paintEvent(QPaintEvent*) {
}
void DominoStyleConfig::grValueLabelNum(int num) {
- grValueLabel->setNum(num <= 0 ? QABS(num) : -num);
+ grValueLabel->setNum(num <= 0 ? TQABS(num) : -num);
}
void DominoStyleConfig::updateTextEffectSettings() {
- QPoint pos;
+ TQPoint pos;
switch(textEffectPos->currentItem()) {
case 0:
- pos = QPoint(-1,-1);
+ pos = TQPoint(-1,-1);
break;
case 1:
- pos = QPoint(0,-1);
+ pos = TQPoint(0,-1);
break;
case 2:
- pos = QPoint(1,-1);
+ pos = TQPoint(1,-1);
break;
case 3:
- pos= QPoint(1,0);
+ pos= TQPoint(1,0);
break;
case 4:
- pos = QPoint(1,1);
+ pos = TQPoint(1,1);
break;
case 5:
- pos = QPoint(0,1);
+ pos = TQPoint(0,1);
break;
case 6:
- pos = QPoint(-1,1);
+ pos = TQPoint(-1,1);
break;
case 7:
- pos = QPoint(-1,0);
+ pos = TQPoint(-1,0);
break;
default:
- pos = QPoint(0,1);
+ pos = TQPoint(0,1);
}
previewStyle->textEffectSettings.pos = pos;
@@ -4208,31 +4208,31 @@ void DominoStyleConfig::updateTextEffectSettings() {
switch(textEffectButtonPos->currentItem()) {
case 0:
- pos = QPoint(-1,-1);
+ pos = TQPoint(-1,-1);
break;
case 1:
- pos = QPoint(0,-1);
+ pos = TQPoint(0,-1);
break;
case 2:
- pos = QPoint(1,-1);
+ pos = TQPoint(1,-1);
break;
case 3:
- pos= QPoint(1,0);
+ pos= TQPoint(1,0);
break;
case 4:
- pos = QPoint(1,1);
+ pos = TQPoint(1,1);
break;
case 5:
- pos = QPoint(0,1);
+ pos = TQPoint(0,1);
break;
case 6:
- pos = QPoint(-1,1);
+ pos = TQPoint(-1,1);
break;
case 7:
- pos = QPoint(-1,0);
+ pos = TQPoint(-1,0);
break;
default:
- pos = QPoint(0,1);
+ pos = TQPoint(0,1);
}
previewStyle->textEffectSettings.buttonPos = pos;
@@ -4283,14 +4283,14 @@ void DominoStyleConfig::updateButtonContourSettings() {
indicatorPrevButton->update();
buttonContourPrevButton->update();
previewStyle->removeCachedSbPix(scrollBar5->palette().active().button());
- header1->setBackgroundMode(Qt::PaletteBackground);
+ header1->setBackgroundMode(TQt::PaletteBackground);
}
void DominoStyleConfig::updateCheckItemIndicators() {
- QColor color = customCheckMarkColor->isChecked() ? checkMarkColor->color() : qApp->palette().active().foreground();
+ TQColor color = customCheckMarkColor->isChecked() ? checkMarkColor->color() : tqApp->palette().active().foreground();
if(color == previewStyle->_checkMarkColor)
return;