diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:09 -0600 |
commit | 3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b (patch) | |
tree | 4405f233f4b0eee7f4ad3d265a5584c9ce681011 /cervisia/diffview.cpp | |
parent | d6331f1b56eb6dca7a1950658b2932f208015da0 (diff) | |
download | tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.tar.gz tdesdk-3b34e5cf56262c9f54a3bcf02ee5ad93ca0fb05b.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit d6331f1b56eb6dca7a1950658b2932f208015da0.
Diffstat (limited to 'cervisia/diffview.cpp')
-rw-r--r-- | cervisia/diffview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cervisia/diffview.cpp b/cervisia/diffview.cpp index eacd7847..554e6d3f 100644 --- a/cervisia/diffview.cpp +++ b/cervisia/diffview.cpp @@ -293,7 +293,7 @@ int DiffView::cellWidth(int col) } -TQSize DiffView::sizeHint() const +TQSize DiffView::tqsizeHint() const { TQFontMetrics fm(font()); return TQSize( 4*fm.width("0123456789"), fm.lineSpacing()*8 ); @@ -391,7 +391,7 @@ void DiffView::wheelEvent(TQWheelEvent *e) DiffZoomWidget::DiffZoomWidget(KConfig& cfg, TQWidget *parent, const char *name) : TQFrame(parent, name) { - setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ) ); + tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ) ); cfg.setGroup("Colors"); TQColor defaultColor=TQColor(237, 190, 190); @@ -415,9 +415,9 @@ void DiffZoomWidget::setDiffView(DiffView *view) } -TQSize DiffZoomWidget::sizeHint() const +TQSize DiffZoomWidget::tqsizeHint() const { - return TQSize(25, tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent, this)); + return TQSize(25, tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent, this)); } @@ -426,7 +426,7 @@ bool DiffZoomWidget::eventFilter(TQObject *o, TQEvent *e) if (e->type() == TQEvent::Show || e->type() == TQEvent::Hide || e->type() == TQEvent::Resize) - repaint(); + tqrepaint(); return TQFrame::eventFilter(o, e); } |