diff options
author | Slávek Banko <[email protected]> | 2022-09-11 10:11:11 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2022-09-11 10:11:11 +0200 |
commit | 9915779aa58f4b700d5d4172d9501be7e0cdbf0b (patch) | |
tree | 56cfc0f535e91789cc57ff2da95422463e2699ac /src | |
parent | b2378fbccdddfa84d2f21dd2fc3e9cb432a4256e (diff) | |
download | k9copy-9915779aa58f4b700d5d4172d9501be7e0cdbf0b.tar.gz k9copy-9915779aa58f4b700d5d4172d9501be7e0cdbf0b.zip |
Remove generated files from source tree.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/configDlg.cpp | 119 | ||||
-rw-r--r-- | src/k9mainw.cpp | 216 | ||||
-rw-r--r-- | src/langselectw.cpp | 123 | ||||
-rw-r--r-- | src/mencoderCmdGen.cpp | 129 | ||||
-rw-r--r-- | src/playbackoptionsw.cpp | 279 | ||||
-rw-r--r-- | src/prefAuthor.cpp | 165 | ||||
-rw-r--r-- | src/prefDVD.cpp | 114 | ||||
-rw-r--r-- | src/prefMPEG4.cpp | 418 | ||||
-rw-r--r-- | src/prefMencoder.cpp | 426 | ||||
-rw-r--r-- | src/prefpreview.cpp | 171 | ||||
-rw-r--r-- | src/titlefactor.cpp | 346 | ||||
-rw-r--r-- | src/viewmpeg2.cpp | 229 |
12 files changed, 0 insertions, 2735 deletions
diff --git a/src/configDlg.cpp b/src/configDlg.cpp deleted file mode 100644 index 29d71f8..0000000 --- a/src/configDlg.cpp +++ /dev/null @@ -1,119 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './configDlg.ui' -** -** Created: dim. oct. 26 08:57:34 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "configDlg.h" - -#include <tqvariant.h> -#include <tqtable.h> -#include <kpushbutton.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kpushbutton.h" - -/* - * Constructs a configDlg as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -configDlg::configDlg( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "configDlg" ); - setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - configDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "configDlgLayout"); - - Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1"); - - configDlgLayout->addMultiCellLayout( Layout1, 3, 3, 0, 1 ); - spacer4 = new TQSpacerItem( 20, 190, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - configDlgLayout->addItem( spacer4, 2, 1 ); - - tblDevices = new TQTable( this, "tblDevices" ); - tblDevices->setNumCols( tblDevices->numCols() + 1 ); - tblDevices->horizontalHeader()->setLabel( tblDevices->numCols() - 1, tr2i18n( "device" ) ); - tblDevices->setNumCols( tblDevices->numCols() + 1 ); - tblDevices->horizontalHeader()->setLabel( tblDevices->numCols() - 1, tr2i18n( "label" ) ); - tblDevices->setNumCols( tblDevices->numCols() + 1 ); - tblDevices->horizontalHeader()->setLabel( tblDevices->numCols() - 1, tr2i18n( "Input" ) ); - tblDevices->setNumCols( tblDevices->numCols() + 1 ); - tblDevices->horizontalHeader()->setLabel( tblDevices->numCols() - 1, tr2i18n( "Output" ) ); - tblDevices->setResizePolicy( TQTable::Default ); - tblDevices->setVScrollBarMode( TQTable::Auto ); - tblDevices->setNumRows( 0 ); - tblDevices->setNumCols( 4 ); - tblDevices->setShowGrid( TRUE ); - tblDevices->setSelectionMode( TQTable::Single ); - tblDevices->setFocusStyle( TQTable::SpreadSheet ); - - configDlgLayout->addMultiCellWidget( tblDevices, 1, 2, 0, 0 ); - - layout4 = new TQVBoxLayout( 0, 0, 6, "layout4"); - - bAdd = new KPushButton( this, "bAdd" ); - bAdd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); - bAdd->setProperty( "stdItem", 27 ); - layout4->addWidget( bAdd ); - - bRemove = new KPushButton( this, "bRemove" ); - bRemove->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, bRemove->sizePolicy().hasHeightForWidth() ) ); - bRemove->setProperty( "stdItem", 28 ); - layout4->addWidget( bRemove ); - - configDlgLayout->addLayout( layout4, 1, 1 ); - languageChange(); - resize( TQSize(578, 342).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bRemoveClick() ) ); - connect( bAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bAddClick() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -configDlg::~configDlg() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void configDlg::languageChange() -{ - setCaption( tr2i18n( "k9Copy - Devices" ) ); - tblDevices->horizontalHeader()->setLabel( 0, tr2i18n( "device" ) ); - tblDevices->horizontalHeader()->setLabel( 1, tr2i18n( "label" ) ); - tblDevices->horizontalHeader()->setLabel( 2, tr2i18n( "Input" ) ); - tblDevices->horizontalHeader()->setLabel( 3, tr2i18n( "Output" ) ); - bAdd->setText( tr2i18n( "Add" ) ); - bAdd->setAccel( TQKeySequence( TQString() ) ); - bRemove->setText( tr2i18n( "Remove" ) ); - bRemove->setAccel( TQKeySequence( TQString() ) ); -} - -void configDlg::bRemoveClick() -{ - tqWarning( "configDlg::bRemoveClick(): Not implemented yet" ); -} - -void configDlg::bAddClick() -{ - tqWarning( "configDlg::bAddClick(): Not implemented yet" ); -} - -void configDlg::bOkClick() -{ - tqWarning( "configDlg::bOkClick(): Not implemented yet" ); -} - -#include "configDlg.moc" diff --git a/src/k9mainw.cpp b/src/k9mainw.cpp deleted file mode 100644 index 61702d6..0000000 --- a/src/k9mainw.cpp +++ /dev/null @@ -1,216 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './k9mainw.ui' -** -** Created: dim. oct. 26 08:57:34 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "k9mainw.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tdeselect.h> -#include <tqheader.h> -#include <tqlistview.h> -#include <kcombobox.h> -#include <tqcombobox.h> -#include <kpushbutton.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "tdeselect.h" -#include "kcombobox.h" -#include "klineedit.h" -#include "kpushbutton.h" - -/* - * Constructs a MainDlg as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -MainDlg::MainDlg( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "MainDlg" ); - setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setMinimumSize( TQSize( 0, 200 ) ); - MainDlgLayout = new TQGridLayout( this, 1, 1, 2, 6, "MainDlgLayout"); - - lblInput_2 = new TQLabel( this, "lblInput_2" ); - lblInput_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput_2->sizePolicy().hasHeightForWidth() ) ); - - MainDlgLayout->addWidget( lblInput_2, 1, 0 ); - - lblInput = new TQLabel( this, "lblInput" ); - lblInput->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblInput->sizePolicy().hasHeightForWidth() ) ); - - MainDlgLayout->addWidget( lblInput, 0, 0 ); - - tab = new TQWidget( this, "tab" ); - tabLayout = new TQGridLayout( tab, 1, 1, 1, 0, "tabLayout"); - - factor = new KGradientSelector( tab, "factor" ); - factor->setEnabled( FALSE ); - factor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, factor->sizePolicy().hasHeightForWidth() ) ); - factor->setMinimumSize( TQSize( 0, 15 ) ); - factor->setValue( 0 ); - factor->setMinValue( 0 ); - factor->setMaxValue( 100 ); - factor->setFirstColor( TQColor( 170, 0, 0 ) ); - factor->setSecondColor( TQColor( 0, 255, 0 ) ); - - tabLayout->addWidget( factor, 1, 0 ); - - listView1 = new TQListView( tab, "listView1" ); - listView1->addColumn( tr2i18n( "Title" ) ); - listView1->addColumn( tr2i18n( "Size" ) ); - listView1->header()->setResizeEnabled( FALSE, listView1->header()->count() - 1 ); - listView1->addColumn( tr2i18n( "Content" ) ); - listView1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, listView1->sizePolicy().hasHeightForWidth() ) ); - listView1->setMinimumSize( TQSize( 0, 200 ) ); - listView1->setShowSortIndicator( TRUE ); - - tabLayout->addWidget( listView1, 0, 0 ); - - MainDlgLayout->addMultiCellWidget( tab, 2, 2, 0, 4 ); - - textLabel2_2 = new TQLabel( this, "textLabel2_2" ); - textLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); - - MainDlgLayout->addWidget( textLabel2_2, 1, 4 ); - - cbBurnSpeed = new KComboBox( FALSE, this, "cbBurnSpeed" ); - cbBurnSpeed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbBurnSpeed->sizePolicy().hasHeightForWidth() ) ); - cbBurnSpeed->setEditable( TRUE ); - - MainDlgLayout->addWidget( cbBurnSpeed, 1, 3 ); - - textLabel1_3 = new TQLabel( this, "textLabel1_3" ); - textLabel1_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_3->sizePolicy().hasHeightForWidth() ) ); - - MainDlgLayout->addWidget( textLabel1_3, 1, 2 ); - - cbInputDev = new TQComboBox( FALSE, this, "cbInputDev" ); - cbInputDev->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbInputDev->sizePolicy().hasHeightForWidth() ) ); - cbInputDev->setEditable( TRUE ); - cbInputDev->setAutoCompletion( TRUE ); - - MainDlgLayout->addWidget( cbInputDev, 0, 1 ); - - layout2 = new TQHBoxLayout( 0, 0, 6, "layout2"); - - bInputOpenDir = new KPushButton( this, "bInputOpenDir" ); - bInputOpenDir->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpenDir->sizePolicy().hasHeightForWidth() ) ); - bInputOpenDir->setMinimumSize( TQSize( 22, 22 ) ); - bInputOpenDir->setMaximumSize( TQSize( 22, 22 ) ); - layout2->addWidget( bInputOpenDir ); - - bInputOpen = new KPushButton( this, "bInputOpen" ); - bInputOpen->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, bInputOpen->sizePolicy().hasHeightForWidth() ) ); - bInputOpen->setMinimumSize( TQSize( 22, 22 ) ); - bInputOpen->setMaximumSize( TQSize( 22, 22 ) ); - layout2->addWidget( bInputOpen ); - spacer5_2 = new TQSpacerItem( 50, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - layout2->addItem( spacer5_2 ); - - MainDlgLayout->addMultiCellLayout( layout2, 0, 0, 2, 4 ); - - cbOutputDev = new TQComboBox( FALSE, this, "cbOutputDev" ); - cbOutputDev->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbOutputDev->sizePolicy().hasHeightForWidth() ) ); - cbOutputDev->setEditable( FALSE ); - cbOutputDev->setAutoCompletion( TRUE ); - - MainDlgLayout->addWidget( cbOutputDev, 1, 1 ); - languageChange(); - resize( TQSize(743, 585).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( listView1, TQT_SIGNAL( currentChanged(TQListViewItem*) ), this, TQT_SLOT( listView1CurrentChanged(TQListViewItem*) ) ); - connect( cbOutputDev, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbOutputDevActivated(int) ) ); - connect( bInputOpen, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bInputOpenClick() ) ); - connect( bInputOpenDir, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bInputOpenDirClick() ) ); - connect( listView1, TQT_SIGNAL( itemRenamed(TQListViewItem*,int) ), this, TQT_SLOT( itemRenamed(TQListViewItem*,int) ) ); - - // tab order - setTabOrder( cbInputDev, cbOutputDev ); - setTabOrder( cbOutputDev, bInputOpenDir ); - setTabOrder( bInputOpenDir, bInputOpen ); - setTabOrder( bInputOpen, cbBurnSpeed ); - setTabOrder( cbBurnSpeed, listView1 ); -} - -/* - * Destroys the object and frees any allocated resources - */ -MainDlg::~MainDlg() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void MainDlg::languageChange() -{ - setCaption( tr2i18n( "MainDlg" ) ); - lblInput_2->setText( tr2i18n( "Output device " ) ); - lblInput->setText( tr2i18n( "input device" ) ); - listView1->header()->setLabel( 0, tr2i18n( "Title" ) ); - listView1->header()->setLabel( 1, tr2i18n( "Size" ) ); - listView1->header()->setLabel( 2, tr2i18n( "Content" ) ); - textLabel2_2->setText( tr2i18n( "X" ) ); - cbBurnSpeed->clear(); - cbBurnSpeed->insertItem( tr2i18n( "default" ) ); - textLabel1_3->setText( tr2i18n( "@" ) ); - bInputOpenDir->setText( TQString() ); - TQToolTip::add( bInputOpenDir, tr2i18n( "Open a folder" ) ); - bInputOpen->setText( TQString() ); - TQToolTip::add( bInputOpen, tr2i18n( "Open an iso image" ) ); -} - -void MainDlg::bSaveClick() -{ - tqWarning( "MainDlg::bSaveClick(): Not implemented yet" ); -} - -void MainDlg::bDevicesClick() -{ - tqWarning( "MainDlg::bDevicesClick(): Not implemented yet" ); -} - -void MainDlg::listView1CurrentChanged(TQListViewItem*) -{ - tqWarning( "MainDlg::listView1CurrentChanged(TQListViewItem*): Not implemented yet" ); -} - -void MainDlg::cbOutputDevActivated(int) -{ - tqWarning( "MainDlg::cbOutputDevActivated(int): Not implemented yet" ); -} - -void MainDlg::bInputOpenClick() -{ - tqWarning( "MainDlg::bInputOpenClick(): Not implemented yet" ); -} - -void MainDlg::bInputOpenDirClick() -{ - tqWarning( "MainDlg::bInputOpenDirClick(): Not implemented yet" ); -} - -void MainDlg::ckMp4AspectRatioClick() -{ - tqWarning( "MainDlg::ckMp4AspectRatioClick(): Not implemented yet" ); -} - -void MainDlg::itemRenamed(TQListViewItem*,int) -{ - tqWarning( "MainDlg::itemRenamed(TQListViewItem*,int): Not implemented yet" ); -} - -#include "k9mainw.moc" diff --git a/src/langselectw.cpp b/src/langselectw.cpp deleted file mode 100644 index 7290693..0000000 --- a/src/langselectw.cpp +++ /dev/null @@ -1,123 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './langselectw.ui' -** -** Created: dim. oct. 26 08:57:34 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "langselectw.h" - -#include <tqvariant.h> -#include <tqheader.h> -#include <tqlistview.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -static const unsigned char img0_langselectw[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12, - 0x08, 0x06, 0x00, 0x00, 0x00, 0xbd, 0xf9, 0x35, 0x54, 0x00, 0x00, 0x02, - 0x27, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x9d, 0xd2, 0x4f, 0x48, 0xd3, - 0x61, 0x18, 0xc0, 0xf1, 0xef, 0xef, 0x97, 0xca, 0x0a, 0xff, 0xe5, 0x82, - 0x22, 0x0c, 0x9a, 0x82, 0x59, 0x66, 0xed, 0x20, 0x25, 0x1d, 0x86, 0x51, - 0x20, 0x81, 0xc1, 0x82, 0x9d, 0xa2, 0xc3, 0x3a, 0x64, 0x07, 0x0f, 0xa5, - 0xd0, 0xa5, 0x0e, 0x5b, 0x5d, 0x0a, 0x42, 0x72, 0x75, 0x08, 0xba, 0x48, - 0x07, 0x3b, 0x49, 0x18, 0x51, 0x14, 0x44, 0x1b, 0x24, 0xb5, 0x9c, 0xe5, - 0x24, 0x10, 0x29, 0x64, 0x30, 0x41, 0xf1, 0xb7, 0x7f, 0xbf, 0xad, 0xed, - 0x37, 0x75, 0x9b, 0x6f, 0x87, 0xe5, 0xdc, 0x3f, 0x5d, 0xf4, 0xc2, 0x03, - 0xef, 0xe1, 0x79, 0x3e, 0xef, 0xc3, 0xf3, 0x3e, 0x92, 0x10, 0x02, 0x49, - 0x92, 0x28, 0x3e, 0x1e, 0x30, 0xd7, 0x18, 0x0c, 0xb6, 0x3a, 0x93, 0xc9, - 0x28, 0xd7, 0xd7, 0xb3, 0x01, 0xf8, 0xc6, 0xc6, 0x5c, 0xe7, 0xc2, 0xe1, - 0xb3, 0x9b, 0x39, 0x42, 0x88, 0xa2, 0x4b, 0x21, 0x60, 0x5c, 0x30, 0x99, - 0x84, 0xf0, 0x78, 0x84, 0x98, 0x9e, 0xce, 0xc5, 0xc2, 0xd0, 0x90, 0x78, - 0x09, 0x3d, 0xf9, 0x88, 0x10, 0x02, 0xb9, 0x44, 0x00, 0xd2, 0x60, 0xde, - 0xd7, 0xd7, 0x07, 0xa1, 0x50, 0x41, 0xb4, 0xf4, 0xf6, 0xa2, 0x6b, 0x6e, - 0x7e, 0x54, 0x9c, 0xbf, 0x1d, 0xe2, 0x4a, 0xb9, 0x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, 0x39, 0x35, - 0x1c, 0x4a, 0x38, 0x74, 0xf2, 0x6f, 0xc2, 0xa7, 0xf4, 0x25, 0x48, 0x54, - 0xd3, 0xb8, 0x0e, 0xae, 0x72, 0x40, 0xc1, 0xef, 0x6c, 0x64, 0x18, 0x59, - 0x9e, 0xfd, 0xac, 0xd6, 0x9e, 0x3f, 0x4d, 0xb8, 0x3a, 0xba, 0x85, 0x28, - 0x0a, 0xc9, 0xd5, 0xd5, 0xed, 0xea, 0x0b, 0x91, 0xee, 0x3b, 0x73, 0xaa, - 0x12, 0x58, 0x1f, 0x94, 0x63, 0x0b, 0x2c, 0x5d, 0x3a, 0x01, 0x91, 0x08, - 0x44, 0x22, 0xc4, 0xe2, 0x71, 0xe6, 0xd7, 0xd6, 0x26, 0x76, 0x54, 0x8a, - 0xd7, 0xfe, 0xfb, 0xf0, 0x31, 0xdf, 0xd2, 0xa4, 0x4d, 0xbc, 0x31, 0x36, - 0xf9, 0xde, 0x82, 0xf3, 0x19, 0x8c, 0x0e, 0xe7, 0xed, 0x44, 0x71, 0xad, - 0x10, 0xa2, 0x14, 0x79, 0x7d, 0xeb, 0xa8, 0xd5, 0xff, 0xea, 0xb2, 0x70, - 0x3e, 0xb6, 0xf8, 0x76, 0x7c, 0x7d, 0x27, 0x04, 0xe0, 0xa3, 0xbd, 0xc3, - 0x17, 0x9e, 0x79, 0x20, 0x46, 0xaf, 0xb5, 0x5b, 0xff, 0x05, 0x29, 0xbb, - 0xf6, 0x4a, 0x30, 0x33, 0xa8, 0xfe, 0xfc, 0x42, 0xdb, 0x19, 0x93, 0xad, - 0x52, 0x37, 0x39, 0xad, 0xdc, 0x79, 0x7f, 0xbb, 0xcd, 0x19, 0x98, 0xba, - 0x27, 0x9e, 0x5c, 0x39, 0x62, 0xff, 0xaf, 0x4e, 0x00, 0x16, 0x57, 0xe4, - 0xbb, 0xee, 0x77, 0x9f, 0x08, 0x56, 0x77, 0x34, 0x54, 0x6a, 0xe4, 0x0f, - 0x51, 0x7b, 0x2c, 0x24, 0xc5, 0xd9, 0x54, 0x2e, 0x00, 0x00, 0x00, 0x00, - 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - - -/* - * Constructs a langSelect as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -langSelect::langSelect( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - TQImage img; - img.loadFromData( img0_langselectw, sizeof( img0_langselectw ), "PNG" ); - image0 = img; - if ( !name ) - setName( "langSelect" ); - setIcon( image0 ); - langSelectLayout = new TQGridLayout( this, 1, 1, 2, 6, "langSelectLayout"); - - lvLanguages = new TQListView( this, "lvLanguages" ); - lvLanguages->addColumn( tr2i18n( "Languages" ) ); - lvLanguages->header()->setClickEnabled( FALSE, lvLanguages->header()->count() - 1 ); - lvLanguages->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)7, 0, 0, lvLanguages->sizePolicy().hasHeightForWidth() ) ); - lvLanguages->setMinimumSize( TQSize( 208, 0 ) ); - lvLanguages->setHScrollBarMode( TQListView::AlwaysOff ); - lvLanguages->setResizeMode( TQListView::LastColumn ); - - langSelectLayout->addWidget( lvLanguages, 0, 0 ); - languageChange(); - resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -langSelect::~langSelect() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void langSelect::languageChange() -{ - setCaption( tr2i18n( "Selection" ) ); - lvLanguages->header()->setLabel( 0, tr2i18n( "Languages" ) ); -} - -#include "langselectw.moc" diff --git a/src/mencoderCmdGen.cpp b/src/mencoderCmdGen.cpp deleted file mode 100644 index e93ff71..0000000 --- a/src/mencoderCmdGen.cpp +++ /dev/null @@ -1,129 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './mencoderCmdGen.ui' -** -** Created: dim. oct. 26 08:57:34 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "mencoderCmdGen.h" - -#include <tqvariant.h> -#include <kpushbutton.h> -#include <tqheader.h> -#include <tqlistview.h> -#include <tqwidgetstack.h> -#include <tqwidget.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -#include "kpushbutton.h" - -/* - * Constructs a MyDialog1 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. - */ -MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl ) - : TQDialog( parent, name, modal, fl ) -{ - if ( !name ) - setName( "MyDialog1" ); - setSizeGripEnabled( TRUE ); - MyDialog1Layout = new TQGridLayout( this, 1, 1, 11, 6, "MyDialog1Layout"); - - Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1"); - Horizontal_Spacing2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - Layout1->addItem(Horizontal_Spacing2 ); - - buttonOk = new KPushButton( this, "buttonOk" ); - buttonOk->setAutoDefault( TRUE ); - buttonOk->setDefault( TRUE ); - buttonOk->setProperty( "stdItem", 1 ); - Layout1->addWidget( buttonOk ); - - buttonCancel = new KPushButton( this, "buttonCancel" ); - buttonCancel->setAutoDefault( TRUE ); - buttonCancel->setProperty( "stdItem", 2 ); - Layout1->addWidget( buttonCancel ); - - MyDialog1Layout->addMultiCellLayout( Layout1, 1, 1, 0, 1 ); - - listView = new TQListView( this, "listView" ); - listView->addColumn( TQString() ); - listView->header()->setClickEnabled( FALSE, listView->header()->count() - 1 ); - listView->header()->setResizeEnabled( FALSE, listView->header()->count() - 1 ); - listView->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)7, 0, 0, listView->sizePolicy().hasHeightForWidth() ) ); - listView->setMinimumSize( TQSize( 200, 0 ) ); - listView->setResizeMode( TQListView::LastColumn ); - - MyDialog1Layout->addWidget( listView, 0, 0 ); - - wsOptions = new TQWidgetStack( this, "wsOptions" ); - - WStackPage = new TQWidget( wsOptions, "WStackPage" ); - wsOptions->addWidget( WStackPage, 0 ); - - MyDialog1Layout->addWidget( wsOptions, 0, 1 ); - languageChange(); - resize( TQSize(655, 498).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) ); - connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) ); - connect( listView, TQT_SIGNAL( currentChanged(TQListViewItem*) ), this, TQT_SLOT( listViewCurrentChanged(TQListViewItem*) ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -MyDialog1::~MyDialog1() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void MyDialog1::languageChange() -{ - setCaption( tr2i18n( "MEncoder options" ) ); - listView->header()->setLabel( 0, TQString() ); - listView->clear(); - TQListViewItem * item_2 = new TQListViewItem( listView, 0 ); - item_2->setOpen( TRUE ); - TQListViewItem * item = new TQListViewItem( item_2, 0 ); - item->setText( 0, tr2i18n( "faac" ) ); - item_2->setOpen( TRUE ); - item = new TQListViewItem( item_2, item ); - item->setText( 0, tr2i18n( "lavc" ) ); - item_2->setText( 0, tr2i18n( "Audio Codec" ) ); - - TQListViewItem * item_3 = new TQListViewItem( listView, item_2 ); - item_3->setOpen( TRUE ); - item = new TQListViewItem( item_3, item_2 ); - item->setText( 0, tr2i18n( "x264" ) ); - item_3->setOpen( TRUE ); - item = new TQListViewItem( item_3, item ); - item->setText( 0, tr2i18n( "xvid" ) ); - item_3->setOpen( TRUE ); - item = new TQListViewItem( item_3, item ); - item->setText( 0, tr2i18n( "lavc" ) ); - item_3->setText( 0, tr2i18n( "Video Codec" ) ); - -} - -void MyDialog1::listViewCurrentChanged(TQListViewItem*) -{ - tqWarning( "MyDialog1::listViewCurrentChanged(TQListViewItem*): Not implemented yet" ); -} - -#include "mencoderCmdGen.moc" diff --git a/src/playbackoptionsw.cpp b/src/playbackoptionsw.cpp deleted file mode 100644 index 1c8f482..0000000 --- a/src/playbackoptionsw.cpp +++ /dev/null @@ -1,279 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './playbackoptionsw.ui' -** -** Created: dim. oct. 26 08:57:35 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "playbackoptionsw.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqcheckbox.h> -#include <tqframe.h> -#include <tqlistbox.h> -#include <kpushbutton.h> -#include <tqlabel.h> -#include <tqcombobox.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -#include "kpushbutton.h" -static const unsigned char img0_playbackoptionsw[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x03, - 0x16, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x75, 0x93, 0x4f, 0x48, 0x2b, - 0x67, 0x14, 0xc5, 0x4f, 0xbe, 0x99, 0x38, 0xc9, 0xc4, 0x38, 0x32, 0x6a, - 0xd0, 0x3e, 0x17, 0xc1, 0xaa, 0x0b, 0x17, 0x0a, 0x0d, 0x0a, 0xea, 0x03, - 0x69, 0x17, 0x2d, 0x2e, 0x5c, 0x08, 0x5d, 0x04, 0xba, 0xd1, 0xbd, 0xa9, - 0xd0, 0x4d, 0x37, 0x85, 0x3e, 0x5c, 0x06, 0x51, 0x74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0x3e, 0x07, - 0x00, 0x49, 0xd3, 0xb4, 0x0f, 0xb2, 0xd9, 0xec, 0xb7, 0xb2, 0x2c, 0x33, - 0xdf, 0xf7, 0x11, 0x04, 0x01, 0xda, 0xda, 0xda, 0x20, 0xcb, 0x32, 0x00, - 0x80, 0x88, 0x10, 0x0a, 0x85, 0x10, 0x0e, 0x87, 0x41, 0x44, 0xe0, 0x9c, - 0x43, 0x55, 0x55, 0x74, 0x76, 0x76, 0xa6, 0xf6, 0xf6, 0xf6, 0x7e, 0x94, - 0xa7, 0xa7, 0xa7, 0x3f, 0xed, 0xea, 0xea, 0x92, 0x6d, 0xdb, 0x46, 0x2c, - 0x16, 0x83, 0x10, 0x02, 0xb6, 0x6d, 0x03, 0x00, 0x3c, 0xcf, 0x83, 0xef, - 0xfb, 0xd0, 0x34, 0x0d, 0x44, 0x04, 0xc7, 0x71, 0x60, 0xdb, 0x36, 0x1a, - 0x8d, 0x06, 0x52, 0xa9, 0x54, 0x62, 0x60, 0x60, 0xe0, 0x13, 0x79, 0x6c, - 0x6c, 0xec, 0x43, 0xd7, 0x75, 0x21, 0x49, 0x12, 0x42, 0xa1, 0x10, 0x24, - 0x49, 0x82, 0xeb, 0xba, 0x68, 0x36, 0x9b, 0xa8, 0xd5, 0x6a, 0x7e, 0x2c, - 0x16, 0x63, 0x9e, 0xe7, 0x31, 0x55, 0x55, 0xc1, 0x39, 0x87, 0x69, 0x9a, - 0xb0, 0x2c, 0x0b, 0x44, 0x84, 0x91, 0x91, 0x91, 0x09, 0x59, 0xd7, 0xf5, - 0x57, 0x00, 0xc0, 0x18, 0x83, 0x24, 0x49, 0x08, 0x87, 0xc3, 0xcf, 0x5b, - 0x68, 0x6e, 0x6e, 0xee, 0xb3, 0xd1, 0xd1, 0xd1, 0x57, 0x5b, 0x5b, 0x5b, - 0x6b, 0xa6, 0x69, 0x42, 0x08, 0x81, 0xa7, 0xa7, 0x27, 0x18, 0x86, 0x01, - 0x45, 0x51, 0xa0, 0xeb, 0x7a, 0x9f, 0xec, 0x79, 0x9e, 0xdb, 0xd1, 0xd1, - 0x01, 0x00, 0x50, 0x14, 0x05, 0x8c, 0x31, 0xc8, 0xb2, 0x8c, 0xf6, 0xf6, - 0xf6, 0xd0, 0xc2, 0xc2, 0xc2, 0xeb, 0xbe, 0xbe, 0xbe, 0xde, 0x46, 0xa3, - 0x81, 0x48, 0x24, 0x02, 0xce, 0x39, 0x0c, 0xc3, 0x80, 0x10, 0x02, 0x8a, - 0xa2, 0x80, 0x73, 0x2e, 0xe4, 0xeb, 0xeb, 0xeb, 0x77, 0xd1, 0x68, 0xf4, - 0x7d, 0xc6, 0x18, 0xc2, 0xe1, 0x30, 0x22, 0x91, 0x08, 0xba, 0xbb, 0xbb, - 0x51, 0xab, 0xd5, 0x90, 0xc9, 0x64, 0x32, 0x41, 0x10, 0xc0, 0x34, 0x4d, - 0x38, 0x8e, 0x03, 0xcb, 0xb2, 0x10, 0x04, 0x01, 0x18, 0x63, 0x08, 0x82, - 0x00, 0xe5, 0x72, 0xf9, 0x86, 0xe5, 0x72, 0xb9, 0x43, 0xcb, 0xb2, 0xa0, - 0xaa, 0x2a, 0x14, 0x45, 0x81, 0x10, 0x02, 0xb7, 0xb7, 0xb7, 0x70, 0x1c, - 0x07, 0xaa, 0xaa, 0x22, 0x91, 0x48, 0x40, 0x51, 0x14, 0x54, 0x2a, 0x15, - 0x70, 0xce, 0x5b, 0x17, 0xa9, 0x56, 0xab, 0xb8, 0xba, 0xba, 0xfa, 0x45, - 0xaa, 0xd7, 0xeb, 0x77, 0xc9, 0x64, 0x32, 0x3d, 0x33, 0x33, 0xa3, 0x31, - 0xc6, 0xb0, 0xb2, 0xb2, 0x82, 0x42, 0xa1, 0x80, 0xa5, 0xa5, 0x25, 0x98, - 0xa6, 0x89, 0x7c, 0x3e, 0x8f, 0xd5, 0xd5, 0x55, 0x48, 0x92, 0x84, 0xc3, - 0xc3, 0x43, 0x8c, 0x8f, 0x8f, 0x43, 0xd3, 0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, 0xbf, 0xcd, 0x7f, 0x03, 0x0c, - 0x63, 0xc7, 0xb7, 0xdc, 0x56, 0x84, 0xa7, 0x00, 0x00, 0x00, 0x00, 0x49, - 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - - -/* - * Constructs a PlaybackOptionsw as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -PlaybackOptionsw::PlaybackOptionsw( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - TQImage img; - img.loadFromData( img0_playbackoptionsw, sizeof( img0_playbackoptionsw ), "PNG" ); - image0 = img; - if ( !name ) - setName( "PlaybackOptionsw" ); - setIcon( image0 ); - PlaybackOptionswLayout = new TQGridLayout( this, 1, 1, 2, 6, "PlaybackOptionswLayout"); - - ckMenu = new TQCheckBox( this, "ckMenu" ); - - PlaybackOptionswLayout->addWidget( ckMenu, 1, 0 ); - - frPlayback = new TQFrame( this, "frPlayback" ); - frPlayback->setEnabled( FALSE ); - frPlayback->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, frPlayback->sizePolicy().hasHeightForWidth() ) ); - frPlayback->setFrameShape( TQFrame::NoFrame ); - frPlayback->setFrameShadow( TQFrame::Sunken ); - frPlaybackLayout = new TQGridLayout( frPlayback, 1, 1, 0, 2, "frPlaybackLayout"); - - lbSequence = new TQListBox( frPlayback, "lbSequence" ); - lbSequence->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lbSequence->sizePolicy().hasHeightForWidth() ) ); - - frPlaybackLayout->addMultiCellWidget( lbSequence, 1, 5, 0, 0 ); - spacer5 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - frPlaybackLayout->addMultiCell( spacer5, 0, 1, 1, 1 ); - - bSeqUp = new KPushButton( frPlayback, "bSeqUp" ); - bSeqUp->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqUp->sizePolicy().hasHeightForWidth() ) ); - bSeqUp->setMinimumSize( TQSize( 21, 21 ) ); - bSeqUp->setMaximumSize( TQSize( 21, 21 ) ); - - frPlaybackLayout->addMultiCellWidget( bSeqUp, 2, 2, 1, 2 ); - - bSeqDown = new KPushButton( frPlayback, "bSeqDown" ); - bSeqDown->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bSeqDown->sizePolicy().hasHeightForWidth() ) ); - bSeqDown->setMinimumSize( TQSize( 21, 21 ) ); - bSeqDown->setMaximumSize( TQSize( 21, 21 ) ); - - frPlaybackLayout->addMultiCellWidget( bSeqDown, 4, 4, 1, 2 ); - spacer7 = new TQSpacerItem( 20, 16, TQSizePolicy::Minimum, TQSizePolicy::Fixed ); - frPlaybackLayout->addItem( spacer7, 3, 1 ); - - textLabel4 = new TQLabel( frPlayback, "textLabel4" ); - textLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); - TQFont textLabel4_font( textLabel4->font() ); - textLabel4_font.setBold( TRUE ); - textLabel4->setFont( textLabel4_font ); - - frPlaybackLayout->addWidget( textLabel4, 0, 0 ); - - frame4 = new TQFrame( frPlayback, "frame4" ); - frame4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame4->sizePolicy().hasHeightForWidth() ) ); - frame4->setMinimumSize( TQSize( 211, 100 ) ); - frame4->setFrameShape( TQFrame::NoFrame ); - frame4->setFrameShadow( TQFrame::Raised ); - frame4Layout = new TQGridLayout( frame4, 1, 1, 0, 0, "frame4Layout"); - - textLabel1 = new TQLabel( frame4, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - TQFont textLabel1_font( textLabel1->font() ); - textLabel1_font.setBold( TRUE ); - textLabel1->setFont( textLabel1_font ); - - frame4Layout->addMultiCellWidget( textLabel1, 0, 0, 0, 2 ); - - cbDefSub = new TQComboBox( FALSE, frame4, "cbDefSub" ); - cbDefSub->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefSub->sizePolicy().hasHeightForWidth() ) ); - - frame4Layout->addWidget( cbDefSub, 2, 2 ); - - textLabel3 = new TQLabel( frame4, "textLabel3" ); - textLabel3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel3->sizePolicy().hasHeightForWidth() ) ); - - frame4Layout->addWidget( textLabel3, 2, 0 ); - - cbDefAudio = new TQComboBox( FALSE, frame4, "cbDefAudio" ); - cbDefAudio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, cbDefAudio->sizePolicy().hasHeightForWidth() ) ); - - frame4Layout->addWidget( cbDefAudio, 1, 2 ); - - textLabel2_3 = new TQLabel( frame4, "textLabel2_3" ); - textLabel2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_3->sizePolicy().hasHeightForWidth() ) ); - - frame4Layout->addWidget( textLabel2_3, 1, 0 ); - spacer4 = new TQSpacerItem( 16, 21, TQSizePolicy::Fixed, TQSizePolicy::Minimum ); - frame4Layout->addMultiCell( spacer4, 1, 2, 1, 1 ); - - frPlaybackLayout->addWidget( frame4, 6, 0 ); - spacer6 = new TQSpacerItem( 20, 280, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - frPlaybackLayout->addMultiCell( spacer6, 5, 6, 1, 1 ); - - PlaybackOptionswLayout->addWidget( frPlayback, 0, 0 ); - languageChange(); - resize( TQSize(328, 491).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bSeqDown, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bSeqDownClick() ) ); - connect( bSeqUp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bSeqUpClick() ) ); - connect( ckMenu, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckMenuClick() ) ); - connect( cbDefAudio, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbDefAudioActivated(int) ) ); - connect( cbDefSub, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbDefSubActivated(int) ) ); - connect( lbSequence, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbSequenceChanged(TQListBoxItem*) ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -PlaybackOptionsw::~PlaybackOptionsw() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void PlaybackOptionsw::languageChange() -{ - setCaption( tr2i18n( "DVD playback options" ) ); - ckMenu->setText( tr2i18n( "&Keep original menus" ) ); - ckMenu->setAccel( TQKeySequence( tr2i18n( "Alt+K" ) ) ); - bSeqUp->setText( TQString() ); - bSeqDown->setText( TQString() ); - textLabel4->setText( tr2i18n( "Selected Titles" ) ); - textLabel1->setText( tr2i18n( "Default language" ) ); - textLabel3->setText( tr2i18n( "Subtitle" ) ); - textLabel2_3->setText( tr2i18n( "Audio" ) ); -} - -void PlaybackOptionsw::cbStartActivated(int) -{ - tqWarning( "PlaybackOptionsw::cbStartActivated(int): Not implemented yet" ); -} - -void PlaybackOptionsw::cbTitleActivated(int) -{ - tqWarning( "PlaybackOptionsw::cbTitleActivated(int): Not implemented yet" ); -} - -void PlaybackOptionsw::ckMenuClick() -{ - tqWarning( "PlaybackOptionsw::ckMenuClick(): Not implemented yet" ); -} - -void PlaybackOptionsw::bSeqUpClick() -{ - tqWarning( "PlaybackOptionsw::bSeqUpClick(): Not implemented yet" ); -} - -void PlaybackOptionsw::bSeqDownClick() -{ - tqWarning( "PlaybackOptionsw::bSeqDownClick(): Not implemented yet" ); -} - -void PlaybackOptionsw::lbSequenceChanged(TQListBoxItem*) -{ - tqWarning( "PlaybackOptionsw::lbSequenceChanged(TQListBoxItem*): Not implemented yet" ); -} - -void PlaybackOptionsw::cbDefAudioActivated(int) -{ - tqWarning( "PlaybackOptionsw::cbDefAudioActivated(int): Not implemented yet" ); -} - -void PlaybackOptionsw::cbDefSubActivated(int) -{ - tqWarning( "PlaybackOptionsw::cbDefSubActivated(int): Not implemented yet" ); -} - -#include "playbackoptionsw.moc" diff --git a/src/prefAuthor.cpp b/src/prefAuthor.cpp deleted file mode 100644 index c28d732..0000000 --- a/src/prefAuthor.cpp +++ /dev/null @@ -1,165 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './prefAuthor.ui' -** -** Created: dim. oct. 26 08:57:35 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "prefAuthor.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqgroupbox.h> -#include <tqcombobox.h> -#include <tqlabel.h> -#include <knuminput.h> -#include <kpushbutton.h> -#include <kcolorbutton.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "knuminput.h" -#include "kpushbutton.h" -#include "kcolorbutton.h" - -/* - * Constructs a prefAuthor as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -prefAuthor::prefAuthor( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "prefAuthor" ); - prefAuthorLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefAuthorLayout"); - - groupBox1 = new TQGroupBox( this, "groupBox1" ); - groupBox1->setColumnLayout(0, Qt::Vertical ); - groupBox1->layout()->setSpacing( 6 ); - groupBox1->layout()->setMargin( 11 ); - groupBox1Layout = new TQGridLayout( groupBox1->layout() ); - groupBox1Layout->setAlignment( TQt::AlignTop ); - - cbAudioFormat = new TQComboBox( FALSE, groupBox1, "cbAudioFormat" ); - - groupBox1Layout->addWidget( cbAudioFormat, 0, 1 ); - - cbAudioBitrate = new TQComboBox( FALSE, groupBox1, "cbAudioBitrate" ); - - groupBox1Layout->addWidget( cbAudioBitrate, 1, 1 ); - - textLabel1 = new TQLabel( groupBox1, "textLabel1" ); - - groupBox1Layout->addWidget( textLabel1, 0, 0 ); - - textLabel2 = new TQLabel( groupBox1, "textLabel2" ); - - groupBox1Layout->addWidget( textLabel2, 1, 0 ); - spacer1 = new TQSpacerItem( 151, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - groupBox1Layout->addMultiCell( spacer1, 0, 1, 2, 2 ); - - prefAuthorLayout->addWidget( groupBox1, 0, 0 ); - spacer3 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - prefAuthorLayout->addItem( spacer3, 2, 0 ); - - groupBox2 = new TQGroupBox( this, "groupBox2" ); - groupBox2->setColumnLayout(0, Qt::Vertical ); - groupBox2->layout()->setSpacing( 6 ); - groupBox2->layout()->setMargin( 11 ); - groupBox2Layout = new TQGridLayout( groupBox2->layout() ); - groupBox2Layout->setAlignment( TQt::AlignTop ); - - textLabel3 = new TQLabel( groupBox2, "textLabel3" ); - - groupBox2Layout->addWidget( textLabel3, 0, 0 ); - spacer2 = new TQSpacerItem( 121, 31, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - groupBox2Layout->addItem( spacer2, 0, 2 ); - - textLabel5 = new TQLabel( groupBox2, "textLabel5" ); - - groupBox2Layout->addWidget( textLabel5, 1, 0 ); - - inButtonHeight = new KIntNumInput( groupBox2, "inButtonHeight" ); - inButtonHeight->setMinValue( 0 ); - inButtonHeight->setMaxValue( 480 ); - - groupBox2Layout->addWidget( inButtonHeight, 1, 1 ); - - inButtonWidth = new KIntNumInput( groupBox2, "inButtonWidth" ); - inButtonWidth->setMinValue( 0 ); - inButtonWidth->setMaxValue( 700 ); - - groupBox2Layout->addWidget( inButtonWidth, 0, 1 ); - - bButtonFont = new KPushButton( groupBox2, "bButtonFont" ); - - groupBox2Layout->addWidget( bButtonFont, 4, 1 ); - - textLabel6 = new TQLabel( groupBox2, "textLabel6" ); - - groupBox2Layout->addWidget( textLabel6, 2, 0 ); - - cbHiliteColor = new KColorButton( groupBox2, "cbHiliteColor" ); - - groupBox2Layout->addWidget( cbHiliteColor, 2, 1 ); - - textLabel6_2 = new TQLabel( groupBox2, "textLabel6_2" ); - - groupBox2Layout->addWidget( textLabel6_2, 3, 0 ); - - cbTextColor = new KColorButton( groupBox2, "cbTextColor" ); - - groupBox2Layout->addWidget( cbTextColor, 3, 1 ); - - prefAuthorLayout->addWidget( groupBox2, 1, 0 ); - languageChange(); - resize( TQSize(600, 480).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bButtonFont, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bButtonFontClicked() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -prefAuthor::~prefAuthor() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void prefAuthor::languageChange() -{ - setCaption( tr2i18n( "Authoring options" ) ); - groupBox1->setTitle( tr2i18n( "Audio" ) ); - cbAudioFormat->clear(); - cbAudioFormat->insertItem( tr2i18n( "AC3" ) ); - cbAudioFormat->insertItem( tr2i18n( "MP2" ) ); - cbAudioBitrate->clear(); - cbAudioBitrate->insertItem( tr2i18n( "128" ) ); - cbAudioBitrate->insertItem( tr2i18n( "192" ) ); - cbAudioBitrate->insertItem( tr2i18n( "320" ) ); - textLabel1->setText( tr2i18n( "Format" ) ); - textLabel2->setText( tr2i18n( "Bitrate" ) ); - groupBox2->setTitle( tr2i18n( "Buttons" ) ); - textLabel3->setText( tr2i18n( "Width" ) ); - textLabel5->setText( tr2i18n( "Height" ) ); - bButtonFont->setText( tr2i18n( "Font" ) ); - textLabel6->setText( tr2i18n( "Hilite color" ) ); - cbHiliteColor->setText( TQString() ); - textLabel6_2->setText( tr2i18n( "Text color" ) ); - cbTextColor->setText( TQString() ); -} - -void prefAuthor::bButtonFontClicked() -{ - tqWarning( "prefAuthor::bButtonFontClicked(): Not implemented yet" ); -} - -#include "prefAuthor.moc" diff --git a/src/prefDVD.cpp b/src/prefDVD.cpp deleted file mode 100644 index 827d875..0000000 --- a/src/prefDVD.cpp +++ /dev/null @@ -1,114 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './prefDVD.ui' -** -** Created: dim. oct. 26 08:57:35 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "prefDVD.h" - -#include <tqvariant.h> -#include <tqlabel.h> -#include <kurlrequester.h> -#include <tqcheckbox.h> -#include <tqspinbox.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kurlrequester.h" -#include "klineedit.h" -#include "kpushbutton.h" - -/* - * Constructs a prefDVD as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -prefDVD::prefDVD( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "prefDVD" ); - prefDVDLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefDVDLayout"); - - lblworkDir = new TQLabel( this, "lblworkDir" ); - lblworkDir->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, lblworkDir->sizePolicy().hasHeightForWidth() ) ); - - prefDVDLayout->addWidget( lblworkDir, 0, 0 ); - - urOutput = new KURLRequester( this, "urOutput" ); - urOutput->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, urOutput->sizePolicy().hasHeightForWidth() ) ); - - prefDVDLayout->addMultiCellWidget( urOutput, 0, 0, 1, 2 ); - - ckK3b = new TQCheckBox( this, "ckK3b" ); - - prefDVDLayout->addMultiCellWidget( ckK3b, 2, 2, 0, 2 ); - - ckAutoBurn = new TQCheckBox( this, "ckAutoBurn" ); - ckAutoBurn->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, ckAutoBurn->sizePolicy().hasHeightForWidth() ) ); - - prefDVDLayout->addMultiCellWidget( ckAutoBurn, 3, 3, 0, 2 ); - - textLabel1_2 = new TQLabel( this, "textLabel1_2" ); - - prefDVDLayout->addWidget( textLabel1_2, 1, 0 ); - - sbSize = new TQSpinBox( this, "sbSize" ); - sbSize->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbSize->sizePolicy().hasHeightForWidth() ) ); - sbSize->setMinimumSize( TQSize( 80, 0 ) ); - sbSize->setMaxValue( 9000 ); - sbSize->setLineStep( 100 ); - sbSize->setValue( 4400 ); - - prefDVDLayout->addWidget( sbSize, 1, 1 ); - - ckQuickScan = new TQCheckBox( this, "ckQuickScan" ); - - prefDVDLayout->addMultiCellWidget( ckQuickScan, 4, 4, 0, 2 ); - spacer1 = new TQSpacerItem( 21, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - prefDVDLayout->addItem( spacer1, 7, 2 ); - - ckDvdAuthor = new TQCheckBox( this, "ckDvdAuthor" ); - - prefDVDLayout->addMultiCellWidget( ckDvdAuthor, 5, 5, 0, 2 ); - - ckDelTmpFiles = new TQCheckBox( this, "ckDelTmpFiles" ); - - prefDVDLayout->addMultiCellWidget( ckDelTmpFiles, 6, 6, 0, 2 ); - languageChange(); - resize( TQSize(600, 347).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); -} - -/* - * Destroys the object and frees any allocated resources - */ -prefDVD::~prefDVD() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void prefDVD::languageChange() -{ - setCaption( tr2i18n( "prefDVD" ) ); - lblworkDir->setText( tr2i18n( "Output directory" ) ); - ckK3b->setText( tr2i18n( "Burn with k3b" ) ); - ckK3b->setAccel( TQKeySequence( tr2i18n( "Alt+B" ) ) ); - ckAutoBurn->setText( tr2i18n( "Auto burn" ) ); - ckAutoBurn->setAccel( TQKeySequence( tr2i18n( "Alt+T" ) ) ); - textLabel1_2->setText( tr2i18n( "DVD size" ) ); - ckQuickScan->setText( tr2i18n( "Quick scan" ) ); - ckQuickScan->setAccel( TQKeySequence( tr2i18n( "Alt+Q" ) ) ); - ckDvdAuthor->setText( tr2i18n( "use dvdAuthor for copy without menus" ) ); - ckDvdAuthor->setAccel( TQKeySequence( tr2i18n( "Alt+D" ) ) ); - ckDelTmpFiles->setText( tr2i18n( "Clear output directory on exit" ) ); - ckDelTmpFiles->setAccel( TQKeySequence( tr2i18n( "Alt+Y" ) ) ); -} - -#include "prefDVD.moc" diff --git a/src/prefMPEG4.cpp b/src/prefMPEG4.cpp deleted file mode 100644 index c31075e..0000000 --- a/src/prefMPEG4.cpp +++ /dev/null @@ -1,418 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './prefMPEG4.ui' -** -** Created: dim. oct. 26 08:57:35 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "prefMPEG4.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tqtabwidget.h> -#include <tqcheckbox.h> -#include <tqcombobox.h> -#include <tqlineedit.h> -#include <tqspinbox.h> -#include <tqbuttongroup.h> -#include <tqradiobutton.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -static const unsigned char img0_prefMPEG4[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 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, 0xa3, 0x40, 0x0a, 0x24, 0x78, 0x90, 0xa0, 0x18, 0x06, 0xbb, 0x3b, - 0x01, 0x1c, 0x05, 0xb7, 0x90, 0x4c, 0xf0, 0x50, 0x30, 0x11, 0xb0, 0xda, - 0xc2, 0xfc, 0x79, 0xdb, 0xa6, 0x85, 0xac, 0xd2, 0x64, 0x1b, 0xb2, 0xa8, - 0x23, 0xe8, 0x6a, 0x4a, 0xe0, 0x70, 0x3a, 0x20, 0x20, 0x05, 0x55, 0x22, - 0x00, 0xee, 0x20, 0x82, 0xdd, 0xbd, 0x30, 0x42, 0x07, 0x11, 0x84, 0xa3, - 0x29, 0xa4, 0xf2, 0x0a, 0x31, 0xbb, 0x60, 0xc3, 0x5e, 0xc8, 0x8b, 0x17, - 0x2f, 0x47, 0x91, 0x2f, 0xf7, 0xa2, 0xbe, 0x5e, 0x6f, 0xa4, 0xce, 0xc9, - 0x0e, 0x8b, 0x11, 0xf3, 0x03, 0x28, 0x47, 0xef, 0xd5, 0x3c, 0x0c, 0xbf, - 0xb7, 0xa1, 0xb9, 0xf1, 0x12, 0x96, 0x97, 0xed, 0x88, 0xa8, 0xca, 0x3c, - 0x0c, 0x23, 0x97, 0x72, 0xab, 0x9f, 0x4b, 0x1d, 0x6e, 0x17, 0x72, 0x73, - 0x48, 0x68, 0x89, 0x2d, 0x04, 0x83, 0xdb, 0x98, 0x9e, 0x32, 0x43, 0x99, - 0xdb, 0x5c, 0x4e, 0x3c, 0x79, 0xdc, 0xeb, 0xf1, 0xba, 0xbf, 0x6b, 0x93, - 0x3c, 0x0d, 0x90, 0x52, 0xac, 0xfa, 0x8f, 0xc0, 0x13, 0x0c, 0x92, 0x3c, - 0x09, 0x2e, 0x2a, 0x44, 0xe3, 0xb1, 0xa8, 0x94, 0x56, 0x28, 0x49, 0x46, - 0xc1, 0x80, 0x20, 0x05, 0xa4, 0x36, 0xdd, 0xa0, 0x89, 0x04, 0x0e, 0x0e, - 0xa3, 0xa0, 0x68, 0xa5, 0x1f, 0xdd, 0x37, 0x3a, 0x67, 0x85, 0xe3, 0x02, - 0x20, 0x9c, 0x36, 0x8b, 0x58, 0x7c, 0xe9, 0x98, 0xfc, 0xb1, 0xe4, 0xb1, - 0x65, 0x5e, 0xe3, 0x89, 0x4b, 0x23, 0x88, 0x13, 0xf8, 0xaf, 0xf6, 0x24, - 0xe1, 0x56, 0xfa, 0xc6, 0xcc, 0x9e, 0x99, 0x20, 0x13, 0x93, 0x82, 0x20, - 0xc4, 0xff, 0x97, 0x40, 0x4c, 0x91, 0xbe, 0x5d, 0x9c, 0xc9, 0xb3, 0xe2, - 0x9e, 0x65, 0x26, 0x76, 0xf2, 0x18, 0xc4, 0x33, 0x89, 0x67, 0x19, 0xa6, - 0xff, 0x9f, 0xca, 0xd0, 0xeb, 0x1b, 0x6a, 0x4d, 0x26, 0xd3, 0x65, 0xb5, - 0xba, 0x50, 0xbb, 0xbe, 0xbe, 0x4e, 0x04, 0x02, 0x3f, 0x7d, 0x66, 0xb3, - 0x79, 0x72, 0x67, 0x67, 0xdb, 0x06, 0x20, 0x91, 0xce, 0xfd, 0x03, 0xf3, - 0x98, 0x43, 0xeb, 0x06, 0xad, 0xb9, 0x96, 0x00, 0x00, 0x00, 0x00, 0x49, - 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - - -/* - * Constructs a prefMPEG4 as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -prefMPEG4::prefMPEG4( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - TQImage img; - img.loadFromData( img0_prefMPEG4, sizeof( img0_prefMPEG4 ), "PNG" ); - image0 = img; - if ( !name ) - setName( "prefMPEG4" ); - setIcon( image0 ); - prefMPEG4Layout = new TQGridLayout( this, 1, 1, 5, 2, "prefMPEG4Layout"); - - lTitle = new TQLabel( this, "lTitle" ); - TQFont lTitle_font( lTitle->font() ); - lTitle_font.setBold( TRUE ); - lTitle->setFont( lTitle_font ); - - prefMPEG4Layout->addWidget( lTitle, 0, 0 ); - - tabWidget = new TQTabWidget( this, "tabWidget" ); - - tabVideo = new TQWidget( tabWidget, "tabVideo" ); - tabVideoLayout = new TQGridLayout( tabVideo, 1, 1, 11, 6, "tabVideoLayout"); - - ck2passes = new TQCheckBox( tabVideo, "ck2passes" ); - - tabVideoLayout->addMultiCellWidget( ck2passes, 0, 0, 3, 6 ); - - textLabel1_4 = new TQLabel( tabVideo, "textLabel1_4" ); - - tabVideoLayout->addWidget( textLabel1_4, 0, 0 ); - - cbMp4Codec = new TQComboBox( FALSE, tabVideo, "cbMp4Codec" ); - cbMp4Codec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4Codec->sizePolicy().hasHeightForWidth() ) ); - - tabVideoLayout->addMultiCellWidget( cbMp4Codec, 0, 0, 1, 2 ); - - textLabel3_2 = new TQLabel( tabVideo, "textLabel3_2" ); - - tabVideoLayout->addWidget( textLabel3_2, 1, 0 ); - - textLabel3_2_2 = new TQLabel( tabVideo, "textLabel3_2_2" ); - - tabVideoLayout->addWidget( textLabel3_2_2, 2, 0 ); - - leMp4Width = new TQLineEdit( tabVideo, "leMp4Width" ); - leMp4Width->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, leMp4Width->sizePolicy().hasHeightForWidth() ) ); - leMp4Width->setMinimumSize( TQSize( 0, 0 ) ); - leMp4Width->setMaximumSize( TQSize( 70, 32767 ) ); - leMp4Width->setMaxLength( 4 ); - leMp4Width->setAlignment( int( TQLineEdit::AlignAuto ) ); - - tabVideoLayout->addWidget( leMp4Width, 1, 1 ); - - ckMp4AspectRatio = new TQCheckBox( tabVideo, "ckMp4AspectRatio" ); - ckMp4AspectRatio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, ckMp4AspectRatio->sizePolicy().hasHeightForWidth() ) ); - ckMp4AspectRatio->setChecked( TRUE ); - - tabVideoLayout->addMultiCellWidget( ckMp4AspectRatio, 1, 1, 3, 6 ); - spacer9 = new TQSpacerItem( 380, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - tabVideoLayout->addMultiCell( spacer9, 2, 2, 2, 6 ); - - leMp4Height = new TQLineEdit( tabVideo, "leMp4Height" ); - leMp4Height->setEnabled( FALSE ); - leMp4Height->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4Height->sizePolicy().hasHeightForWidth() ) ); - leMp4Height->setMinimumSize( TQSize( 0, 0 ) ); - leMp4Height->setMaximumSize( TQSize( 70, 32767 ) ); - leMp4Height->setMaxLength( 4 ); - leMp4Height->setAlignment( int( TQLineEdit::AlignAuto ) ); - - tabVideoLayout->addWidget( leMp4Height, 2, 1 ); - spacer8 = new TQSpacerItem( 21, 110, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tabVideoLayout->addItem( spacer8, 4, 5 ); - - sbMp4NumberCD = new TQSpinBox( tabVideo, "sbMp4NumberCD" ); - sbMp4NumberCD->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4NumberCD->sizePolicy().hasHeightForWidth() ) ); - sbMp4NumberCD->setMaxValue( 9 ); - sbMp4NumberCD->setMinValue( 1 ); - - tabVideoLayout->addWidget( sbMp4NumberCD, 3, 5 ); - - textLabel1 = new TQLabel( tabVideo, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - - tabVideoLayout->addWidget( textLabel1, 3, 4 ); - - buttonGroup1 = new TQButtonGroup( tabVideo, "buttonGroup1" ); - buttonGroup1->setFrameShape( TQButtonGroup::NoFrame ); - buttonGroup1->setColumnLayout(0, Qt::Vertical ); - buttonGroup1->layout()->setSpacing( 6 ); - buttonGroup1->layout()->setMargin( 2 ); - buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() ); - buttonGroup1Layout->setAlignment( TQt::AlignTop ); - - rbSize = new TQRadioButton( buttonGroup1, "rbSize" ); - - buttonGroup1Layout->addWidget( rbSize, 0, 0 ); - - sbMp4Size = new TQSpinBox( buttonGroup1, "sbMp4Size" ); - sbMp4Size->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, sbMp4Size->sizePolicy().hasHeightForWidth() ) ); - sbMp4Size->setMinimumSize( TQSize( 80, 0 ) ); - sbMp4Size->setButtonSymbols( TQSpinBox::UpDownArrows ); - sbMp4Size->setMaxValue( 9999 ); - sbMp4Size->setMinValue( 1 ); - sbMp4Size->setLineStep( 10 ); - sbMp4Size->setValue( 700 ); - - buttonGroup1Layout->addWidget( sbMp4Size, 0, 1 ); - - rbBitrate = new TQRadioButton( buttonGroup1, "rbBitrate" ); - - buttonGroup1Layout->addWidget( rbBitrate, 1, 0 ); - spacer6 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - buttonGroup1Layout->addMultiCell( spacer6, 0, 1, 2, 2 ); - - leMp4VideoBitrate = new TQLineEdit( buttonGroup1, "leMp4VideoBitrate" ); - leMp4VideoBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, leMp4VideoBitrate->sizePolicy().hasHeightForWidth() ) ); - - buttonGroup1Layout->addWidget( leMp4VideoBitrate, 1, 1 ); - - tabVideoLayout->addMultiCellWidget( buttonGroup1, 3, 3, 0, 3 ); - spacer3 = new TQSpacerItem( 130, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - tabVideoLayout->addItem( spacer3, 3, 6 ); - tabWidget->insertTab( tabVideo, TQString::fromLatin1("") ); - - tabAudio = new TQWidget( tabWidget, "tabAudio" ); - tabAudioLayout = new TQGridLayout( tabAudio, 1, 1, 11, 6, "tabAudioLayout"); - - textLabel1_4_2 = new TQLabel( tabAudio, "textLabel1_4_2" ); - - tabAudioLayout->addWidget( textLabel1_4_2, 0, 0 ); - - cbMp4AudioCodec = new TQComboBox( FALSE, tabAudio, "cbMp4AudioCodec" ); - cbMp4AudioCodec->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbMp4AudioCodec->sizePolicy().hasHeightForWidth() ) ); - - tabAudioLayout->addMultiCellWidget( cbMp4AudioCodec, 0, 0, 1, 2 ); - - textLabel1_5 = new TQLabel( tabAudio, "textLabel1_5" ); - - tabAudioLayout->addWidget( textLabel1_5, 1, 0 ); - - leMp4AudioBitrate = new TQLineEdit( tabAudio, "leMp4AudioBitrate" ); - leMp4AudioBitrate->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, leMp4AudioBitrate->sizePolicy().hasHeightForWidth() ) ); - leMp4AudioBitrate->setMinimumSize( TQSize( 0, 0 ) ); - leMp4AudioBitrate->setMaximumSize( TQSize( 70, 32767 ) ); - leMp4AudioBitrate->setMaxLength( 3 ); - leMp4AudioBitrate->setAlignment( int( TQLineEdit::AlignAuto ) ); - - tabAudioLayout->addWidget( leMp4AudioBitrate, 1, 1 ); - spacer4 = new TQSpacerItem( 376, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - tabAudioLayout->addMultiCell( spacer4, 1, 1, 2, 3 ); - - sbAudioGain = new TQSpinBox( tabAudio, "sbAudioGain" ); - sbAudioGain->setMaxValue( 10 ); - sbAudioGain->setMinValue( 1 ); - - tabAudioLayout->addWidget( sbAudioGain, 2, 1 ); - - textLabel1_2 = new TQLabel( tabAudio, "textLabel1_2" ); - - tabAudioLayout->addWidget( textLabel1_2, 2, 0 ); - spacer14 = new TQSpacerItem( 20, 61, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - tabAudioLayout->addItem( spacer14, 3, 3 ); - tabWidget->insertTab( tabAudio, TQString::fromLatin1("") ); - - prefMPEG4Layout->addWidget( tabWidget, 1, 0 ); - - ckUseCache = new TQCheckBox( this, "ckUseCache" ); - - prefMPEG4Layout->addWidget( ckUseCache, 2, 0 ); - languageChange(); - resize( TQSize(582, 460).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( cbMp4AudioCodec, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbMp4AudioCodecActivated(int) ) ); - connect( cbMp4Codec, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbMp4CodecActivated(int) ) ); - connect( ck2passes, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ck2passesClicked() ) ); - connect( ckMp4AspectRatio, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckMp4AspectRatioClick() ) ); - connect( rbBitrate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rgVideoSizeChanged() ) ); - connect( rbSize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rgVideoSizeChanged() ) ); - connect( leMp4Width, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4WidthTextChanged(const TQString&) ) ); - connect( leMp4Height, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4HeightTextChanged(const TQString&) ) ); - connect( sbMp4Size, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbMp4SizeValueChanged(int) ) ); - connect( sbMp4NumberCD, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbMp4NumberCDValueChanged(int) ) ); - connect( leMp4VideoBitrate, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4VideoBitrateTextChanged(const TQString&) ) ); - connect( sbAudioGain, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sbAudioGainValueChanged(int) ) ); - connect( leMp4AudioBitrate, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leMp4AudioBitrateTextChanged(const TQString&) ) ); - connect( ckUseCache, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckUseCacheClick() ) ); - - // tab order - setTabOrder( tabWidget, cbMp4Codec ); - setTabOrder( cbMp4Codec, ck2passes ); - setTabOrder( ck2passes, leMp4Width ); - setTabOrder( leMp4Width, ckMp4AspectRatio ); - setTabOrder( ckMp4AspectRatio, leMp4Height ); - setTabOrder( leMp4Height, rbSize ); - setTabOrder( rbSize, rbBitrate ); - setTabOrder( rbBitrate, sbMp4Size ); - setTabOrder( sbMp4Size, leMp4VideoBitrate ); - setTabOrder( leMp4VideoBitrate, sbMp4NumberCD ); - setTabOrder( sbMp4NumberCD, cbMp4AudioCodec ); - setTabOrder( cbMp4AudioCodec, leMp4AudioBitrate ); - setTabOrder( leMp4AudioBitrate, sbAudioGain ); -} - -/* - * Destroys the object and frees any allocated resources - */ -prefMPEG4::~prefMPEG4() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void prefMPEG4::languageChange() -{ - setCaption( tr2i18n( "Form1" ) ); - lTitle->setText( TQString() ); - ck2passes->setText( tr2i18n( "2 pass" ) ); - ck2passes->setAccel( TQKeySequence( tr2i18n( "Alt+2" ) ) ); - textLabel1_4->setText( tr2i18n( "Codec" ) ); - cbMp4Codec->clear(); - cbMp4Codec->insertItem( tr2i18n( "XviD" ) ); - cbMp4Codec->insertItem( tr2i18n( "lavc MPEG4" ) ); - cbMp4Codec->insertItem( tr2i18n( "x264" ) ); - cbMp4Codec->setCurrentItem( 1 ); - textLabel3_2->setText( tr2i18n( "Width" ) ); - textLabel3_2_2->setText( tr2i18n( "Height" ) ); - leMp4Width->setText( tr2i18n( "640" ) ); - leMp4Width->setInputMask( TQString() ); - ckMp4AspectRatio->setText( tr2i18n( "&keep aspect ratio" ) ); - ckMp4AspectRatio->setAccel( TQKeySequence( tr2i18n( "Alt+K" ) ) ); - leMp4Height->setInputMask( TQString() ); - textLabel1->setText( tr2i18n( "X" ) ); - buttonGroup1->setTitle( TQString() ); - rbSize->setText( tr2i18n( "File size" ) ); - rbSize->setAccel( TQKeySequence( tr2i18n( "Alt+S" ) ) ); - sbMp4Size->setSuffix( tr2i18n( " MB" ) ); - rbBitrate->setText( tr2i18n( "Bitrate" ) ); - rbBitrate->setAccel( TQKeySequence( tr2i18n( "Alt+B" ) ) ); - tabWidget->changeTab( tabVideo, tr2i18n( "Video" ) ); - textLabel1_4_2->setText( tr2i18n( "Codec" ) ); - cbMp4AudioCodec->clear(); - cbMp4AudioCodec->insertItem( tr2i18n( "mp3" ) ); - cbMp4AudioCodec->insertItem( tr2i18n( "faac" ) ); - cbMp4AudioCodec->insertItem( tr2i18n( "mp2" ) ); - cbMp4AudioCodec->insertItem( tr2i18n( "ac3" ) ); - cbMp4AudioCodec->insertItem( tr2i18n( "adpcm ima" ) ); - textLabel1_5->setText( tr2i18n( "Bitrate" ) ); - leMp4AudioBitrate->setText( TQString() ); - textLabel1_2->setText( tr2i18n( "Gain" ) ); - tabWidget->changeTab( tabAudio, tr2i18n( "Audio" ) ); - ckUseCache->setText( tr2i18n( "use cell cache" ) ); -} - -void prefMPEG4::ckMp4AspectRatioClick() -{ - tqWarning( "prefMPEG4::ckMp4AspectRatioClick(): Not implemented yet" ); -} - -void prefMPEG4::cbMp4CodecActivated(int) -{ - tqWarning( "prefMPEG4::cbMp4CodecActivated(int): Not implemented yet" ); -} - -void prefMPEG4::cbMp4AudioCodecActivated(int) -{ - tqWarning( "prefMPEG4::cbMp4AudioCodecActivated(int): Not implemented yet" ); -} - -void prefMPEG4::ck2passesClicked() -{ - tqWarning( "prefMPEG4::ck2passesClicked(): Not implemented yet" ); -} - -void prefMPEG4::sbMp4SizeValueChanged(int) -{ - tqWarning( "prefMPEG4::sbMp4SizeValueChanged(int): Not implemented yet" ); -} - -void prefMPEG4::sbMp4NumberCDValueChanged(int) -{ - tqWarning( "prefMPEG4::sbMp4NumberCDValueChanged(int): Not implemented yet" ); -} - -void prefMPEG4::leMp4WidthTextChanged(const TQString&) -{ - tqWarning( "prefMPEG4::leMp4WidthTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMPEG4::leMp4HeightTextChanged(const TQString&) -{ - tqWarning( "prefMPEG4::leMp4HeightTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMPEG4::leMp4AudioBitrateTextChanged(const TQString&) -{ - tqWarning( "prefMPEG4::leMp4AudioBitrateTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMPEG4::rgVideoSizeChanged() -{ - tqWarning( "prefMPEG4::rgVideoSizeChanged(): Not implemented yet" ); -} - -void prefMPEG4::leMp4VideoBitrateTextChanged(const TQString&) -{ - tqWarning( "prefMPEG4::leMp4VideoBitrateTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMPEG4::sbAudioGainValueChanged(int) -{ - tqWarning( "prefMPEG4::sbAudioGainValueChanged(int): Not implemented yet" ); -} - -void prefMPEG4::ckUseCacheClick() -{ - tqWarning( "prefMPEG4::ckUseCacheClick(): Not implemented yet" ); -} - -#include "prefMPEG4.moc" diff --git a/src/prefMencoder.cpp b/src/prefMencoder.cpp deleted file mode 100644 index dacfb85..0000000 --- a/src/prefMencoder.cpp +++ /dev/null @@ -1,426 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './prefMencoder.ui' -** -** Created: dim. oct. 26 08:57:36 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "prefMencoder.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tqtabwidget.h> -#include <tqlistbox.h> -#include <kpushbutton.h> -#include <tqtextedit.h> -#include <tqlineedit.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kpushbutton.h" - -/* - * Constructs a prefMencoder as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -prefMencoder::prefMencoder( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "prefMencoder" ); - prefMencoderLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefMencoderLayout"); - - layout2 = new TQGridLayout( 0, 1, 1, 0, 6, "layout2"); - - textLabel2 = new TQLabel( this, "textLabel2" ); - textLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); - TQFont textLabel2_font( textLabel2->font() ); - textLabel2_font.setBold( TRUE ); - textLabel2->setFont( textLabel2_font ); - - layout2->addWidget( textLabel2, 0, 0 ); - - textLabel2_2 = new TQLabel( this, "textLabel2_2" ); - textLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) ); - - layout2->addWidget( textLabel2_2, 0, 1 ); - - prefMencoderLayout->addLayout( layout2, 2, 0 ); - - tabWidget2 = new TQTabWidget( this, "tabWidget2" ); - - tab = new TQWidget( tabWidget2, "tab" ); - tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); - - lbvCodecs = new TQListBox( tab, "lbvCodecs" ); - - tabLayout->addMultiCellWidget( lbvCodecs, 0, 4, 0, 1 ); - - btnDeleteV = new KPushButton( tab, "btnDeleteV" ); - btnDeleteV->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteV->sizePolicy().hasHeightForWidth() ) ); - btnDeleteV->setProperty( "stdItem", 28 ); - - tabLayout->addWidget( btnDeleteV, 5, 1 ); - - btnAddV = new KPushButton( tab, "btnAddV" ); - btnAddV->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddV->sizePolicy().hasHeightForWidth() ) ); - btnAddV->setProperty( "stdItem", 27 ); - - tabLayout->addWidget( btnAddV, 5, 0 ); - - textLabel1_3 = new TQLabel( tab, "textLabel1_3" ); - - tabLayout->addWidget( textLabel1_3, 0, 2 ); - - textLabel2_3 = new TQLabel( tab, "textLabel2_3" ); - - tabLayout->addWidget( textLabel2_3, 1, 2 ); - - textLabel1_2_3 = new TQLabel( tab, "textLabel1_2_3" ); - - tabLayout->addWidget( textLabel1_2_3, 3, 2 ); - - layout9 = new TQGridLayout( 0, 1, 1, 0, 6, "layout9"); - - teOpt2 = new TQTextEdit( tab, "teOpt2" ); - teOpt2->setEnabled( TRUE ); - - layout9->addMultiCellWidget( teOpt2, 0, 1, 0, 0 ); - spacer5 = new TQSpacerItem( 20, 81, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - layout9->addItem( spacer5, 1, 1 ); - - btnOpt2 = new KPushButton( tab, "btnOpt2" ); - btnOpt2->setMinimumSize( TQSize( 22, 22 ) ); - btnOpt2->setMaximumSize( TQSize( 22, 22 ) ); - - layout9->addWidget( btnOpt2, 0, 1 ); - - tabLayout->addLayout( layout9, 3, 3 ); - - layout10 = new TQGridLayout( 0, 1, 1, 0, 6, "layout10"); - - teOpt3 = new TQTextEdit( tab, "teOpt3" ); - teOpt3->setEnabled( TRUE ); - - layout10->addMultiCellWidget( teOpt3, 0, 1, 0, 0 ); - - btnOpt3 = new KPushButton( tab, "btnOpt3" ); - btnOpt3->setMinimumSize( TQSize( 22, 22 ) ); - btnOpt3->setMaximumSize( TQSize( 22, 22 ) ); - - layout10->addWidget( btnOpt3, 0, 1 ); - spacer6 = new TQSpacerItem( 20, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - layout10->addItem( spacer6, 1, 1 ); - - tabLayout->addMultiCellLayout( layout10, 4, 5, 3, 3 ); - - textLabel1_2 = new TQLabel( tab, "textLabel1_2" ); - - tabLayout->addWidget( textLabel1_2, 2, 2 ); - - layout8 = new TQGridLayout( 0, 1, 1, 0, 6, "layout8"); - spacer4 = new TQSpacerItem( 20, 90, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - layout8->addItem( spacer4, 1, 1 ); - - teOpt1 = new TQTextEdit( tab, "teOpt1" ); - teOpt1->setEnabled( TRUE ); - teOpt1->setWordWrap( TQTextEdit::WidgetWidth ); - - layout8->addMultiCellWidget( teOpt1, 0, 1, 0, 0 ); - - btnOpt1 = new KPushButton( tab, "btnOpt1" ); - btnOpt1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOpt1->sizePolicy().hasHeightForWidth() ) ); - btnOpt1->setMinimumSize( TQSize( 22, 22 ) ); - btnOpt1->setMaximumSize( TQSize( 22, 22 ) ); - - layout8->addWidget( btnOpt1, 0, 1 ); - - tabLayout->addLayout( layout8, 2, 3 ); - - textLabel1_2_3_2 = new TQLabel( tab, "textLabel1_2_3_2" ); - - tabLayout->addMultiCellWidget( textLabel1_2_3_2, 4, 5, 2, 2 ); - - leFourcc = new TQLineEdit( tab, "leFourcc" ); - - tabLayout->addWidget( leFourcc, 1, 3 ); - - leVLabel = new TQLineEdit( tab, "leVLabel" ); - leVLabel->setEnabled( TRUE ); - - tabLayout->addWidget( leVLabel, 0, 3 ); - tabWidget2->insertTab( tab, TQString::fromLatin1("") ); - - tab_2 = new TQWidget( tabWidget2, "tab_2" ); - tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); - - btnDeleteA = new KPushButton( tab_2, "btnDeleteA" ); - btnDeleteA->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnDeleteA->sizePolicy().hasHeightForWidth() ) ); - btnDeleteA->setProperty( "stdItem", 28 ); - - tabLayout_2->addWidget( btnDeleteA, 2, 1 ); - - btnAddA = new KPushButton( tab_2, "btnAddA" ); - btnAddA->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnAddA->sizePolicy().hasHeightForWidth() ) ); - btnAddA->setProperty( "stdItem", 27 ); - - tabLayout_2->addWidget( btnAddA, 2, 0 ); - - lbaCodecs = new TQListBox( tab_2, "lbaCodecs" ); - - tabLayout_2->addMultiCellWidget( lbaCodecs, 0, 1, 0, 1 ); - - leALabel = new TQLineEdit( tab_2, "leALabel" ); - - tabLayout_2->addWidget( leALabel, 0, 3 ); - - textLabel3 = new TQLabel( tab_2, "textLabel3" ); - - tabLayout_2->addWidget( textLabel3, 0, 2 ); - - layout11 = new TQGridLayout( 0, 1, 1, 0, 6, "layout11"); - - teOptA = new TQTextEdit( tab_2, "teOptA" ); - - layout11->addMultiCellWidget( teOptA, 0, 1, 0, 0 ); - spacer4_2 = new TQSpacerItem( 20, 78, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - layout11->addItem( spacer4_2, 1, 1 ); - - btnOptA = new KPushButton( tab_2, "btnOptA" ); - btnOptA->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, btnOptA->sizePolicy().hasHeightForWidth() ) ); - btnOptA->setMinimumSize( TQSize( 22, 22 ) ); - btnOptA->setMaximumSize( TQSize( 22, 22 ) ); - - layout11->addWidget( btnOptA, 0, 1 ); - - tabLayout_2->addMultiCellLayout( layout11, 1, 2, 3, 3 ); - - textLabel1_2_2_2 = new TQLabel( tab_2, "textLabel1_2_2_2" ); - textLabel1_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1_2_2_2->sizePolicy().hasHeightForWidth() ) ); - - tabLayout_2->addMultiCellWidget( textLabel1_2_2_2, 1, 2, 2, 2 ); - tabWidget2->insertTab( tab_2, TQString::fromLatin1("") ); - - prefMencoderLayout->addMultiCellWidget( tabWidget2, 0, 0, 0, 2 ); - - textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - TQFont textLabel1_font( textLabel1->font() ); - textLabel1_font.setBold( TRUE ); - textLabel1->setFont( textLabel1_font ); - - prefMencoderLayout->addWidget( textLabel1, 1, 0 ); - - bReset = new KPushButton( this, "bReset" ); - bReset->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bReset->sizePolicy().hasHeightForWidth() ) ); - bReset->setProperty( "stdItem", 21 ); - - prefMencoderLayout->addMultiCellWidget( bReset, 1, 2, 2, 2 ); - spacer5_2 = new TQSpacerItem( 121, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - prefMencoderLayout->addItem( spacer5_2, 1, 1 ); - languageChange(); - resize( TQSize(672, 587).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( lbvCodecs, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbvCodecsCurrentChanged(TQListBoxItem*) ) ); - connect( teOpt1, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt1TextChanged() ) ); - connect( teOpt2, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt2TextChanged() ) ); - connect( leVLabel, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leVLabelTextChanged(const TQString&) ) ); - connect( teOpt3, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOpt3TextChanged() ) ); - connect( lbaCodecs, TQT_SIGNAL( currentChanged(TQListBoxItem*) ), this, TQT_SLOT( lbaCodecsCurrentChanged(TQListBoxItem*) ) ); - connect( teOptA, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( teOptATextChanged() ) ); - connect( leALabel, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leALabelTextChanged(const TQString&) ) ); - connect( btnOpt1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt1Clicked() ) ); - connect( btnOpt2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt2Clicked() ) ); - connect( btnOpt3, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOpt3Clicked() ) ); - connect( btnOptA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnOptAClicked() ) ); - connect( btnAddA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnAddAClicked() ) ); - connect( btnAddV, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnAddVClicked() ) ); - connect( btnDeleteA, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnDeleteAClicked() ) ); - connect( btnDeleteV, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnDeleteVClicked() ) ); - connect( leFourcc, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leFourccTextChanged(const TQString&) ) ); - connect( bReset, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bResetClicked() ) ); - - // tab order - setTabOrder( lbvCodecs, leVLabel ); - setTabOrder( leVLabel, leFourcc ); - setTabOrder( leFourcc, teOpt1 ); - setTabOrder( teOpt1, btnOpt1 ); - setTabOrder( btnOpt1, teOpt2 ); - setTabOrder( teOpt2, btnOpt2 ); - setTabOrder( btnOpt2, teOpt3 ); - setTabOrder( teOpt3, btnOpt3 ); - setTabOrder( btnOpt3, btnAddV ); - setTabOrder( btnAddV, btnDeleteV ); - setTabOrder( btnDeleteV, lbaCodecs ); - setTabOrder( lbaCodecs, leALabel ); - setTabOrder( leALabel, teOptA ); - setTabOrder( teOptA, btnOptA ); - setTabOrder( btnOptA, btnAddA ); - setTabOrder( btnAddA, btnDeleteA ); - setTabOrder( btnDeleteA, tabWidget2 ); - - // buddies - textLabel1_3->setBuddy( leVLabel ); - textLabel3->setBuddy( leALabel ); -} - -/* - * Destroys the object and frees any allocated resources - */ -prefMencoder::~prefMencoder() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void prefMencoder::languageChange() -{ - setCaption( tr2i18n( "Form1" ) ); - textLabel2->setText( tr2i18n( "$PASS\n" -"$WIDTH\n" -"$HEIGHT\n" -"$VIDBR\n" -"$AUDBR" ) ); - textLabel2_2->setText( tr2i18n( "pass number\n" -"video width\n" -"video height\n" -"video bitrate\n" -"audio bitrate" ) ); - lbvCodecs->clear(); - lbvCodecs->insertItem( tr2i18n( "XviD" ) ); - lbvCodecs->insertItem( tr2i18n( "x264" ) ); - lbvCodecs->insertItem( tr2i18n( "MJPEG" ) ); - lbvCodecs->insertItem( tr2i18n( "LJPEG" ) ); - lbvCodecs->insertItem( tr2i18n( "H.261" ) ); - lbvCodecs->insertItem( tr2i18n( "H.263" ) ); - lbvCodecs->insertItem( tr2i18n( "MPEG-4 (DivX 4/5)" ) ); - lbvCodecs->insertItem( tr2i18n( "DivX 3" ) ); - lbvCodecs->insertItem( tr2i18n( "MS MPEG-4 v2" ) ); - lbvCodecs->insertItem( tr2i18n( "WMV7" ) ); - lbvCodecs->insertItem( tr2i18n( "WMV8" ) ); - lbvCodecs->insertItem( tr2i18n( "RealVideo" ) ); - lbvCodecs->insertItem( tr2i18n( "MPEG-1" ) ); - lbvCodecs->insertItem( tr2i18n( "MPEG-2" ) ); - lbvCodecs->insertItem( tr2i18n( "HuffYUV" ) ); - lbvCodecs->insertItem( tr2i18n( "ffvHuff" ) ); - lbvCodecs->insertItem( tr2i18n( "ASUS v1" ) ); - lbvCodecs->insertItem( tr2i18n( "ASUS v2" ) ); - btnDeleteV->setAccel( TQKeySequence( TQString() ) ); - textLabel1_3->setText( tr2i18n( "label" ) ); - textLabel2_3->setText( tr2i18n( "fourcc" ) ); - textLabel1_2_3->setText( tr2i18n( "first pass" ) ); - btnOpt2->setText( TQString() ); - btnOpt3->setText( TQString() ); - textLabel1_2->setText( tr2i18n( "one pass" ) ); - teOpt1->setText( TQString() ); - btnOpt1->setText( TQString() ); - textLabel1_2_3_2->setText( tr2i18n( "second pass" ) ); - tabWidget2->changeTab( tab, tr2i18n( "Video codecs" ) ); - lbaCodecs->clear(); - lbaCodecs->insertItem( tr2i18n( "New Item" ) ); - textLabel3->setText( tr2i18n( "label" ) ); - btnOptA->setText( TQString() ); - textLabel1_2_2_2->setText( tr2i18n( "options" ) ); - tabWidget2->changeTab( tab_2, tr2i18n( "Audio codecs" ) ); - textLabel1->setText( tr2i18n( "Available variables" ) ); -} - -void prefMencoder::lbvCodecsCurrentChanged(TQListBoxItem*) -{ - tqWarning( "prefMencoder::lbvCodecsCurrentChanged(TQListBoxItem*): Not implemented yet" ); -} - -void prefMencoder::teOpt1TextChanged() -{ - tqWarning( "prefMencoder::teOpt1TextChanged(): Not implemented yet" ); -} - -void prefMencoder::teOpt2TextChanged() -{ - tqWarning( "prefMencoder::teOpt2TextChanged(): Not implemented yet" ); -} - -void prefMencoder::leVLabelTextChanged(const TQString&) -{ - tqWarning( "prefMencoder::leVLabelTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMencoder::teOpt3TextChanged() -{ - tqWarning( "prefMencoder::teOpt3TextChanged(): Not implemented yet" ); -} - -void prefMencoder::lbaCodecsCurrentChanged(TQListBoxItem*) -{ - tqWarning( "prefMencoder::lbaCodecsCurrentChanged(TQListBoxItem*): Not implemented yet" ); -} - -void prefMencoder::teOptATextChanged() -{ - tqWarning( "prefMencoder::teOptATextChanged(): Not implemented yet" ); -} - -void prefMencoder::leALabelTextChanged(const TQString&) -{ - tqWarning( "prefMencoder::leALabelTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMencoder::btnOpt1Clicked() -{ - tqWarning( "prefMencoder::btnOpt1Clicked(): Not implemented yet" ); -} - -void prefMencoder::btnOpt2Clicked() -{ - tqWarning( "prefMencoder::btnOpt2Clicked(): Not implemented yet" ); -} - -void prefMencoder::btnOpt3Clicked() -{ - tqWarning( "prefMencoder::btnOpt3Clicked(): Not implemented yet" ); -} - -void prefMencoder::btnOptAClicked() -{ - tqWarning( "prefMencoder::btnOptAClicked(): Not implemented yet" ); -} - -void prefMencoder::btnAddVClicked() -{ - tqWarning( "prefMencoder::btnAddVClicked(): Not implemented yet" ); -} - -void prefMencoder::btnDeleteVClicked() -{ - tqWarning( "prefMencoder::btnDeleteVClicked(): Not implemented yet" ); -} - -void prefMencoder::btnAddAClicked() -{ - tqWarning( "prefMencoder::btnAddAClicked(): Not implemented yet" ); -} - -void prefMencoder::btnDeleteAClicked() -{ - tqWarning( "prefMencoder::btnDeleteAClicked(): Not implemented yet" ); -} - -void prefMencoder::leFourccTextChanged(const TQString&) -{ - tqWarning( "prefMencoder::leFourccTextChanged(const TQString&): Not implemented yet" ); -} - -void prefMencoder::bResetClicked() -{ - tqWarning( "prefMencoder::bResetClicked(): Not implemented yet" ); -} - -#include "prefMencoder.moc" diff --git a/src/prefpreview.cpp b/src/prefpreview.cpp deleted file mode 100644 index 3cdc86d..0000000 --- a/src/prefpreview.cpp +++ /dev/null @@ -1,171 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './prefpreview.ui' -** -** Created: dim. oct. 26 08:57:36 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "prefpreview.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqbuttongroup.h> -#include <tqradiobutton.h> -#include <tqwidgetstack.h> -#include <tqlabel.h> -#include <tqcheckbox.h> -#include <tqcombobox.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> - -/* - * Constructs a prefPreview as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -prefPreview::prefPreview( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "prefPreview" ); - prefPreviewLayout = new TQGridLayout( this, 1, 1, 11, 6, "prefPreviewLayout"); - - buttonGroup1 = new TQButtonGroup( this, "buttonGroup1" ); - buttonGroup1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); - buttonGroup1->setFrameShape( TQButtonGroup::NoFrame ); - buttonGroup1->setColumnLayout(0, Qt::Vertical ); - buttonGroup1->layout()->setSpacing( 6 ); - buttonGroup1->layout()->setMargin( 11 ); - buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() ); - buttonGroup1Layout->setAlignment( TQt::AlignTop ); - - rbInternal = new TQRadioButton( buttonGroup1, "rbInternal" ); - - buttonGroup1Layout->addWidget( rbInternal, 0, 0 ); - - rbMplayer = new TQRadioButton( buttonGroup1, "rbMplayer" ); - - buttonGroup1Layout->addWidget( rbMplayer, 1, 0 ); - - prefPreviewLayout->addWidget( buttonGroup1, 0, 0 ); - spacer5 = new TQSpacerItem( 21, 210, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - prefPreviewLayout->addItem( spacer5, 2, 0 ); - - wsOptions = new TQWidgetStack( this, "wsOptions" ); - wsOptions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, wsOptions->sizePolicy().hasHeightForWidth() ) ); - wsOptions->setFrameShape( TQWidgetStack::NoFrame ); - wsOptions->setFrameShadow( TQWidgetStack::Sunken ); - wsOptions->setLineWidth( 1 ); - wsOptions->setMidLineWidth( 0 ); - - wspInternal = new TQWidget( wsOptions, "wspInternal" ); - wspInternalLayout = new TQGridLayout( wspInternal, 1, 1, 11, 6, "wspInternalLayout"); - - textLabel1 = new TQLabel( wspInternal, "textLabel1" ); - TQFont textLabel1_font( textLabel1->font() ); - textLabel1_font.setBold( TRUE ); - textLabel1->setFont( textLabel1_font ); - - wspInternalLayout->addWidget( textLabel1, 0, 0 ); - - ckUseGL = new TQCheckBox( wspInternal, "ckUseGL" ); - - wspInternalLayout->addWidget( ckUseGL, 1, 0 ); - spacer1 = new TQSpacerItem( 21, 30, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - wspInternalLayout->addItem( spacer1, 2, 0 ); - wsOptions->addWidget( wspInternal, 0 ); - - wspMplayer = new TQWidget( wsOptions, "wspMplayer" ); - wspMplayerLayout = new TQGridLayout( wspMplayer, 1, 1, 11, 6, "wspMplayerLayout"); - - textLabel3 = new TQLabel( wspMplayer, "textLabel3" ); - - wspMplayerLayout->addWidget( textLabel3, 1, 0 ); - - textLabel4 = new TQLabel( wspMplayer, "textLabel4" ); - textLabel4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, textLabel4->sizePolicy().hasHeightForWidth() ) ); - - wspMplayerLayout->addWidget( textLabel4, 2, 0 ); - - cbVout = new TQComboBox( FALSE, wspMplayer, "cbVout" ); - - wspMplayerLayout->addWidget( cbVout, 1, 1 ); - - cbAout = new TQComboBox( FALSE, wspMplayer, "cbAout" ); - cbAout->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, cbAout->sizePolicy().hasHeightForWidth() ) ); - - wspMplayerLayout->addWidget( cbAout, 2, 1 ); - spacer3 = new TQSpacerItem( 81, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - wspMplayerLayout->addItem( spacer3, 1, 2 ); - spacer6 = new TQSpacerItem( 20, 21, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - wspMplayerLayout->addItem( spacer6, 3, 1 ); - - textLabel2 = new TQLabel( wspMplayer, "textLabel2" ); - TQFont textLabel2_font( textLabel2->font() ); - textLabel2_font.setBold( TRUE ); - textLabel2->setFont( textLabel2_font ); - - wspMplayerLayout->addMultiCellWidget( textLabel2, 0, 0, 0, 2 ); - wsOptions->addWidget( wspMplayer, 1 ); - - prefPreviewLayout->addWidget( wsOptions, 1, 0 ); - spacer4 = new TQSpacerItem( 230, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - prefPreviewLayout->addItem( spacer4, 0, 1 ); - languageChange(); - resize( TQSize(536, 470).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( rbInternal, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rbInternalClick() ) ); - connect( rbMplayer, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rbMplayerClick() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -prefPreview::~prefPreview() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void prefPreview::languageChange() -{ - setCaption( tr2i18n( "Form1" ) ); - buttonGroup1->setTitle( TQString() ); - rbInternal->setText( tr2i18n( "&Internal Player" ) ); - rbInternal->setAccel( TQKeySequence( tr2i18n( "Alt+I" ) ) ); - rbMplayer->setText( tr2i18n( "MPlayer" ) ); - rbMplayer->setAccel( TQKeySequence( tr2i18n( "Alt+M" ) ) ); - textLabel1->setText( tr2i18n( "Internal viewer options" ) ); - ckUseGL->setText( tr2i18n( "use OpenGL" ) ); - textLabel3->setText( tr2i18n( "Video output" ) ); - textLabel4->setText( tr2i18n( "Audio output" ) ); - cbVout->clear(); - cbVout->insertItem( tr2i18n( "X11" ) ); - cbVout->insertItem( tr2i18n( "Xv" ) ); - cbVout->insertItem( tr2i18n( "OpenGL" ) ); - cbVout->insertItem( tr2i18n( "SDL" ) ); - cbAout->clear(); - cbAout->insertItem( tr2i18n( "ALSA" ) ); - cbAout->insertItem( tr2i18n( "OSS" ) ); - cbAout->insertItem( tr2i18n( "SDL" ) ); - textLabel2->setText( tr2i18n( "MPlayer options" ) ); -} - -void prefPreview::rbInternalClick() -{ - tqWarning( "prefPreview::rbInternalClick(): Not implemented yet" ); -} - -void prefPreview::rbMplayerClick() -{ - tqWarning( "prefPreview::rbMplayerClick(): Not implemented yet" ); -} - -#include "prefpreview.moc" diff --git a/src/titlefactor.cpp b/src/titlefactor.cpp deleted file mode 100644 index 3e2d5ea..0000000 --- a/src/titlefactor.cpp +++ /dev/null @@ -1,346 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './titlefactor.ui' -** -** Created: dim. oct. 26 08:57:36 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "titlefactor.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tqgroupbox.h> -#include <tqslider.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -static const unsigned char img0_titlefactor[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x32, 0x00, 0x00, 0x00, 0x32, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x1e, 0x3f, 0x88, 0xb1, 0x00, 0x00, 0x09, - 0xf8, 0x49, 0x44, 0x41, 0x54, 0x68, 0x81, 0xed, 0x99, 0x6b, 0x6c, 0x5b, - 0xe5, 0x19, 0xc7, 0x7f, 0xc7, 0x3e, 0x3e, 0xc7, 0xd7, 0xc4, 0xa9, 0xe3, - 0xa4, 0x71, 0x12, 0xc7, 0xad, 0xd3, 0x92, 0x26, 0xbd, 0x37, 0x30, 0xae, - 0x03, 0x0a, 0x12, 0x9b, 0x36, 0x6d, 0xd0, 0xc2, 0x2e, 0x6c, 0xc0, 0x24, - 0x18, 0x7c, 0x18, 0x1a, 0xac, 0x50, 0x86, 0x00, 0xa1, 0x6e, 0xdc, 0x2a, - 0xca, 0x2a, 0x90, 0x46, 0x05, 0x6c, 0x42, 0x65, 0x83, 0x69, 0x08, 0x0a, - 0x13, 0x13, 0x12, 0x63, 0xac, 0x2d, 0x2d, 0x74, 0xd0, 0x06, 0xda, 0xd0, - 0x06, 0x92, 0x94, 0x84, 0x38, 0x4d, 0x9c, 0x38, 0x89, 0x13, 0xc7, 0xf7, - 0xcb, 0xf1, 0x79, 0xf7, 0xa1, 0x69, 0xa0, 0x6b, 0x1d, 0x9b, 0x11, 0xb1, - 0x72, 0xf9, 0x7f, 0x3b, 0x3e, 0xc7, 0xcf, 0xfb, 0xfc, 0xde, 0xf7, 0x3c, - 0x97, 0xf7, 0x3d, 0xd2, 0x8d, 0x6f, 0xf5, 0xf2, 0x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 0xb3, 0x39, 0xcc, - 0xaa, 0xcc, 0xab, 0xbb, 0x3b, 0x91, 0x65, 0x03, 0x17, 0x9d, 0xdb, 0xc4, - 0xb3, 0x27, 0x9a, 0x2b, 0x0d, 0x04, 0xa0, 0x75, 0x69, 0x03, 0x8f, 0x3f, - 0xbd, 0x9b, 0x5c, 0x36, 0xc7, 0xbd, 0xbd, 0x89, 0xa9, 0x19, 0x91, 0xc0, - 0x3d, 0x87, 0xfb, 0x2f, 0x68, 0x11, 0x9a, 0x96, 0x47, 0xd3, 0x74, 0x92, - 0x8a, 0x4c, 0x36, 0x2f, 0x30, 0x25, 0x52, 0x68, 0x9a, 0x4e, 0x3a, 0x93, - 0x23, 0xaf, 0x0b, 0x3e, 0x39, 0x85, 0x02, 0x50, 0x4c, 0x46, 0xac, 0x16, - 0x85, 0xac, 0xd5, 0x8c, 0x41, 0x02, 0x35, 0x95, 0xc1, 0x66, 0x51, 0x30, - 0x48, 0x12, 0x56, 0x87, 0x85, 0x75, 0xfb, 0xfa, 0x24, 0x7a, 0x46, 0x01, - 0xb8, 0xbf, 0xa5, 0x46, 0x1c, 0xec, 0x1c, 0xc4, 0x6a, 0x51, 0x68, 0x5d, - 0xea, 0xe5, 0xd9, 0x03, 0x03, 0xff, 0x3b, 0xc8, 0xca, 0xc5, 0x5e, 0x0c, - 0x46, 0x89, 0xde, 0x8f, 0x46, 0x60, 0x8e, 0x93, 0xf1, 0x5c, 0x5e, 0xf4, - 0x25, 0xb2, 0x3c, 0x7d, 0x8e, 0x9f, 0x3b, 0x3a, 0x82, 0xd3, 0x7e, 0x6e, - 0x5c, 0xd5, 0x20, 0x14, 0x83, 0xc4, 0xba, 0xee, 0x50, 0x09, 0x31, 0x93, - 0xe2, 0x77, 0xa7, 0x57, 0x88, 0x9c, 0x2e, 0xb8, 0xbd, 0xeb, 0xe3, 0xe7, - 0xd7, 0x2f, 0xf6, 0x88, 0x77, 0x23, 0x29, 0xe1, 0xb3, 0x29, 0xcc, 0x31,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x7b, 0xdb, 0xfb, 0xd0, 0xf3, 0x82, 0x96, 0xa6, 0x5a, 0x5e, 0x09, 0x46, - 0x79, 0x78, 0xca, 0xe1, 0x8d, 0x8b, 0x3d, 0x22, 0xa7, 0xe5, 0x49, 0x65, - 0x72, 0x64, 0xb2, 0x1a, 0x06, 0x01, 0xc9, 0x54, 0x96, 0x6c, 0x5e, 0x47, - 0xc0, 0x8c, 0x45, 0x4c, 0x00, 0x26, 0x83, 0x84, 0xc5, 0xa2, 0x20, 0x49, - 0x12, 0xb2, 0x6c, 0x38, 0x7a, 0x28, 0xae, 0x98, 0xb8, 0xf3, 0x13, 0x13, - 0x54, 0x66, 0x37, 0xe3, 0xf7, 0xb9, 0xd9, 0xf5, 0xf6, 0x61, 0x76, 0xac, - 0xa8, 0x17, 0xb7, 0xee, 0x3f, 0xf9, 0xf6, 0xb9, 0x24, 0x90, 0x37, 0xf6, - 0x7e, 0x48, 0x6d, 0x8d, 0x93, 0x44, 0x2a, 0xcb, 0xaf, 0xbd, 0x4e, 0x91, - 0x88, 0xa7, 0xf9, 0xf0, 0x48, 0x98, 0x47, 0xff, 0xbc, 0x8b, 0xf1, 0x48, - 0x82, 0x23, 0xc1, 0x09, 0xa2, 0xb1, 0x34, 0xb2, 0x6c, 0xa0, 0x3f, 0x38, - 0x41, 0x26, 0x93, 0x2b, 0x66, 0x12, 0x38, 0x16, 0xcc, 0xe5, 0x48, 0x92, - 0x84, 0xaa, 0xca, 0xd4, 0x54, 0x95, 0x53, 0x59, 0x61, 0x67, 0x75, 0x73, - 0xad, 0xa8, 0xae, 0x74, 0x50, 0x55, 0x59, 0x46, 0x34, 0x9e, 0x66, 0x49, - 0x53, 0x2d, 0xaf, 0xec, 0xec, 0xe0, 0xed, 0xfd, 0x1f, 0xcd, 0xe8, 0xee, - 0x8c, 0x20, 0xbf, 0xac, 0xb6, 0x89, 0xab, 0x87, 0x23, 0x34, 0xf9, 0xab, - 0x79, 0xf2, 0xd9, 0x3d, 0x74, 0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x35, 0xf9, 0x9c, 0xf8, 0xeb, - 0x4b, 0x6d, 0x74, 0xf6, 0x84, 0xf8, 0xc1, 0x77, 0x57, 0xd2, 0xd9, 0xe4, - 0xfd, 0x74, 0x20, 0x00, 0xd7, 0x97, 0x2b, 0x62, 0xe1, 0xfc, 0x6a, 0x66, - 0x0a, 0xb2, 0xcf, 0x4b, 0xd7, 0x95, 0x29, 0xe2, 0x8f, 0xd1, 0x6c, 0x41, - 0x3f, 0x66, 0x04, 0xf9, 0x22, 0xe9, 0xab, 0xb5, 0xd5, 0xfd, 0x22, 0xe8, - 0x6b, 0x90, 0x53, 0x4d, 0x5f, 0x1a, 0x90, 0xff, 0x00, 0x4b, 0xa4, 0x33, - 0x5c, 0x02, 0x9a, 0xcf, 0x26, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, - 0x44, 0xae, 0x42, 0x60, 0x82 -}; - - -/* - * Constructs a titleFactor as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -titleFactor::titleFactor( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - TQImage img; - img.loadFromData( img0_titlefactor, sizeof( img0_titlefactor ), "PNG" ); - image0 = img; - if ( !name ) - setName( "titleFactor" ); - setIcon( image0 ); - titleFactorLayout = new TQGridLayout( this, 1, 1, 5, 6, "titleFactorLayout"); - - lbTitle = new TQLabel( this, "lbTitle" ); - TQFont lbTitle_font( lbTitle->font() ); - lbTitle_font.setBold( TRUE ); - lbTitle->setFont( lbTitle_font ); - - titleFactorLayout->addWidget( lbTitle, 0, 0 ); - - gbTitle = new TQGroupBox( this, "gbTitle" ); - gbTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gbTitle->sizePolicy().hasHeightForWidth() ) ); - gbTitle->setAlignment( int( TQGroupBox::AlignVCenter ) ); - gbTitle->setFlat( FALSE ); - gbTitle->setCheckable( TRUE ); - gbTitle->setChecked( FALSE ); - gbTitle->setColumnLayout(0, Qt::Vertical ); - gbTitle->layout()->setSpacing( 1 ); - gbTitle->layout()->setMargin( 6 ); - gbTitleLayout = new TQGridLayout( gbTitle->layout() ); - gbTitleLayout->setAlignment( TQt::AlignTop ); - - tFactor = new TQLabel( gbTitle, "tFactor" ); - - gbTitleLayout->addWidget( tFactor, 1, 1 ); - - slFactor = new TQSlider( gbTitle, "slFactor" ); - slFactor->setMinValue( 100 ); - slFactor->setMaxValue( 250 ); - slFactor->setOrientation( Qt::Horizontal ); - slFactor->setTickmarks( TQSlider::Below ); - slFactor->setTickInterval( 10 ); - - gbTitleLayout->addWidget( slFactor, 1, 0 ); - - titleFactorLayout->addWidget( gbTitle, 1, 0 ); - spacer1 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - titleFactorLayout->addItem( spacer1, 2, 0 ); - languageChange(); - resize( TQSize(551, 115).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( slFactor, TQT_SIGNAL( sliderPressed() ), this, TQT_SLOT( slFactorPressed() ) ); - connect( slFactor, TQT_SIGNAL( sliderReleased() ), this, TQT_SLOT( slFactorReleased() ) ); - connect( slFactor, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slFactor_valueChanged(int) ) ); - connect( gbTitle, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( ckAutoClicked(bool) ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -titleFactor::~titleFactor() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void titleFactor::languageChange() -{ - setCaption( tr2i18n( "Shrink Factors" ) ); - lbTitle->setText( tr2i18n( "Shrink Factor for Title %1" ) ); - gbTitle->setTitle( tr2i18n( "Change Factor" ) ); - tFactor->setText( tr2i18n( "0.00" ) ); -} - -void titleFactor::slFactor_valueChanged(int) -{ - tqWarning( "titleFactor::slFactor_valueChanged(int): Not implemented yet" ); -} - -void titleFactor::slFactorPressed() -{ - tqWarning( "titleFactor::slFactorPressed(): Not implemented yet" ); -} - -void titleFactor::slFactorReleased() -{ - tqWarning( "titleFactor::slFactorReleased(): Not implemented yet" ); -} - -void titleFactor::ckAutoClicked(bool) -{ - tqWarning( "titleFactor::ckAutoClicked(bool): Not implemented yet" ); -} - -#include "titlefactor.moc" diff --git a/src/viewmpeg2.cpp b/src/viewmpeg2.cpp deleted file mode 100644 index db9419f..0000000 --- a/src/viewmpeg2.cpp +++ /dev/null @@ -1,229 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './viewmpeg2.ui' -** -** Created: dim. oct. 26 08:57:36 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "viewmpeg2.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqframe.h> -#include <tqtoolbutton.h> -#include <tqslider.h> -#include <tqlabel.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include <tqimage.h> -#include <tqpixmap.h> - -static const unsigned char img0_viewmpeg2[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x1f, 0xf3, 0xff, 0x61, 0x00, 0x00, 0x02, - 0xe7, 0x49, 0x44, 0x41, 0x54, 0x38, 0x8d, 0x5d, 0x93, 0xb9, 0x6f, 0x5c, - 0x55, 0x14, 0xc6, 0x7f, 0xe7, 0xde, 0xfb, 0xb6, 0xd9, 0xbc, 0x66, 0xe2, - 0x19, 0xdb, 0x63, 0x27, 0x40, 0x6c, 0x30, 0x91, 0x85, 0xe4, 0x88, 0x86, - 0x06, 0xd2, 0x01, 0x2d, 0x2d, 0x12, 0x1d, 0x2d, 0xff, 0x4d, 0x94, 0x92, - 0x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a6, 0xfa, 0x3c, 0x9c, 0x1c, 0xf2, 0xcd, 0x6e, 0x9f, - 0xc3, 0xf4, 0x98, 0x93, 0x6c, 0xc4, 0x28, 0x4f, 0x88, 0x57, 0xc7, 0x4c, - 0x25, 0x03, 0xae, 0xf7, 0xdf, 0x63, 0xfa, 0xd2, 0x0c, 0x33, 0xcc, 0xa2, - 0xb4, 0x16, 0x93, 0x17, 0xe5, 0xe3, 0xad, 0x6e, 0xc7, 0x4f, 0x69, 0xd8, - 0xa4, 0x4c, 0xc9, 0xca, 0x92, 0x25, 0x63, 0xb9, 0xd6, 0x04, 0x69, 0x82, - 0x88, 0x42, 0xe4, 0xec, 0xa9, 0xae, 0xc0, 0xc3, 0xed, 0x3f, 0x08, 0xf6, - 0x02, 0xb3, 0x36, 0xf7, 0x56, 0x59, 0x94, 0xd5, 0x13, 0xf3, 0xd3, 0xfd, - 0x1f, 0x3e, 0xd1, 0xca, 0xac, 0x0c, 0x07, 0x83, 0x20, 0x0a, 0x47, 0x41, - 0x1c, 0x47, 0x7e, 0x9a, 0x26, 0x5e, 0x96, 0x65, 0x6e, 0x59, 0x96, 0x5a, - 0x44, 0xac, 0x31, 0xa6, 0xf0, 0x3c, 0x3f, 0xab, 0xd5, 0xea, 0xa9, 0x68, - 0x49, 0xef, 0xdd, 0xfd, 0x4e, 0x3c, 0x6f, 0xfe, 0xd8, 0x93, 0xa9, 0x03, - 0x01, 0x1a, 0x40, 0x0d, 0x68, 0x9e, 0xa1, 0x7e, 0xc6, 0x03, 0xc0, 0x39, - 0x3b, 0xfd, 0x0c, 0x48, 0x80, 0x18, 0x88, 0x80, 0xf0, 0x0c, 0xc9, 0xbf, - 0xa0, 0xee, 0x36, 0x30, 0xfa, 0x5e, 0x19, 0x66, 0x00, 0x00, 0x00, 0x00, - 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - -static const unsigned char img1_viewmpeg2[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x73, 0x7a, 0x7a, 0xf4, 0x00, 0x00, 0x00, - 0x47, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85, 0xed, 0xd7, 0xb1, 0x0d, 0x00, - 0x20, 0x0c, 0x03, 0x41, 0x82, 0x98, 0xca, 0xfb, 0xcb, 0x6b, 0x91, 0x0d, - 0xa0, 0xa0, 0x30, 0xc5, 0xa7, 0x75, 0x24, 0x9f, 0xd2, 0xa5, 0x6c, 0x8f, - 0xe4, 0xcc, 0x68, 0x3b, 0x00, 0x00, 0x00, 0x7e, 0x00, 0xac, 0xdb, 0x82, - 0xa4, 0xfd, 0x52, 0x60, 0xbb, 0x4e, 0x79, 0xfc, 0x02, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x80, 0xe2, 0x31, 0x01, 0x00, 0x20, 0x0d, 0x68, - 0xfa, 0xa1, 0x08, 0xe5, 0x16, 0xc9, 0x6b, 0xf3, 0x00, 0x00, 0x00, 0x00, - 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - -static const unsigned char img2_viewmpeg2[] = { - 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, - 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, - 0x08, 0x06, 0x00, 0x00, 0x00, 0x73, 0x7a, 0x7a, 0xf4, 0x00, 0x00, 0x00, - 0x79, 0x49, 0x44, 0x41, 0x54, 0x58, 0x85, 0xed, 0xd7, 0x41, 0x0a, 0xc0, - 0x20, 0x0c, 0x44, 0xd1, 0xa4, 0xf4, 0x54, 0x73, 0x7f, 0x72, 0x2d, 0xbb, - 0x12, 0xba, 0xd4, 0x64, 0x24, 0x94, 0x8e, 0x6b, 0xe1, 0xbf, 0x45, 0x22, - 0xe8, 0x11, 0x61, 0x9d, 0xe7, 0x6a, 0xad, 0x0b, 0x20, 0x80, 0x00, 0x9f, - 0x01, 0x00, 0x18, 0x00, 0x46, 0x1b, 0xe0, 0x0d, 0x69, 0x05, 0x4c, 0x04, - 0x13, 0x92, 0x9e, 0x01, 0x16, 0xa4, 0x3c, 0x84, 0x55, 0x08, 0x6d, 0x0b, - 0xb2, 0x10, 0xfa, 0x1a, 0xee, 0x42, 0x8e, 0xbd, 0x03, 0xab, 0x88, 0x63, - 0x80, 0x88, 0xf0, 0x95, 0x7b, 0x77, 0x57, 0x98, 0x0e, 0xd8, 0x0d, 0xd3, - 0x00, 0xd9, 0x70, 0x19, 0x50, 0x0d, 0xa7, 0x01, 0xac, 0xf0, 0x3c, 0x5b, - 0x5b, 0xc0, 0x8e, 0x9b, 0x99, 0xb9, 0xfe, 0x05, 0x02, 0x08, 0xf0, 0x7b, - 0xc0, 0x03, 0xaa, 0x86, 0x2c, 0xa8, 0x26, 0x27, 0x76, 0xfe, 0x00, 0x00, - 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82 -}; - - -/* - * Constructs a ViewMPEG2 as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -ViewMPEG2::ViewMPEG2( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - TQImage img; - img.loadFromData( img0_viewmpeg2, sizeof( img0_viewmpeg2 ), "PNG" ); - image0 = img; - img.loadFromData( img1_viewmpeg2, sizeof( img1_viewmpeg2 ), "PNG" ); - image1 = img; - img.loadFromData( img2_viewmpeg2, sizeof( img2_viewmpeg2 ), "PNG" ); - image2 = img; - if ( !name ) - setName( "ViewMPEG2" ); - setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, sizePolicy().hasHeightForWidth() ) ); - setSizeIncrement( TQSize( 0, 0 ) ); - setBaseSize( TQSize( 0, 0 ) ); - setIcon( image0 ); - ViewMPEG2Layout = new TQGridLayout( this, 1, 1, 2, 6, "ViewMPEG2Layout"); - - frame7 = new TQFrame( this, "frame7" ); - frame7->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, frame7->sizePolicy().hasHeightForWidth() ) ); - frame7->setMaximumSize( TQSize( 32767, 50 ) ); - frame7->setFrameShape( TQFrame::StyledPanel ); - frame7->setFrameShadow( TQFrame::Raised ); - frame7Layout = new TQGridLayout( frame7, 1, 1, 11, 6, "frame7Layout"); - - bStop = new TQToolButton( frame7, "bStop" ); - bStop->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bStop->sizePolicy().hasHeightForWidth() ) ); - bStop->setIconSet( TQIconSet( image1 ) ); - - frame7Layout->addWidget( bStop, 0, 0 ); - - bPlay = new TQToolButton( frame7, "bPlay" ); - bPlay->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)1, 0, 0, bPlay->sizePolicy().hasHeightForWidth() ) ); - bPlay->setIconSet( TQIconSet( image2 ) ); - - frame7Layout->addWidget( bPlay, 0, 1 ); - - slider = new TQSlider( frame7, "slider" ); - slider->setOrientation( Qt::Horizontal ); - - frame7Layout->addWidget( slider, 0, 2 ); - - ViewMPEG2Layout->addWidget( frame7, 1, 0 ); - - label = new TQLabel( this, "label" ); - label->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)2, (TQSizePolicy::SizeType)2, 0, 0, label->sizePolicy().hasHeightForWidth() ) ); - - ViewMPEG2Layout->addWidget( label, 0, 0 ); - languageChange(); - resize( TQSize(320, 320).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bStop, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bStopClick() ) ); - connect( bPlay, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bPlayClick() ) ); - connect( slider, TQT_SIGNAL( sliderReleased() ), this, TQT_SLOT( sliderReleased() ) ); - connect( slider, TQT_SIGNAL( sliderPressed() ), this, TQT_SLOT( sliderPressed() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -ViewMPEG2::~ViewMPEG2() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void ViewMPEG2::languageChange() -{ - setCaption( tr2i18n( "k9Copy - Title Preview" ) ); - bStop->setText( TQString() ); - bPlay->setText( TQString() ); -} - -void ViewMPEG2::sliderReleased() -{ - tqWarning( "ViewMPEG2::sliderReleased(): Not implemented yet" ); -} - -void ViewMPEG2::bStopClick() -{ - tqWarning( "ViewMPEG2::bStopClick(): Not implemented yet" ); -} - -void ViewMPEG2::bPlayClick() -{ - tqWarning( "ViewMPEG2::bPlayClick(): Not implemented yet" ); -} - -void ViewMPEG2::sliderPressed() -{ - tqWarning( "ViewMPEG2::sliderPressed(): Not implemented yet" ); -} - -#include "viewmpeg2.moc" |