diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-04-09 18:02:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-04-12 09:22:06 +0200 |
commit | f92c11dfdcde621a6b7384bcf867b87cdb14280c (patch) | |
tree | cd00c93e277e9fa3a8a9ac9731e8d2d4b3ff2a5d /src/Q_userinterfacepreferencesdialog.cpp | |
parent | 0d6799189cd8d1b347018facd4b5bef60aefb328 (diff) | |
download | kasablanca-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_userinterfacepreferencesdialog.cpp')
-rw-r--r-- | src/Q_userinterfacepreferencesdialog.cpp | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/src/Q_userinterfacepreferencesdialog.cpp b/src/Q_userinterfacepreferencesdialog.cpp deleted file mode 100644 index 5433cfa..0000000 --- a/src/Q_userinterfacepreferencesdialog.cpp +++ /dev/null @@ -1,102 +0,0 @@ -#include <kdialog.h> -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_userinterfacepreferencesdialog.ui' -** -** Created: Mo Jan 31 15:02:09 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_userinterfacepreferencesdialog.h" - -#include <ntqvariant.h> -#include <ntqlabel.h> -#include <ntqcheckbox.h> -#include <tdefontrequester.h> -#include <ntqlayout.h> -#include <ntqtooltip.h> -#include <ntqwhatsthis.h> - -/* - * Constructs a KasablancaUserInterfacePreferencesDialog 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. - */ -KasablancaUserInterfacePreferencesDialog::KasablancaUserInterfacePreferencesDialog( TQWidget* parent, const char* name, bool modal, WFlags fl ) - : TQDialog( parent, name, modal, fl ) -{ - if ( !name ) - setName( "KasablancaUserInterfacePreferencesDialog" ); - KasablancaUserInterfacePreferencesDialogLayout = new TQGridLayout( this, 1, 1, 11, 6, "KasablancaUserInterfacePreferencesDialogLayout"); - spacer4 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - KasablancaUserInterfacePreferencesDialogLayout->addItem( spacer4, 4, 3 ); - - textLabel1_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2" ); - - KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2, 0, 0, 0, 1 ); - - textLabel1_2_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2_2" ); - - KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2_2, 1, 1, 0, 1 ); - - textLabel1_2_2_2_2_2_3 = new TQLabel( this, "textLabel1_2_2_2_2_2_3" ); - - KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( textLabel1_2_2_2_2_2_3, 2, 2, 0, 2 ); - - kcfg_SystrayIsEnabled = new TQCheckBox( this, "kcfg_SystrayIsEnabled" ); - - KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_SystrayIsEnabled, 0, 4 ); - - kcfg_CommandLineIsEnabled = new TQCheckBox( this, "kcfg_CommandLineIsEnabled" ); - - KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_CommandLineIsEnabled, 1, 4 ); - - kcfg_HideHiddenFilesIsEnabled = new TQCheckBox( this, "kcfg_HideHiddenFilesIsEnabled" ); - - KasablancaUserInterfacePreferencesDialogLayout->addWidget( kcfg_HideHiddenFilesIsEnabled, 2, 4 ); - - kcfg_LogwindowFont = new TDEFontRequester( this, "kcfg_LogwindowFont" ); - - KasablancaUserInterfacePreferencesDialogLayout->addMultiCellWidget( kcfg_LogwindowFont, 3, 3, 2, 4 ); - - textLabel1_2_2_2_2_2_2 = new TQLabel( this, "textLabel1_2_2_2_2_2_2" ); - - KasablancaUserInterfacePreferencesDialogLayout->addWidget( textLabel1_2_2_2_2_2_2, 3, 0 ); - spacer3 = new TQSpacerItem( 140, 58, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - KasablancaUserInterfacePreferencesDialogLayout->addMultiCell( spacer3, 0, 1, 2, 3 ); - spacer3_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - KasablancaUserInterfacePreferencesDialogLayout->addItem( spacer3_2, 3, 1 ); - languageChange(); - resize( TQSize(448, 165).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -KasablancaUserInterfacePreferencesDialog::~KasablancaUserInterfacePreferencesDialog() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void KasablancaUserInterfacePreferencesDialog::languageChange() -{ - setCaption( tr2i18n( "User Interface" ) ); - textLabel1_2_2_2_2->setText( tr2i18n( "Show system tray icon:" ) ); - textLabel1_2_2_2_2_2->setText( tr2i18n( "Show command lines:" ) ); - textLabel1_2_2_2_2_2_3->setText( tr2i18n( "Hide hidden files from view:" ) ); - kcfg_SystrayIsEnabled->setText( tr2i18n( "Enabled" ) ); - kcfg_CommandLineIsEnabled->setText( tr2i18n( "Enabled" ) ); - kcfg_HideHiddenFilesIsEnabled->setText( tr2i18n( "Enabled" ) ); - textLabel1_2_2_2_2_2_2->setText( tr2i18n( "Logwindow Font:" ) ); -} - -#include "Q_userinterfacepreferencesdialog.moc" |