summaryrefslogtreecommitdiffstats
path: root/src/projects/k3baudioeditorwidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:55 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:08:55 -0600
commit09c863183250d07f82c0919e0a40fc7834c32192 (patch)
tree2e93b57e4c4a6f0548222e04d1b7bda1ade1c742 /src/projects/k3baudioeditorwidget.cpp
parent650b58e8e66f8e3e1cf78ee3e0037f4c9e00699a (diff)
downloadk3b-09c863183250d07f82c0919e0a40fc7834c32192.tar.gz
k3b-09c863183250d07f82c0919e0a40fc7834c32192.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/projects/k3baudioeditorwidget.cpp')
-rw-r--r--src/projects/k3baudioeditorwidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/projects/k3baudioeditorwidget.cpp b/src/projects/k3baudioeditorwidget.cpp
index fe0be91..843d72e 100644
--- a/src/projects/k3baudioeditorwidget.cpp
+++ b/src/projects/k3baudioeditorwidget.cpp
@@ -177,9 +177,9 @@ K3bAudioEditorWidget::K3bAudioEditorWidget( TQWidget* parent, const char* name )
m_draggedMarker(0)
{
d = new Private;
- d->selectedRangeBrush = TQBrush(tqcolorGroup().highlight());
+ d->selectedRangeBrush = TQBrush(colorGroup().highlight());
- tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Minimum );
+ setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Minimum );
setFrameStyle( StyledPanel|Sunken );
setMouseTracking(true);
setCursor( TQt::PointingHandCursor );
@@ -201,7 +201,7 @@ K3bAudioEditorWidget::~K3bAudioEditorWidget()
}
-TQSize K3bAudioEditorWidget::tqminimumSizeHint() const
+TQSize K3bAudioEditorWidget::minimumSizeHint() const
{
constPolish();
// some fixed height minimum and enough space for a tickmark every minute
@@ -215,9 +215,9 @@ TQSize K3bAudioEditorWidget::tqminimumSizeHint() const
}
-TQSize K3bAudioEditorWidget::tqsizeHint() const
+TQSize K3bAudioEditorWidget::sizeHint() const
{
- return tqminimumSizeHint();
+ return minimumSizeHint();
}
@@ -307,7 +307,7 @@ int K3bAudioEditorWidget::addRange( const K3b::Msf& start, const K3b::Msf& end,
return -1;
Range* r = new Range( m_idCnt++, start, end, startFixed, endFixed, toolTip,
- brush.style() != TQBrush::NoBrush ? brush : TQBrush(tqcolorGroup().background()) );
+ brush.style() != TQBrush::NoBrush ? brush : TQBrush(colorGroup().background()) );
d->ranges.inSort( r );
// only update the changed range
@@ -433,7 +433,7 @@ void K3bAudioEditorWidget::setMaxNumberOfMarkers( int i )
int K3bAudioEditorWidget::addMarker( const K3b::Msf& pos, bool fixed, const TQString& toolTip, const TQColor& color )
{
if( pos < m_length ) {
- Marker* m = new Marker( m_idCnt++, pos, fixed, color.isValid() ? color : tqcolorGroup().foreground(), toolTip );
+ Marker* m = new Marker( m_idCnt++, pos, fixed, color.isValid() ? color : colorGroup().foreground(), toolTip );
m_markers.inSort( m );
return m->id;
}
@@ -488,7 +488,7 @@ void K3bAudioEditorWidget::drawContents( TQPainter* p )
{
// double buffering
TQPixmap pix( contentsRect().size() );
- pix.fill( tqcolorGroup().base() );
+ pix.fill( colorGroup().base() );
TQPainter pixP;
pixP.tqbegin( &pix, TQT_TQOBJECT(this) );
@@ -497,7 +497,7 @@ void K3bAudioEditorWidget::drawContents( TQPainter* p )
drawRect.setLeft( drawRect.left() + m_margin );
drawRect.setRight( drawRect.right() - m_margin );
- // from tqminimumSizeHint()
+ // from minimumSizeHint()
// int neededHeight = fontMetrics().height() + 12 + 6;
// drawRect.setTop( drawRect.top() + (drawRect.height() - neededHeight)/2 );