diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/listview.cc | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/listview.cc')
-rw-r--r-- | khexedit/listview.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/listview.cc b/khexedit/listview.cc index 50de78a..e02e1c7 100644 --- a/khexedit/listview.cc +++ b/khexedit/listview.cc @@ -18,13 +18,13 @@ * */ -#include <qheader.h> +#include <tqheader.h> #include "listview.h" -CListView::CListView( QWidget *parent, const char *name, int visibleItem ) +CListView::CListView( TQWidget *parent, const char *name, int visibleItem ) :KListView( parent, name ), mVisibleItem(QMAX( 1, visibleItem )) { setVisibleItem(visibleItem); @@ -35,15 +35,15 @@ void CListView::setVisibleItem( int visibleItem, bool updateSize ) mVisibleItem = QMAX( 1, visibleItem ); if( updateSize == true ) { - QSize s = sizeHint(); + TQSize s = sizeHint(); setMinimumSize( s.width() + verticalScrollBar()->sizeHint().width() + lineWidth() * 2, s.height() ); } } -QSize CListView::sizeHint( void ) const +TQSize CListView::sizeHint( void ) const { - QSize s = QListView::sizeHint(); + TQSize s = TQListView::sizeHint(); int h = fontMetrics().height() + 2*itemMargin(); if( h % 2 > 0 ) { h++; } |