Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent 6afce6c4bc
commit 2ca843787e

@ -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 );

@ -52,8 +52,8 @@ ConfigBackendsPage::ConfigBackendsPage( Config* _config, TQMap<TQString, TQStrin
legendBox->setStretchFactor( lLegendLabel, 1 );
TQGroupBox* ripperGroup = new TQGroupBox( 1, Qt::Vertical, box, "ripperGroup" );
ripperGroup->tqlayout()->setSpacing( 6 );
ripperGroup->tqlayout()->setMargin( 6 );
ripperGroup->layout()->setSpacing( 6 );
ripperGroup->layout()->setMargin( 6 );
TQLabel* lRipper = new TQLabel( i18n("CD Ripper")+":", ripperGroup, "lRipper" );
cRipper = new KComboBox( ripperGroup, "cRipper" );
connect( cRipper, TQT_SIGNAL(activated(int)),
@ -252,10 +252,10 @@ void ConfigBackendsPage::rebuild()
options.group = new TQGroupBox( title, box, options.format );
options.group->setColumnLayout( 0, Qt::Vertical );
options.group->tqlayout()->setSpacing( 6 );
options.group->tqlayout()->setMargin( 6 );
options.group->layout()->setSpacing( 6 );
options.group->layout()->setMargin( 6 );
options.group->show();
options.grid = new TQGridLayout( options.group->tqlayout() );
options.grid = new TQGridLayout( options.group->layout() );
options.lEncoder = new TQLabel( i18n("Encoder")+":", options.group, options.format );
options.lEncoder->show();

@ -39,7 +39,7 @@ public:
TagLib::uint timescale;
//! duration of presentation
TagLib::ulonglong duration;
//! ptqlayout speed
//! playout speed
TagLib::uint rate;
//! volume for entire presentation
TagLib::uint volume;

@ -44,7 +44,7 @@ namespace TagLib
uint timescale() const;
//! function to get the presentation duration in the mp4 file
ulonglong duration() const;
//! function to get the rate (ptqlayout speed) - typically 1.0;
//! function to get the rate (playout speed) - typically 1.0;
uint rate() const;
//! function to get volume level for presentation - typically 1.0;
uint volume() const;

@ -81,7 +81,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
TQGridLayout* tagsGridLayout = new TQGridLayout( tags, 1, 1, 0, 6, "tagsGridLayout" );
// add the inputs
// add a horizontal box tqlayout for the title and track number
// add a horizontal box layout for the title and track number
TQHBoxLayout *titleBox = new TQHBoxLayout( -1, "titleBox" );
tagsGridLayout->addLayout( titleBox, 0, 1 );
// and fill it up
@ -116,7 +116,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
this, TQT_SLOT(editNumberClicked())
);
// add a horizontal box tqlayout for the artist and the composer
// add a horizontal box layout for the artist and the composer
TQHBoxLayout *artistBox = new TQHBoxLayout( -1, "artistBox" );
tagsGridLayout->addLayout( artistBox, 1, 1 );
// and fill it up
@ -151,7 +151,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
this, TQT_SLOT(editComposerClicked())
);
// add a horizontal box tqlayout for the album
// add a horizontal box layout for the album
TQHBoxLayout *albumBox = new TQHBoxLayout( -1, "albumBox" );
tagsGridLayout->addLayout( albumBox, 2, 1 );
// and fill it up
@ -171,7 +171,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
this, TQT_SLOT(editAlbumClicked())
);
// 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 *albumdataBox = new TQHBoxLayout( -1, "albumdataBox" );
tagsGridLayout->addLayout( albumdataBox, 3, 1 );
// and fill it up
@ -228,7 +228,7 @@ OptionsEditor::OptionsEditor( TagEngine* _tagEngine, Config* _config, FileList*
this, TQT_SLOT(editGenreClicked())
);
// add a horizontal box tqlayout for the comment
// add a horizontal box layout for the comment
TQHBoxLayout *commentBox = new TQHBoxLayout( -1, "commentBox" );
tagsGridLayout->addLayout( commentBox, 4, 1 );
// and fill it up

@ -222,7 +222,7 @@ soundKonverter::soundKonverter()
// convert, TQT_SLOT(priorityChanged(int))
// );
// add a horizontal box tqlayout for the add combobutton to the grid
// add a horizontal box layout for the add combobutton to the grid
TQHBoxLayout *addBox = new TQHBoxLayout( -1, "addBox" );
gridLayout->addLayout( addBox, 2, 0 );

Loading…
Cancel
Save