summaryrefslogtreecommitdiffstats
path: root/src/app/listView.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-13 16:09:24 +0200
committergregory guy <[email protected]>2020-06-13 16:09:24 +0200
commit2c9bc9b806f533df7b8f5349467d0f4be95314a4 (patch)
tree15f82ae94dd430374f3d939958912c4fb2855326 /src/app/listView.cpp
parent38eaf7209a322a622e1b898eaa5477568ca9c6b6 (diff)
downloadcodeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.tar.gz
codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.zip
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/app/listView.cpp')
-rw-r--r--src/app/listView.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/app/listView.cpp b/src/app/listView.cpp
index b7990ec..e5dd74a 100644
--- a/src/app/listView.cpp
+++ b/src/app/listView.cpp
@@ -11,27 +11,27 @@ namespace Codeine
class ListView : public KListView
{
public:
- ListView( QWidget *parent ) : KListView( parent )
+ ListView( TQWidget *parent ) : KListView( parent )
{
- addColumn( QString::null, 0 );
- addColumn( QString::null );
+ addColumn( TQString::null, 0 );
+ addColumn( TQString::null );
setResizeMode( LastColumn );
setMargin( 2 );
setSorting( -1 );
- setSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum );
+ setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
setAllColumnsShowFocus( true );
setItemMargin( 3 );
}
- virtual QSize sizeHint() const
+ virtual TQSize sizeHint() const
{
- const QSize sh = KListView::sizeHint();
+ const TQSize sh = KListView::sizeHint();
- return QSize( sh.width(),
+ return TQSize( sh.width(),
childCount() == 0
? 50
- : QMIN( sh.height(), childCount() * (firstChild()->height()) + margin() * 2 + 4 + reinterpret_cast<QWidget*>(header())->height() ) );
+ : TQMIN( sh.height(), childCount() * (firstChild()->height()) + margin() * 2 + 4 + reinterpret_cast<TQWidget*>(header())->height() ) );
}
};
}