diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kde-qt.cpp | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip |
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kde-qt.cpp')
-rw-r--r-- | src/kde-qt.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kde-qt.cpp b/src/kde-qt.cpp index 6c3929f..9885b84 100644 --- a/src/kde-qt.cpp +++ b/src/kde-qt.cpp @@ -22,17 +22,17 @@ #include "kde-qt.h" #if defined (USE_KDE) -KQListView::KQListView( QWidget * parent, const char * name, int ) - : KListView (parent, name) +KQListView::KQListView( TQWidget * tqparent, const char * name, int ) + : KListView (tqparent, name) #else -KQListView::KQListView( QWidget * parent, const char * name, int f ) - : QListView (parent, name, f) +KQListView::KQListView( TQWidget * tqparent, const char * name, int f ) + : TQListView (tqparent, name, f) #endif { } #if defined (USE_KDE) -KQProgressModalDialog::KQProgressModalDialog ( const QString & captionText, const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator ) +KTQProgressModalDialog::KTQProgressModalDialog ( const TQString & captionText, const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator ) : KProgressDialog( creator, 0, captionText, labelText, true ) { setAllowCancel( true ); @@ -43,8 +43,8 @@ KQProgressModalDialog::KQProgressModalDialog ( const QString & captionText, cons setMinimumDuration( 1 ); } #else -KQProgressModalDialog::KQProgressModalDialog ( const QString & captionText, const QString & labelText, const QString & cancelButtonText, int totalSteps, QWidget * creator ) - : QProgressDialog( labelText, cancelButtonText, totalSteps, creator, 0, false ) +KTQProgressModalDialog::KTQProgressModalDialog ( const TQString & captionText, const TQString & labelText, const TQString & cancelButtonText, int totalSteps, TQWidget * creator ) + : TQProgressDialog( labelText, cancelButtonText, totalSteps, creator, 0, false ) { setCaption( captionText ); setMinimumDuration( 1 ); |