From 2ca843787e76f51e8c5f232518e349cfae572661 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:07:11 -0600 Subject: Rename obsolete tq methods to standard names --- src/cdopener.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/cdopener.cpp') diff --git a/src/cdopener.cpp b/src/cdopener.cpp index 318abfe..7b4c959 100755 --- a/src/cdopener.cpp +++ b/src/cdopener.cpp @@ -59,7 +59,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin connect( cArtist, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(artistChanged(const TQString&)) ); - // add a horizontal box tqlayout for the composer + // add a horizontal box layout for the composer TQHBoxLayout* artistBox = new TQHBoxLayout( -1, "artistBox" ); topGridLayout->addLayout( artistBox, 0, 3 ); // and fill it up @@ -84,7 +84,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin topGridLayout->addWidget( lAlbumLabel, 1, 0 ); lAlbum = new KLineEdit( this, "lAlbum" ); topGridLayout->addWidget( lAlbum, 1, 1 ); - // add a horizontal box tqlayout for the disc number, year and genre + // add a horizontal box layout for the disc number, year and genre TQHBoxLayout* albumBox = new TQHBoxLayout( -1, "albumBox" ); topGridLayout->addLayout( albumBox, 1, 3 ); // and fill it up @@ -131,9 +131,9 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin tagGroupBox = new TQGroupBox( i18n("No track selected"), this, "tagGroupBox" ); gridLayout->addWidget( tagGroupBox, 2, 0 ); tagGroupBox->setColumnLayout( 0, Qt::Vertical ); - tagGroupBox->tqlayout()->setSpacing( 6 ); - tagGroupBox->tqlayout()->setMargin( 6 ); - TQGridLayout* tagGridLayout = new TQGridLayout( tagGroupBox->tqlayout(), 1, 1, -1, "tagGridLayout" ); + tagGroupBox->layout()->setSpacing( 6 ); + tagGroupBox->layout()->setMargin( 6 ); + TQGridLayout* tagGridLayout = new TQGridLayout( tagGroupBox->layout(), 1, 1, -1, "tagGridLayout" ); // add the up and down buttons pTrackUp = new KPushButton( " ", tagGroupBox, "pTrackUp" ); @@ -152,7 +152,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin tagGridLayout->addWidget( pTrackDown, 1, 0 ); // add the inputs - // add a horizontal box tqlayout for the title + // add a horizontal box layout for the title TQHBoxLayout* trackTitleBox = new TQHBoxLayout( -1, "trackTitleBox" ); tagGridLayout->addLayout( trackTitleBox, 0, 2 ); // and fill it up @@ -171,7 +171,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin connect( pTrackTitleEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(editTrackTitleClicked()) ); - // add a horizontal box tqlayout for the composer + // add a horizontal box layout for the composer TQHBoxLayout* trackArtistBox = new TQHBoxLayout( -1, "trackArtistBox" ); tagGridLayout->addLayout( trackArtistBox, 1, 2 ); // and fill it up @@ -205,7 +205,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin connect( pTrackComposerEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(editTrackComposerClicked()) ); - // add a horizontal box tqlayout for the comment + // add a horizontal box layout for the comment TQHBoxLayout* trackCommentBox = new TQHBoxLayout( -1, "trackCommentBox" ); tagGridLayout->addLayout( trackCommentBox, 2, 2 ); // and fill it up @@ -234,7 +234,7 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin gridLayout->addWidget( lineFrame, 3, 0 ); gridLayout->setRowSpacing( 3, 16 ); - // add a horizontal box tqlayout for the control elements + // add a horizontal box layout for the control elements TQHBoxLayout* controlBox = new TQHBoxLayout( -1, "controlBox" ); gridLayout->addLayout( controlBox, 4, 0 ); -- cgit v1.2.1