summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_progressbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/objects/class_progressbar.cpp')
-rw-r--r--src/modules/objects/class_progressbar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/objects/class_progressbar.cpp b/src/modules/objects/class_progressbar.cpp
index 12fc5b39..b75c144d 100644
--- a/src/modules/objects/class_progressbar.cpp
+++ b/src/modules/objects/class_progressbar.cpp
@@ -28,11 +28,11 @@
#include "kvi_locale.h"
#include "kvi_iconmanager.h"
#ifdef COMPILE_USE_QT4
-#include <q3progressbar.h>
+#include <tq3progressbar.h>
#define KVI_PROGRESS_BAR Q3ProgressBar
#else
-#include <qprogressbar.h>
-#define KVI_PROGRESS_BAR QProgressBar
+#include <tqprogressbar.h>
+#define KVI_PROGRESS_BAR TQProgressBar
#endif
/*
@@ -96,11 +96,11 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_progressbar)
bool KviKvsObject_progressbar::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams)
{
#ifdef COMPILE_USE_QT4
- Q3ProgressBar *pbar=new Q3ProgressBar(parentScriptWidget());
+ Q3ProgressBar *pbar=new Q3ProgressBar(tqparentScriptWidget());
pbar->setObjectName(name());
setObject(pbar,true);
#else
- setObject(new QProgressBar(parentScriptWidget(), name()), true);
+ setObject(TQT_TQOBJECT(new TQProgressBar(tqparentScriptWidget(), name())), true);
#endif
return true;
}