summaryrefslogtreecommitdiffstats
path: root/src/Q_colorspreferencesdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:53:10 -0500
commitdacae0242e905268e9df9aed83f84e91b13a1749 (patch)
tree26c8dc7f37d040f54265a3471834309a1e248538 /src/Q_colorspreferencesdialog.cpp
parent0d218fd2db1810aafd86f7fc8761c75128f3fcb8 (diff)
downloadkasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.tar.gz
kasablanca-dacae0242e905268e9df9aed83f84e91b13a1749.zip
Convert to TDE R14 API
Diffstat (limited to 'src/Q_colorspreferencesdialog.cpp')
-rw-r--r--src/Q_colorspreferencesdialog.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/Q_colorspreferencesdialog.cpp b/src/Q_colorspreferencesdialog.cpp
index a8ef1ab..ef15f86 100644
--- a/src/Q_colorspreferencesdialog.cpp
+++ b/src/Q_colorspreferencesdialog.cpp
@@ -1,5 +1,5 @@
#include <kdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
/****************************************************************************
** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_colorspreferencesdialog.ui'
**
@@ -11,12 +11,12 @@
#include "Q_colorspreferencesdialog.h"
-#include <qvariant.h>
-#include <qlabel.h>
+#include <ntqvariant.h>
+#include <ntqlabel.h>
#include <kcolorbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
+#include <ntqlayout.h>
+#include <ntqtooltip.h>
+#include <ntqwhatsthis.h>
/*
* Constructs a KasablancaColorsPreferencesDialog as a child of 'parent', with the
@@ -25,29 +25,29 @@
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-KasablancaColorsPreferencesDialog::KasablancaColorsPreferencesDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
- : QDialog( parent, name, modal, fl )
+KasablancaColorsPreferencesDialog::KasablancaColorsPreferencesDialog( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : TQDialog( parent, name, modal, fl )
{
if ( !name )
setName( "KasablancaColorsPreferencesDialog" );
- KasablancaColorsPreferencesDialogLayout = new QGridLayout( this, 1, 1, 11, 6, "KasablancaColorsPreferencesDialogLayout");
+ KasablancaColorsPreferencesDialogLayout = new TQGridLayout( this, 1, 1, 11, 6, "KasablancaColorsPreferencesDialogLayout");
- textLabel1_2 = new QLabel( this, "textLabel1_2" );
+ textLabel1_2 = new TQLabel( this, "textLabel1_2" );
KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_2, 0, 0 );
- textLabel1_3_3 = new QLabel( this, "textLabel1_3_3" );
+ textLabel1_3_3 = new TQLabel( this, "textLabel1_3_3" );
KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3_3, 1, 0 );
- textLabel1_3 = new QLabel( this, "textLabel1_3" );
+ textLabel1_3 = new TQLabel( this, "textLabel1_3" );
KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3, 2, 0 );
- textLabel1_3_2 = new QLabel( this, "textLabel1_3_2" );
+ textLabel1_3_2 = new TQLabel( this, "textLabel1_3_2" );
KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3_2, 3, 0 );
- spacer3 = new QSpacerItem( 30, 60, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacer3 = new TQSpacerItem( 30, 60, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
KasablancaColorsPreferencesDialogLayout->addMultiCell( spacer3, 0, 2, 1, 1 );
kcfg_FailureColor = new KColorButton( this, "kcfg_FailureColor" );
@@ -65,10 +65,10 @@ KasablancaColorsPreferencesDialog::KasablancaColorsPreferencesDialog( QWidget* p
kcfg_BackgroundColor = new KColorButton( this, "kcfg_BackgroundColor" );
KasablancaColorsPreferencesDialogLayout->addWidget( kcfg_BackgroundColor, 0, 2 );
- spacer5 = new QSpacerItem( 31, 30, QSizePolicy::Minimum, QSizePolicy::Expanding );
+ spacer5 = new TQSpacerItem( 31, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
KasablancaColorsPreferencesDialogLayout->addItem( spacer5, 4, 1 );
languageChange();
- resize( QSize(241, 183).expandedTo(minimumSizeHint()) );
+ resize( TQSize(241, 183).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
}
@@ -77,7 +77,7 @@ KasablancaColorsPreferencesDialog::KasablancaColorsPreferencesDialog( QWidget* p
*/
KasablancaColorsPreferencesDialog::~KasablancaColorsPreferencesDialog()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
/*
@@ -91,10 +91,10 @@ void KasablancaColorsPreferencesDialog::languageChange()
textLabel1_3_3->setText( tr2i18n( "Success Text:" ) );
textLabel1_3->setText( tr2i18n( "Failure Text:" ) );
textLabel1_3_2->setText( tr2i18n( "Local Text:" ) );
- kcfg_FailureColor->setText( QString::null );
- kcfg_SuccessColor->setText( QString::null );
- kcfg_LocalColor->setText( QString::null );
- kcfg_BackgroundColor->setText( QString::null );
+ kcfg_FailureColor->setText( TQString::null );
+ kcfg_SuccessColor->setText( TQString::null );
+ kcfg_LocalColor->setText( TQString::null );
+ kcfg_BackgroundColor->setText( TQString::null );
}
#include "Q_colorspreferencesdialog.moc"