diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-24 21:28:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-31 16:31:47 +0900 |
commit | 7c3b44b81086c6b99f91e294c3b438dc808b47e2 (patch) | |
tree | d92d61649487df1a2fbd200d4ead11a7f16ba63f /src/modules/objects/class_progressbar.cpp | |
parent | cafbffba66b6ce809783ed1eb4d24aac6fe9701f (diff) | |
download | kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.tar.gz kvirc-7c3b44b81086c6b99f91e294c3b438dc808b47e2.zip |
Drop USE_QT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 030a2248f3630fd0404df98beffc78b5b5ca4c31)
Diffstat (limited to 'src/modules/objects/class_progressbar.cpp')
-rw-r--r-- | src/modules/objects/class_progressbar.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/objects/class_progressbar.cpp b/src/modules/objects/class_progressbar.cpp index bfaa1eca..39b5df63 100644 --- a/src/modules/objects/class_progressbar.cpp +++ b/src/modules/objects/class_progressbar.cpp @@ -27,13 +27,8 @@ #include "kvi_locale.h" #include "kvi_iconmanager.h" -#ifdef COMPILE_USE_QT4 -#include <tq3progressbar.h> -#define KVI_PROGRESS_BAR Q3ProgressBar -#else #include <tqprogressbar.h> #define KVI_PROGRESS_BAR TQProgressBar -#endif /* @doc: progressbar @@ -95,13 +90,7 @@ KVSO_END_CONSTRUCTOR(KviKvsObject_progressbar) bool KviKvsObject_progressbar::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams) { - #ifdef COMPILE_USE_QT4 - Q3ProgressBar *pbar=new Q3ProgressBar(parentScriptWidget()); - pbar->setObjectName(name()); - setObject(pbar,true); - #else setObject(TQT_TQOBJECT(new TQProgressBar(parentScriptWidget(), name())), true); - #endif return true; } |