diff options
Diffstat (limited to 'src/sources/sourceprefs.cpp')
-rw-r--r-- | src/sources/sourceprefs.cpp | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/src/sources/sourceprefs.cpp b/src/sources/sourceprefs.cpp deleted file mode 100644 index 4db4da0..0000000 --- a/src/sources/sourceprefs.cpp +++ /dev/null @@ -1,88 +0,0 @@ -#include <kdialog.h> -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './sourceprefs.ui' -** -** Created: Thu Jun 21 19:16:51 2007 -** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $) -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "sourceprefs.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tqlineedit.h> -#include <tqcheckbox.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> - -/* - * Constructs a SourcePrefs as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -SourcePrefs::SourcePrefs( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "SourcePrefs" ); - SourcePrefsLayout = new TQVBoxLayout( this, 0, 6, "SourcePrefsLayout"); - - descriptionLabel = new TQLabel( this, "descriptionLabel" ); - SourcePrefsLayout->addWidget( descriptionLabel ); - - hBoxLayout = new TQHBoxLayout( 0, 0, 6, "hBoxLayout"); - - nameLabel = new TQLabel( this, "nameLabel" ); - hBoxLayout->addWidget( nameLabel ); - - nameLineEdit = new TQLineEdit( this, "nameLineEdit" ); - hBoxLayout->addWidget( nameLineEdit ); - spacer8 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - hBoxLayout->addItem( spacer8 ); - SourcePrefsLayout->addLayout( hBoxLayout ); - - taskbarCheckBox = new TQCheckBox( this, "taskbarCheckBox" ); - SourcePrefsLayout->addWidget( taskbarCheckBox ); - - hBoxLayout2 = new TQHBoxLayout( 0, 0, 6, "hBoxLayout2"); - spacer8_2 = new TQSpacerItem( 20, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum ); - hBoxLayout2->addItem( spacer8_2 ); - - nameCheckBox = new TQCheckBox( this, "nameCheckBox" ); - hBoxLayout2->addWidget( nameCheckBox ); - SourcePrefsLayout->addLayout( hBoxLayout2 ); - - tooltipCheckBox = new TQCheckBox( this, "tooltipCheckBox" ); - SourcePrefsLayout->addWidget( tooltipCheckBox ); - languageChange(); - resize( TQSize(203, 127).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -SourcePrefs::~SourcePrefs() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void SourcePrefs::languageChange() -{ - setCaption( tr2i18n( "SourcePrefs" ) ); - descriptionLabel->setText( tr2i18n( "description" ) ); - nameLabel->setText( tr2i18n( "Name:" ) ); - taskbarCheckBox->setText( tr2i18n( "Show this source in Taskbar" ) ); - nameCheckBox->setText( tr2i18n( "Show name in Taskbar" ) ); - tooltipCheckBox->setText( tr2i18n( "Show this source in ToolTip" ) ); -} - -#include "sourceprefs.moc" |