diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:10:16 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:10:16 -0600 |
commit | 81ad3b51a1f061b0934426aaf339917f76c0cfc5 (patch) | |
tree | d58f2500c1bfa5abeb84264cbaee55a7dd161bac /src/pref.cpp | |
parent | ee4b31b7bd3e899cad30866bf083c3ff6a4a9fc8 (diff) | |
download | kmplayer-81ad3b51a1f061b0934426aaf339917f76c0cfc5.tar.gz kmplayer-81ad3b51a1f061b0934426aaf339917f76c0cfc5.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/pref.cpp')
-rw-r--r-- | src/pref.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pref.cpp b/src/pref.cpp index 423102e..2887244 100644 --- a/src/pref.cpp +++ b/src/pref.cpp @@ -340,14 +340,14 @@ KDE_NO_CDTOR_EXPORT PrefSourcePageURL::PrefSourcePageURL (TQWidget *parent) url = new KURLRequester (urllist, this); TQWhatsThis::add (url, i18n ("Location of the playable item")); //url->setShowLocalProtocol (true); - url->tqsetSizePolicy (TQSizePolicy (TQSizePolicy::Expanding, TQSizePolicy::Preferred)); + url->setSizePolicy (TQSizePolicy (TQSizePolicy::Expanding, TQSizePolicy::Preferred)); TQLabel *sub_urlLabel = new TQLabel (i18n ("Sub title:"), this, 0); sub_urllist = new KComboBox (true, this); sub_urllist->setMaxCount (20); sub_urllist->setDuplicatesEnabled (false); // not that it helps much :( sub_url = new KURLRequester (sub_urllist, this); TQWhatsThis::add (sub_url, i18n ("Optional location of a file containing the subtitles of the URL above")); - sub_url->tqsetSizePolicy (TQSizePolicy (TQSizePolicy::Expanding, TQSizePolicy::Preferred)); + sub_url->setSizePolicy (TQSizePolicy (TQSizePolicy::Expanding, TQSizePolicy::Preferred)); backend = new TQListBox (this); allowhref = new TQCheckBox (i18n ("Enable 'Click to Play' support"), this); TQWhatsThis::add (allowhref, i18n ("Support for WEB pages having a start image")); @@ -444,7 +444,7 @@ KDE_NO_CDTOR_EXPORT PrefRecordPage::PrefRecordPage (TQWidget *parent, PartBase * KDE_NO_EXPORT void PrefRecordPage::recordingStarted () { recordButton->setText (i18n ("Stop Recording")); url->setEnabled (false); - tqtopLevelWidget ()->hide (); + topLevelWidget ()->hide (); } KDE_NO_EXPORT void PrefRecordPage::recordingFinished () { @@ -475,7 +475,7 @@ KDE_NO_EXPORT void PrefRecordPage::sourceChanged (Source * olds, Source * nws) { } KDE_NO_EXPORT void PrefRecordPage::recorderClicked (int id) { - bool b = recorder->find(id)->text().find (TQString::tqfromLatin1("Xine")) > -1; + bool b = recorder->find(id)->text().find (TQString::fromLatin1("Xine")) > -1; replay->setEnabled (!b); if (b) replay->setButton (Settings::ReplayNo); @@ -651,7 +651,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T PostprocessingOptions->setAutoMask (false); PostprocessingOptions->setTabPosition( TQTabWidget::Top ); PostprocessingOptions->setTabShape( TQTabWidget::Rounded ); - PostprocessingOptions->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, PostprocessingOptions->sizePolicy().hasHeightForWidth() ) ); + PostprocessingOptions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, PostprocessingOptions->sizePolicy().hasHeightForWidth() ) ); TQWidget *presetSelectionWidget = new TQWidget( PostprocessingOptions, "presetSelectionWidget" ); TQGridLayout *presetSelectionWidgetLayout = new TQGridLayout( presetSelectionWidget, 1, 1, 1); @@ -681,7 +681,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T TQVBoxLayout *customFiltersWidgetLayout = new TQVBoxLayout( customFiltersWidget ); TQGroupBox *customFilters = new TQGroupBox(0, Qt::Vertical, customFiltersWidget, "customFilters" ); - customFilters->tqsetSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2)); + customFilters->setSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2)); customFilters->setFlat(false); customFilters->setEnabled( false ); customFilters->setInsideSpacing(7); @@ -701,7 +701,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T customFiltersLayout1->addWidget( HzDeblockCFiltering ); TQFrame *line1 = new TQFrame( customFilters, "line1" ); - line1->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2 ) ); + line1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2 ) ); line1->setFrameShape( TQFrame::HLine ); line1->setFrameShadow( TQFrame::Sunken ); customFiltersLayout->add(line1); @@ -721,7 +721,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T TQFrame *line2 = new TQFrame( customFilters, "line2" ); - line2->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2 ) ); + line2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)2 ) ); line2->setFrameShape( TQFrame::HLine ); line2->setFrameShadow( TQFrame::Sunken ); customFiltersLayout->add(line2); @@ -768,7 +768,7 @@ KDE_NO_CDTOR_EXPORT PrefOPPagePostProc::PrefOPPagePostProc(TQWidget *parent) : T TmpNoiseSlider->setOrientation( TQSlider::Horizontal ); TmpNoiseSlider->setTickmarks( TQSlider::Left ); TmpNoiseSlider->setTickInterval( 1 ); - TmpNoiseSlider->tqsetSizePolicy(TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1));*/ + TmpNoiseSlider->setSizePolicy(TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1));*/ /*customFiltersLayout->addWidget(TmpNoiseFilter,7,0); customFiltersLayout->addWidget(TmpNoiseSlider,7,2);*/ |