diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-09-11 10:11:11 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-09-11 10:11:11 +0200 |
commit | 9915779aa58f4b700d5d4172d9501be7e0cdbf0b (patch) | |
tree | 56cfc0f535e91789cc57ff2da95422463e2699ac /k9author | |
parent | b2378fbccdddfa84d2f21dd2fc3e9cb432a4256e (diff) | |
download | k9copy-9915779aa58f4b700d5d4172d9501be7e0cdbf0b.tar.gz k9copy-9915779aa58f4b700d5d4172d9501be7e0cdbf0b.zip |
Remove generated files from source tree.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'k9author')
-rw-r--r-- | k9author/chapterEdit.cpp | 212 | ||||
-rw-r--r-- | k9author/import.cpp | 130 | ||||
-rw-r--r-- | k9author/menuEdit.cpp | 211 | ||||
-rw-r--r-- | k9author/newTitle.cpp | 158 |
4 files changed, 0 insertions, 711 deletions
diff --git a/k9author/chapterEdit.cpp b/k9author/chapterEdit.cpp deleted file mode 100644 index 716c601..0000000 --- a/k9author/chapterEdit.cpp +++ /dev/null @@ -1,212 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './chapterEdit.ui' -** -** Created: dim. oct. 26 08:56:28 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "chapterEdit.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <ktimewidget.h> -#include <tqlabel.h> -#include <kurlrequester.h> -#include <kpushbutton.h> -#include <tqcheckbox.h> -#include <tqslider.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "ktimewidget.h" -#include "kurlrequester.h" -#include "klineedit.h" -#include "kpushbutton.h" - -/* - * Constructs a chapterEdit as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -chapterEdit::chapterEdit( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "chapterEdit" ); - setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, sizePolicy().hasHeightForWidth() ) ); - chapterEditLayout = new TQGridLayout( this, 1, 1, 11, 6, "chapterEditLayout"); - - twstart = new KTimeWidget( this, "twstart" ); - twstart->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twstart->sizePolicy().hasHeightForWidth() ) ); - - chapterEditLayout->addWidget( twstart, 1, 2 ); - - textLabel1 = new TQLabel( this, "textLabel1" ); - - chapterEditLayout->addWidget( textLabel1, 1, 1 ); - - textLabel3 = new TQLabel( this, "textLabel3" ); - - chapterEditLayout->addWidget( textLabel3, 0, 1 ); - - urFile = new KURLRequester( this, "urFile" ); - urFile->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, urFile->sizePolicy().hasHeightForWidth() ) ); - urFile->setMinimumSize( TQSize( 200, 0 ) ); - - chapterEditLayout->addMultiCellWidget( urFile, 0, 0, 2, 4 ); - - bStart = new KPushButton( this, "bStart" ); - bStart->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bStart->sizePolicy().hasHeightForWidth() ) ); - - chapterEditLayout->addWidget( bStart, 1, 3 ); - spacer2 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - chapterEditLayout->addMultiCell( spacer2, 1, 2, 4, 4 ); - - ckBreakStart = new TQCheckBox( this, "ckBreakStart" ); - - chapterEditLayout->addMultiCellWidget( ckBreakStart, 2, 2, 2, 3 ); - spacer1 = new TQSpacerItem( 21, 60, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - chapterEditLayout->addItem( spacer1, 6, 2 ); - - textLabel2 = new TQLabel( this, "textLabel2" ); - - chapterEditLayout->addWidget( textLabel2, 4, 1 ); - - ckBreakEnd = new TQCheckBox( this, "ckBreakEnd" ); - - chapterEditLayout->addMultiCellWidget( ckBreakEnd, 5, 5, 2, 3 ); - - twend = new KTimeWidget( this, "twend" ); - twend->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, twend->sizePolicy().hasHeightForWidth() ) ); - - chapterEditLayout->addWidget( twend, 4, 2 ); - spacer3 = new TQSpacerItem( 20, 31, TQSizePolicy::Minimum, TQSizePolicy::Fixed ); - chapterEditLayout->addItem( spacer3, 3, 2 ); - - layout3 = new TQGridLayout( 0, 1, 1, 0, 6, "layout3"); - - lPosition = new TQLabel( this, "lPosition" ); - lPosition->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lPosition->sizePolicy().hasHeightForWidth() ) ); - - layout3->addWidget( lPosition, 1, 1 ); - - slider = new TQSlider( this, "slider" ); - slider->setOrientation( Qt::Horizontal ); - - layout3->addWidget( slider, 1, 0 ); - - image = new TQLabel( this, "image" ); - image->setMinimumSize( TQSize( 320, 200 ) ); - image->setPaletteBackgroundColor( TQColor( 0, 0, 0 ) ); - image->setScaledContents( TRUE ); - - layout3->addMultiCellWidget( image, 0, 0, 0, 1 ); - - chapterEditLayout->addMultiCellLayout( layout3, 0, 6, 0, 0 ); - - bEnd = new KPushButton( this, "bEnd" ); - bEnd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bEnd->sizePolicy().hasHeightForWidth() ) ); - - chapterEditLayout->addWidget( bEnd, 4, 3 ); - - bTitleButton = new TQPushButton( this, "bTitleButton" ); - bTitleButton->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bTitleButton->sizePolicy().hasHeightForWidth() ) ); - - chapterEditLayout->addWidget( bTitleButton, 7, 0 ); - languageChange(); - resize( TQSize(627, 300).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( urFile, TQT_SIGNAL( urlSelected(const TQString&) ), this, TQT_SLOT( urlSelected(const TQString&) ) ); - connect( slider, TQT_SIGNAL( sliderReleased() ), this, TQT_SLOT( sliderReleased() ) ); - connect( slider, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( sliderChanged() ) ); - connect( bStart, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bStartClick() ) ); - connect( bEnd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bEndClick() ) ); - connect( twstart, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( startChanged(const TQTime&) ) ); - connect( twend, TQT_SIGNAL( valueChanged(const TQTime&) ), this, TQT_SLOT( endChanged(const TQTime&) ) ); - connect( ckBreakEnd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckBreakEndClick() ) ); - connect( ckBreakStart, TQT_SIGNAL( clicked() ), this, TQT_SLOT( ckBreakStartClick() ) ); - connect( bTitleButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bTitleButtonClick() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -chapterEdit::~chapterEdit() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void chapterEdit::languageChange() -{ - setCaption( tr2i18n( "Chapter properties" ) ); - textLabel1->setText( tr2i18n( "start" ) ); - textLabel3->setText( tr2i18n( "video" ) ); - urFile->setFilter( tr2i18n( "*.avi\n" -"*.mpeg" ) ); - bStart->setText( tr2i18n( "set Current Frame" ) ); - ckBreakStart->setText( tr2i18n( "break continuity" ) ); - textLabel2->setText( tr2i18n( "end" ) ); - ckBreakEnd->setText( tr2i18n( "break continuity" ) ); - lPosition->setText( tr2i18n( "--:--:--" ) ); - bEnd->setText( tr2i18n( "set Current Frame" ) ); - bTitleButton->setText( tr2i18n( "set Title button" ) ); -} - -void chapterEdit::urlSelected(const TQString&) -{ - tqWarning( "chapterEdit::urlSelected(const TQString&): Not implemented yet" ); -} - -void chapterEdit::sliderReleased() -{ - tqWarning( "chapterEdit::sliderReleased(): Not implemented yet" ); -} - -void chapterEdit::sliderChanged() -{ - tqWarning( "chapterEdit::sliderChanged(): Not implemented yet" ); -} - -void chapterEdit::bStartClick() -{ - tqWarning( "chapterEdit::bStartClick(): Not implemented yet" ); -} - -void chapterEdit::startChanged(const TQTime&) -{ - tqWarning( "chapterEdit::startChanged(const TQTime&): Not implemented yet" ); -} - -void chapterEdit::endChanged(const TQTime&) -{ - tqWarning( "chapterEdit::endChanged(const TQTime&): Not implemented yet" ); -} - -void chapterEdit::bEndClick() -{ - tqWarning( "chapterEdit::bEndClick(): Not implemented yet" ); -} - -void chapterEdit::ckBreakStartClick() -{ - tqWarning( "chapterEdit::ckBreakStartClick(): Not implemented yet" ); -} - -void chapterEdit::ckBreakEndClick() -{ - tqWarning( "chapterEdit::ckBreakEndClick(): Not implemented yet" ); -} - -void chapterEdit::bTitleButtonClick() -{ - tqWarning( "chapterEdit::bTitleButtonClick(): Not implemented yet" ); -} - -#include "chapterEdit.moc" diff --git a/k9author/import.cpp b/k9author/import.cpp deleted file mode 100644 index 12481e0..0000000 --- a/k9author/import.cpp +++ /dev/null @@ -1,130 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './import.ui' -** -** Created: dim. oct. 26 08:56:28 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "import.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqlabel.h> -#include <tqheader.h> -#include <tqlistview.h> -#include <kcombobox.h> -#include <tqcombobox.h> -#include <tdeselect.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kcombobox.h" -#include "tdeselect.h" - -/* - * Constructs a import as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -import::import( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "import" ); - importLayout = new TQGridLayout( this, 1, 1, 11, 6, "importLayout"); - - textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - - importLayout->addWidget( textLabel1, 0, 0 ); - - layout2 = new TQGridLayout( 0, 1, 1, 0, 6, "layout2"); - - lvDVD = new TQListView( this, "lvDVD" ); - lvDVD->addColumn( tr2i18n( "Video files" ) ); - lvDVD->header()->setClickEnabled( FALSE, lvDVD->header()->count() - 1 ); - lvDVD->addColumn( tr2i18n( "..." ) ); - lvDVD->header()->setClickEnabled( FALSE, lvDVD->header()->count() - 1 ); - lvDVD->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, lvDVD->sizePolicy().hasHeightForWidth() ) ); - lvDVD->setMinimumSize( TQSize( 0, 200 ) ); - lvDVD->setRootIsDecorated( FALSE ); - lvDVD->setResizeMode( TQListView::AllColumns ); - - layout2->addMultiCellWidget( lvDVD, 0, 1, 0, 0 ); - - importLayout->addMultiCellLayout( layout2, 1, 1, 0, 3 ); - - cbOutputDev = new KComboBox( FALSE, this, "cbOutputDev" ); - - importLayout->addWidget( cbOutputDev, 0, 1 ); - - cbFormat = new TQComboBox( FALSE, this, "cbFormat" ); - cbFormat->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbFormat->sizePolicy().hasHeightForWidth() ) ); - - importLayout->addWidget( cbFormat, 0, 2 ); - - lTotal = new TQLabel( this, "lTotal" ); - lTotal->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotal->sizePolicy().hasHeightForWidth() ) ); - - importLayout->addWidget( lTotal, 2, 3 ); - - gsTotal = new KGradientSelector( this, "gsTotal" ); - gsTotal->setEnabled( FALSE ); - gsTotal->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, gsTotal->sizePolicy().hasHeightForWidth() ) ); - gsTotal->setMaximumSize( TQSize( 32767, 13 ) ); - gsTotal->setValue( 0 ); - gsTotal->setMaxValue( 180 ); - gsTotal->setFirstColor( TQColor( 255, 77, 6 ) ); - gsTotal->setSecondColor( TQColor( 85, 255, 0 ) ); - - importLayout->addMultiCellWidget( gsTotal, 2, 2, 0, 2 ); - languageChange(); - resize( TQSize(524, 416).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( lvDVD, TQT_SIGNAL( selectionChanged(TQListViewItem*) ), this, TQT_SLOT( lvDVDItemSelected(TQListViewItem*) ) ); - connect( cbFormat, TQT_SIGNAL( activated(const TQString&) ), this, TQT_SLOT( cbFormatActivated(const TQString&) ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -import::~import() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void import::languageChange() -{ - setCaption( tr2i18n( "import" ) ); - textLabel1->setText( tr2i18n( "Output" ) ); - lvDVD->header()->setLabel( 0, tr2i18n( "Video files" ) ); - lvDVD->header()->setLabel( 1, tr2i18n( "..." ) ); - cbFormat->clear(); - cbFormat->insertItem( tr2i18n( "PAL" ) ); - cbFormat->insertItem( tr2i18n( "NTSC" ) ); - lTotal->setText( tr2i18n( "--:--:--" ) ); -} - -void import::lvDVDItemSelected(TQListViewItem*) -{ - tqWarning( "import::lvDVDItemSelected(TQListViewItem*): Not implemented yet" ); -} - -void import::bAddClick() -{ - tqWarning( "import::bAddClick(): Not implemented yet" ); -} - -void import::cbFormatActivated(const TQString&) -{ - tqWarning( "import::cbFormatActivated(const TQString&): Not implemented yet" ); -} - -#include "import.moc" diff --git a/k9author/menuEdit.cpp b/k9author/menuEdit.cpp deleted file mode 100644 index 9b2bb2f..0000000 --- a/k9author/menuEdit.cpp +++ /dev/null @@ -1,211 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './menuEdit.ui' -** -** Created: dim. oct. 26 08:56:28 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "menuEdit.h" - -#include <tqvariant.h> -#include <tqlabel.h> -#include <kurlrequester.h> -#include <kcolorbutton.h> -#include <kpushbutton.h> -#include <tqcombobox.h> -#include <tqlineedit.h> -#include <tqframe.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "kurlrequester.h" -#include "klineedit.h" -#include "kpushbutton.h" -#include "kcolorbutton.h" - -/* - * Constructs a menuEdit as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -menuEdit::menuEdit( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "menuEdit" ); - menuEditLayout = new TQGridLayout( this, 1, 1, 2, 6, "menuEditLayout"); - - textLabel2 = new TQLabel( this, "textLabel2" ); - textLabel2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel2->sizePolicy().hasHeightForWidth() ) ); - - menuEditLayout->addMultiCellWidget( textLabel2, 5, 6, 0, 0 ); - - textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - - menuEditLayout->addWidget( textLabel1, 4, 0 ); - - urBackground = new KURLRequester( this, "urBackground" ); - - menuEditLayout->addMultiCellWidget( urBackground, 4, 4, 1, 5 ); - - cbColor = new KColorButton( this, "cbColor" ); - cbColor->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbColor->sizePolicy().hasHeightForWidth() ) ); - - menuEditLayout->addWidget( cbColor, 6, 1 ); - - bFont = new KPushButton( this, "bFont" ); - bFont->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bFont->sizePolicy().hasHeightForWidth() ) ); - - menuEditLayout->addWidget( bFont, 6, 2 ); - - cbPosTitle = new TQComboBox( FALSE, this, "cbPosTitle" ); - cbPosTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, cbPosTitle->sizePolicy().hasHeightForWidth() ) ); - - menuEditLayout->addWidget( cbPosTitle, 6, 3 ); - spacer1 = new TQSpacerItem( 51, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - menuEditLayout->addMultiCell( spacer1, 6, 6, 4, 5 ); - - leTitle = new TQLineEdit( this, "leTitle" ); - - menuEditLayout->addMultiCellWidget( leTitle, 5, 5, 1, 4 ); - - bAddText = new KPushButton( this, "bAddText" ); - bAddText->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)4, (TQSizePolicy::SizeType)4, 0, 0, bAddText->sizePolicy().hasHeightForWidth() ) ); - bAddText->setMinimumSize( TQSize( 24, 24 ) ); - bAddText->setMaximumSize( TQSize( 24, 24 ) ); - - menuEditLayout->addWidget( bAddText, 5, 5 ); - - lTitle = new TQLabel( this, "lTitle" ); - lTitle->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, lTitle->sizePolicy().hasHeightForWidth() ) ); - TQFont lTitle_font( lTitle->font() ); - lTitle_font.setBold( TRUE ); - lTitle->setFont( lTitle_font ); - - menuEditLayout->addMultiCellWidget( lTitle, 0, 0, 0, 5 ); - - textLabel1_2 = new TQLabel( this, "textLabel1_2" ); - - menuEditLayout->addWidget( textLabel1_2, 2, 0 ); - - cbStart = new TQComboBox( FALSE, this, "cbStart" ); - - menuEditLayout->addMultiCellWidget( cbStart, 2, 2, 1, 5 ); - - textLabel1_2_2 = new TQLabel( this, "textLabel1_2_2" ); - - menuEditLayout->addWidget( textLabel1_2_2, 3, 0 ); - - cbEnd = new TQComboBox( FALSE, this, "cbEnd" ); - - menuEditLayout->addMultiCellWidget( cbEnd, 3, 3, 1, 5 ); - - frame = new TQFrame( this, "frame" ); - frame->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)7, 0, 0, frame->sizePolicy().hasHeightForWidth() ) ); - frame->setFrameShape( TQFrame::StyledPanel ); - frame->setFrameShadow( TQFrame::Raised ); - - menuEditLayout->addMultiCellWidget( frame, 1, 1, 0, 5 ); - languageChange(); - resize( TQSize(576, 682).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( bFont, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bFontClick() ) ); - connect( urBackground, TQT_SIGNAL( urlSelected(const TQString&) ), this, TQT_SLOT( urBackgroundSelected(const TQString&) ) ); - connect( cbColor, TQT_SIGNAL( changed(const TQColor&) ), this, TQT_SLOT( cbColorChanged(const TQColor&) ) ); - connect( leTitle, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( leTitleChanged(const TQString&) ) ); - connect( cbPosTitle, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbPosTitleActivated(int) ) ); - connect( bAddText, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bAddTextClick() ) ); - connect( cbStart, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbStartActivated(int) ) ); - connect( cbEnd, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( cbEndActivated(int) ) ); - - // tab order - setTabOrder( cbStart, cbEnd ); - setTabOrder( cbEnd, urBackground ); - setTabOrder( urBackground, leTitle ); - setTabOrder( leTitle, bAddText ); - setTabOrder( bAddText, cbColor ); - setTabOrder( cbColor, bFont ); - setTabOrder( bFont, cbPosTitle ); -} - -/* - * Destroys the object and frees any allocated resources - */ -menuEdit::~menuEdit() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void menuEdit::languageChange() -{ - setCaption( tr2i18n( "Edit Menu" ) ); - textLabel2->setText( tr2i18n( "Text" ) ); - textLabel1->setText( tr2i18n( "Background picture" ) ); - cbColor->setText( TQString() ); - bFont->setText( tr2i18n( "Font" ) ); - cbPosTitle->clear(); - cbPosTitle->insertItem( tr2i18n( "Bottom" ) ); - cbPosTitle->insertItem( tr2i18n( "Right" ) ); - bAddText->setText( TQString() ); - bAddText->setAccel( TQKeySequence( TQString() ) ); - lTitle->setText( tr2i18n( "Root Menu" ) ); - textLabel1_2->setText( tr2i18n( "At start" ) ); - cbStart->clear(); - cbStart->insertItem( tr2i18n( "Play menu" ) ); - cbStart->insertItem( tr2i18n( "Play title 1" ) ); - textLabel1_2_2->setText( tr2i18n( "At End" ) ); - cbEnd->clear(); - cbEnd->insertItem( tr2i18n( "Play root menu" ) ); - cbEnd->insertItem( tr2i18n( "Play title menu" ) ); - cbEnd->insertItem( tr2i18n( "Play title 1" ) ); -} - -void menuEdit::bFontClick() -{ - tqWarning( "menuEdit::bFontClick(): Not implemented yet" ); -} - -void menuEdit::urBackgroundSelected(const TQString&) -{ - tqWarning( "menuEdit::urBackgroundSelected(const TQString&): Not implemented yet" ); -} - -void menuEdit::cbColorChanged(const TQColor&) -{ - tqWarning( "menuEdit::cbColorChanged(const TQColor&): Not implemented yet" ); -} - -void menuEdit::leTitleChanged(const TQString&) -{ - tqWarning( "menuEdit::leTitleChanged(const TQString&): Not implemented yet" ); -} - -void menuEdit::cbPosTitleActivated(int) -{ - tqWarning( "menuEdit::cbPosTitleActivated(int): Not implemented yet" ); -} - -void menuEdit::bAddTextClick() -{ - tqWarning( "menuEdit::bAddTextClick(): Not implemented yet" ); -} - -void menuEdit::cbStartActivated(int) -{ - tqWarning( "menuEdit::cbStartActivated(int): Not implemented yet" ); -} - -void menuEdit::cbEndActivated(int) -{ - tqWarning( "menuEdit::cbEndActivated(int): Not implemented yet" ); -} - -#include "menuEdit.moc" diff --git a/k9author/newTitle.cpp b/k9author/newTitle.cpp deleted file mode 100644 index e8856f2..0000000 --- a/k9author/newTitle.cpp +++ /dev/null @@ -1,158 +0,0 @@ -#include <tdelocale.h> -/**************************************************************************** -** Form implementation generated from reading ui file './newTitle.ui' -** -** Created: dim. oct. 26 08:56:29 2008 -** -** WARNING! All changes made in this file will be lost! -****************************************************************************/ - -#include "newTitle.h" - -#include <tqvariant.h> -#include <tqpushbutton.h> -#include <tqbuttongroup.h> -#include <knuminput.h> -#include <ktimewidget.h> -#include <tqradiobutton.h> -#include <kpushbutton.h> -#include <tqlabel.h> -#include <kurlrequester.h> -#include <tqlayout.h> -#include <tqtooltip.h> -#include <tqwhatsthis.h> -#include "knuminput.h" -#include "ktimewidget.h" -#include "kpushbutton.h" -#include "kurlrequester.h" -#include "klineedit.h" - -/* - * Constructs a newTitle as a child of 'parent', with the - * name 'name' and widget flags set to 'f'. - */ -newTitle::newTitle( TQWidget* parent, const char* name, WFlags fl ) - : TQWidget( parent, name, fl ) -{ - if ( !name ) - setName( "newTitle" ); - newTitleLayout = new TQGridLayout( this, 1, 1, 11, 6, "newTitleLayout"); - - buttonGroup1 = new TQButtonGroup( this, "buttonGroup1" ); - buttonGroup1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, buttonGroup1->sizePolicy().hasHeightForWidth() ) ); - buttonGroup1->setColumnLayout(0, Qt::Vertical ); - buttonGroup1->layout()->setSpacing( 6 ); - buttonGroup1->layout()->setMargin( 11 ); - buttonGroup1Layout = new TQGridLayout( buttonGroup1->layout() ); - buttonGroup1Layout->setAlignment( TQt::AlignTop ); - - nbChapters = new KIntNumInput( buttonGroup1, "nbChapters" ); - nbChapters->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, nbChapters->sizePolicy().hasHeightForWidth() ) ); - nbChapters->setMinValue( 1 ); - nbChapters->setMaxValue( 99 ); - - buttonGroup1Layout->addWidget( nbChapters, 0, 1 ); - - twLength = new KTimeWidget( buttonGroup1, "twLength" ); - twLength->setEnabled( FALSE ); - twLength->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, twLength->sizePolicy().hasHeightForWidth() ) ); - - buttonGroup1Layout->addWidget( twLength, 1, 1 ); - - rbNumber = new TQRadioButton( buttonGroup1, "rbNumber" ); - rbNumber->setChecked( TRUE ); - - buttonGroup1Layout->addWidget( rbNumber, 0, 0 ); - - rbLength = new TQRadioButton( buttonGroup1, "rbLength" ); - - buttonGroup1Layout->addWidget( rbLength, 1, 0 ); - spacer1 = new TQSpacerItem( 131, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - buttonGroup1Layout->addMultiCell( spacer1, 0, 1, 2, 2 ); - - newTitleLayout->addMultiCellWidget( buttonGroup1, 1, 1, 0, 1 ); - spacer3 = new TQSpacerItem( 21, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); - newTitleLayout->addItem( spacer3, 3, 0 ); - spacer4 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - newTitleLayout->addItem( spacer4, 1, 2 ); - - bAdd = new KPushButton( this, "bAdd" ); - bAdd->setEnabled( FALSE ); - bAdd->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, bAdd->sizePolicy().hasHeightForWidth() ) ); - bAdd->setProperty( "stdItem", 27 ); - - newTitleLayout->addWidget( bAdd, 2, 1 ); - spacer2 = new TQSpacerItem( 470, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - newTitleLayout->addItem( spacer2, 2, 0 ); - - layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); - - textLabel1 = new TQLabel( this, "textLabel1" ); - textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) ); - layout1->addWidget( textLabel1 ); - - urFile = new KURLRequester( this, "urFile" ); - urFile->setMode( 25 ); - layout1->addWidget( urFile ); - - lTotalTime = new TQLabel( this, "lTotalTime" ); - lTotalTime->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, lTotalTime->sizePolicy().hasHeightForWidth() ) ); - layout1->addWidget( lTotalTime ); - - newTitleLayout->addMultiCellLayout( layout1, 0, 0, 0, 1 ); - languageChange(); - resize( TQSize(605, 171).expandedTo(minimumSizeHint()) ); - clearWState( WState_Polished ); - - // signals and slots connections - connect( urFile, TQT_SIGNAL( urlSelected(const TQString&) ), this, TQT_SLOT( fileSelected(const TQString&) ) ); - connect( rbNumber, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rbNumberClicked() ) ); - connect( rbLength, TQT_SIGNAL( clicked() ), this, TQT_SLOT( rbLengthClicked() ) ); - connect( bAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( bAddClicked() ) ); -} - -/* - * Destroys the object and frees any allocated resources - */ -newTitle::~newTitle() -{ - // no need to delete child widgets, TQt does it all for us -} - -/* - * Sets the strings of the subwidgets using the current - * language. - */ -void newTitle::languageChange() -{ - setCaption( tr2i18n( "Add title" ) ); - buttonGroup1->setTitle( TQString() ); - rbNumber->setText( tr2i18n( "number of chapters" ) ); - rbLength->setText( tr2i18n( "chapter length" ) ); - bAdd->setText( tr2i18n( "Add" ) ); - bAdd->setAccel( TQKeySequence( TQString() ) ); - textLabel1->setText( tr2i18n( "Video file" ) ); - lTotalTime->setText( tr2i18n( "--:--:--" ) ); -} - -void newTitle::fileSelected(const TQString&) -{ - tqWarning( "newTitle::fileSelected(const TQString&): Not implemented yet" ); -} - -void newTitle::rbNumberClicked() -{ - tqWarning( "newTitle::rbNumberClicked(): Not implemented yet" ); -} - -void newTitle::rbLengthClicked() -{ - tqWarning( "newTitle::rbLengthClicked(): Not implemented yet" ); -} - -void newTitle::bAddClicked() -{ - tqWarning( "newTitle::bAddClicked(): Not implemented yet" ); -} - -#include "newTitle.moc" |