summaryrefslogtreecommitdiffstats
path: root/krec
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:33:07 -0600
commit3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch)
treef248b71f55539d6689a4cbe086d5d8cc146c8998 /krec
parentf59dfa08651a47f21d004e8e4cb5020b8035287e (diff)
downloadtdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz
tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'krec')
-rw-r--r--krec/krecfilewidgets.cpp10
-rw-r--r--krec/krecnewproperties.cpp4
-rw-r--r--krec/ogg_export/krecexport_ogg.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/krec/krecfilewidgets.cpp b/krec/krecfilewidgets.cpp
index cbcaba81..82eac246 100644
--- a/krec/krecfilewidgets.cpp
+++ b/krec/krecfilewidgets.cpp
@@ -189,18 +189,18 @@ void KRecBufferWidget::initLayout() {
void KRecBufferWidget::drawFrame( TQPainter* p ) {
//kdDebug( 60005 ) << k_funcinfo << endl;
if ( _buffer->active() )
- p->setBrush( tqcolorGroup().highlight() );
+ p->setBrush( colorGroup().highlight() );
else
- p->setBrush( tqcolorGroup().highlight().dark() );
- p->setPen( TQPen( tqcolorGroup().dark(), 1 ) );
+ p->setBrush( colorGroup().highlight().dark() );
+ p->setPen( TQPen( colorGroup().dark(), 1 ) );
p->drawRect( _title_region->boundingRect() );
p->drawRect( _fileend_region->boundingRect() );
p->setBrush( TQBrush() );
- p->setPen( TQPen( tqcolorGroup().dark(), 1 ) );
+ p->setPen( TQPen( colorGroup().dark(), 1 ) );
p->drawRect( _main_region->boundingRect() );
- p->setPen( TQPen( tqcolorGroup().highlightedText() ) );
+ p->setPen( TQPen( colorGroup().highlightedText() ) );
p->drawText( _title_region->boundingRect(), TQt::AlignCenter, _buffer->title() );
}
diff --git a/krec/krecnewproperties.cpp b/krec/krecnewproperties.cpp
index 56ec7228..c8c1398f 100644
--- a/krec/krecnewproperties.cpp
+++ b/krec/krecnewproperties.cpp
@@ -53,7 +53,7 @@ kdDebug( 60005 ) << k_funcinfo << endl;
labelfont.setPointSize( labelfont.pointSize()*3/2 );
captionlabel->setFont( labelfont );
captionlabel->setText( i18n( "Properties for the new File" ) );
- captionlabel->tqsetAlignment( AlignCenter );
+ captionlabel->setAlignment( AlignCenter );
_layout->addWidget( captionlabel );
_filewidget = new KRecConfigFilesWidget( this );
@@ -74,7 +74,7 @@ kdDebug( 60005 ) << k_funcinfo << endl;
_layout->addWidget( new KSeparator( KSeparator::HLine, this ) );
_layout->addWidget( _btnWidget );
- tqsetSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Maximum );
+ setSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Maximum );
}
KRecNewProperties::~KRecNewProperties() {
kdDebug( 60005 ) << k_funcinfo << endl;
diff --git a/krec/ogg_export/krecexport_ogg.cpp b/krec/ogg_export/krecexport_ogg.cpp
index 32223cb8..32f274df 100644
--- a/krec/ogg_export/krecexport_ogg.cpp
+++ b/krec/ogg_export/krecexport_ogg.cpp
@@ -95,7 +95,7 @@ kdDebug( 60005 ) << k_funcinfo << endl;
vorbis_comment_add_tag ( &vc, const_cast<char *>( "kde-encoder" ),
const_cast<char *>( "KRec" ) );
if ( write_vorbis_comments ) {
- TQDateTime dt = TQDateTime::tqcurrentDateTime();
+ TQDateTime dt = TQDateTime::currentDateTime();
vorbis_comment_add_tag ( &vc, const_cast<char *>( "title" ),
const_cast<char *>( "" ) );
vorbis_comment_add_tag ( &vc, const_cast<char *>( "artist" ),