summaryrefslogtreecommitdiffstats
path: root/src/Q_colorspreferencesdialog.cpp
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-04-09 18:02:42 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-04-12 09:22:06 +0200
commitf92c11dfdcde621a6b7384bcf867b87cdb14280c (patch)
treecd00c93e277e9fa3a8a9ac9731e8d2d4b3ff2a5d /src/Q_colorspreferencesdialog.cpp
parent0d6799189cd8d1b347018facd4b5bef60aefb328 (diff)
downloadkasablanca-f92c11dfdcde621a6b7384bcf867b87cdb14280c.tar.gz
kasablanca-f92c11dfdcde621a6b7384bcf867b87cdb14280c.zip
conversion to the cmake building system
Removed cpp files generated from ui files. This resolves issue #1. Signed-off-by: gregory guy <g-gregory@gmx.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/Q_colorspreferencesdialog.cpp')
-rw-r--r--src/Q_colorspreferencesdialog.cpp100
1 files changed, 0 insertions, 100 deletions
diff --git a/src/Q_colorspreferencesdialog.cpp b/src/Q_colorspreferencesdialog.cpp
deleted file mode 100644
index ef15f86..0000000
--- a/src/Q_colorspreferencesdialog.cpp
+++ /dev/null
@@ -1,100 +0,0 @@
-#include <kdialog.h>
-#include <tdelocale.h>
-/****************************************************************************
-** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_colorspreferencesdialog.ui'
-**
-** Created: Mo Jan 31 15:02:07 2005
-** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
-**
-** WARNING! All changes made in this file will be lost!
-****************************************************************************/
-
-#include "Q_colorspreferencesdialog.h"
-
-#include <ntqvariant.h>
-#include <ntqlabel.h>
-#include <kcolorbutton.h>
-#include <ntqlayout.h>
-#include <ntqtooltip.h>
-#include <ntqwhatsthis.h>
-
-/*
- * Constructs a KasablancaColorsPreferencesDialog as a child of 'parent', with the
- * name 'name' and widget flags set to 'f'.
- *
- * The dialog will by default be modeless, unless you set 'modal' to
- * TRUE to construct a modal dialog.
- */
-KasablancaColorsPreferencesDialog::KasablancaColorsPreferencesDialog( TQWidget* parent, const char* name, bool modal, WFlags fl )
- : TQDialog( parent, name, modal, fl )
-{
- if ( !name )
- setName( "KasablancaColorsPreferencesDialog" );
- KasablancaColorsPreferencesDialogLayout = new TQGridLayout( this, 1, 1, 11, 6, "KasablancaColorsPreferencesDialogLayout");
-
- textLabel1_2 = new TQLabel( this, "textLabel1_2" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_2, 0, 0 );
-
- textLabel1_3_3 = new TQLabel( this, "textLabel1_3_3" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3_3, 1, 0 );
-
- textLabel1_3 = new TQLabel( this, "textLabel1_3" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3, 2, 0 );
-
- textLabel1_3_2 = new TQLabel( this, "textLabel1_3_2" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( textLabel1_3_2, 3, 0 );
- spacer3 = new TQSpacerItem( 30, 60, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
- KasablancaColorsPreferencesDialogLayout->addMultiCell( spacer3, 0, 2, 1, 1 );
-
- kcfg_FailureColor = new KColorButton( this, "kcfg_FailureColor" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( kcfg_FailureColor, 2, 2 );
-
- kcfg_SuccessColor = new KColorButton( this, "kcfg_SuccessColor" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( kcfg_SuccessColor, 1, 2 );
-
- kcfg_LocalColor = new KColorButton( this, "kcfg_LocalColor" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( kcfg_LocalColor, 3, 2 );
-
- kcfg_BackgroundColor = new KColorButton( this, "kcfg_BackgroundColor" );
-
- KasablancaColorsPreferencesDialogLayout->addWidget( kcfg_BackgroundColor, 0, 2 );
- spacer5 = new TQSpacerItem( 31, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
- KasablancaColorsPreferencesDialogLayout->addItem( spacer5, 4, 1 );
- languageChange();
- resize( TQSize(241, 183).expandedTo(minimumSizeHint()) );
- clearWState( WState_Polished );
-}
-
-/*
- * Destroys the object and frees any allocated resources
- */
-KasablancaColorsPreferencesDialog::~KasablancaColorsPreferencesDialog()
-{
- // no need to delete child widgets, TQt does it all for us
-}
-
-/*
- * Sets the strings of the subwidgets using the current
- * language.
- */
-void KasablancaColorsPreferencesDialog::languageChange()
-{
- setCaption( tr2i18n( "Colors" ) );
- textLabel1_2->setText( tr2i18n( "Background:" ) );
- textLabel1_3_3->setText( tr2i18n( "Success Text:" ) );
- textLabel1_3->setText( tr2i18n( "Failure Text:" ) );
- textLabel1_3_2->setText( tr2i18n( "Local Text:" ) );
- kcfg_FailureColor->setText( TQString::null );
- kcfg_SuccessColor->setText( TQString::null );
- kcfg_LocalColor->setText( TQString::null );
- kcfg_BackgroundColor->setText( TQString::null );
-}
-
-#include "Q_colorspreferencesdialog.moc"