diff options
Diffstat (limited to 'src/cdopener.cpp')
-rwxr-xr-x | src/cdopener.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cdopener.cpp b/src/cdopener.cpp index 12779be..318abfe 100755 --- a/src/cdopener.cpp +++ b/src/cdopener.cpp @@ -64,13 +64,13 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin topGridLayout->addLayout( artistBox, 0, 3 ); // and fill it up TQLabel* lComposerLabel = new TQLabel( i18n("Composer:"), this, "lComposerLabel" ); - lComposerLabel->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter ); + lComposerLabel->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); topGridLayout->addWidget( lComposerLabel, 0, 2 ); cComposer = new KComboBox( true, this, "cComposer" ); artistBox->addWidget( cComposer ); cComposer->insertItem( i18n("Various Composer") ); cComposer->setCurrentText( "" ); - //cComposer->tqsetSizePolicy( TQSizePolicy::Maximum ); + //cComposer->setSizePolicy( TQSizePolicy::Maximum ); connect( cComposer, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(composerChanged(const TQString&)) ); @@ -89,13 +89,13 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin topGridLayout->addLayout( albumBox, 1, 3 ); // and fill it up TQLabel* lDiscLabel = new TQLabel( i18n("Disc No.:"), this, "lDiscLabel" ); - lDiscLabel->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter ); + lDiscLabel->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); topGridLayout->addWidget( lDiscLabel, 1, 2 ); iDisc = new KIntSpinBox( 1, 99, 1, 1, 10, this, "iDisc" ); albumBox->addWidget( iDisc ); TQLabel* lYearLabel = new TQLabel( i18n("Year:"), this, "lYearLabel" ); albumBox->addWidget( lYearLabel ); - iYear = new KIntSpinBox( 0, 99999, 1, TQDate::tqcurrentDate().year(), 10, this, "iYear" ); + iYear = new KIntSpinBox( 0, 99999, 1, TQDate::currentDate().year(), 10, this, "iYear" ); albumBox->addWidget( iYear ); TQLabel* lGenreLabel = new TQLabel( i18n("Genre:"), this, "lGenreLabel" ); albumBox->addWidget( lGenreLabel ); @@ -165,7 +165,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin ); pTrackTitleEdit = new KPushButton( " ", tagGroupBox, "pTrackTitleEdit" ); pTrackTitleEdit->setPixmap( iconLoader->loadIcon("kwrite",KIcon::Small) ); - pTrackTitleEdit->setFixedSize( lTrackTitle->tqsizeHint().height(), lTrackTitle->tqsizeHint().height() ); + pTrackTitleEdit->setFixedSize( lTrackTitle->sizeHint().height(), lTrackTitle->sizeHint().height() ); pTrackTitleEdit->hide(); trackTitleBox->addWidget( pTrackTitleEdit ); connect( pTrackTitleEdit, TQT_SIGNAL(clicked()), @@ -184,7 +184,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin ); pTrackArtistEdit = new KPushButton( " ", tagGroupBox, "pTrackArtistEdit" ); pTrackArtistEdit->setPixmap( iconLoader->loadIcon("kwrite",KIcon::Small) ); - pTrackArtistEdit->setFixedSize( lTrackArtist->tqsizeHint().height(), lTrackArtist->tqsizeHint().height() ); + pTrackArtistEdit->setFixedSize( lTrackArtist->sizeHint().height(), lTrackArtist->sizeHint().height() ); pTrackArtistEdit->hide(); trackArtistBox->addWidget( pTrackArtistEdit ); connect( pTrackArtistEdit, TQT_SIGNAL(clicked()), @@ -199,7 +199,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin ); pTrackComposerEdit = new KPushButton( " ", tagGroupBox, "pTrackComposerEdit" ); pTrackComposerEdit->setPixmap( iconLoader->loadIcon("kwrite",KIcon::Small) ); - pTrackComposerEdit->setFixedSize( lTrackComposer->tqsizeHint().height(), lTrackComposer->tqsizeHint().height() ); + pTrackComposerEdit->setFixedSize( lTrackComposer->sizeHint().height(), lTrackComposer->sizeHint().height() ); pTrackComposerEdit->hide(); trackArtistBox->addWidget( pTrackComposerEdit ); connect( pTrackComposerEdit, TQT_SIGNAL(clicked()), @@ -219,7 +219,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin ); pTrackCommentEdit = new KPushButton( " ", tagGroupBox, "pTrackCommentEdit" ); pTrackCommentEdit->setPixmap( iconLoader->loadIcon("kwrite",KIcon::Small) ); - pTrackCommentEdit->setFixedSize( lTrackTitle->tqsizeHint().height(), lTrackTitle->tqsizeHint().height() ); + pTrackCommentEdit->setFixedSize( lTrackTitle->sizeHint().height(), lTrackTitle->sizeHint().height() ); pTrackCommentEdit->hide(); trackCommentBox->addWidget( pTrackCommentEdit ); connect( pTrackCommentEdit, TQT_SIGNAL(clicked()), |