summaryrefslogtreecommitdiffstats
path: root/src/kernel
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 23:25:45 +0900
committerMichele Calgaro <[email protected]>2018-10-17 23:25:45 +0900
commit789e7c7f92e09fb31549a5126281331b86834008 (patch)
treeb05940a604fc84e21cdd7f7c10fb59666ea3bc36 /src/kernel
parent69d87202cb139ffe9e4b3ce92e434523b7b09b64 (diff)
downloadtqt3-789e7c7f92e09fb31549a5126281331b86834008.tar.gz
tqt3-789e7c7f92e09fb31549a5126281331b86834008.zip
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/ntqinputcontext.h7
-rw-r--r--src/kernel/qinputcontext.cpp2
2 files changed, 2 insertions, 7 deletions
diff --git a/src/kernel/ntqinputcontext.h b/src/kernel/ntqinputcontext.h
index 2cb7785e0..bb8a4f9fd 100644
--- a/src/kernel/ntqinputcontext.h
+++ b/src/kernel/ntqinputcontext.h
@@ -43,13 +43,8 @@
#include "ntqglobal.h"
#include "ntqevent.h"
#include "ntqstring.h"
-#if (TQT_VERSION-0 >= 0x040000)
-#include "ntqlist.h"
-#include "ntqaction.h"
-#else
#include "ntqptrlist.h"
#endif
-#endif
class TQWidget;
class TQFont;
@@ -95,7 +90,7 @@ public:
virtual bool isPreeditRelocationEnabled();
#if (TQT_VERSION-0 >= 0x040000)
- virtual TQList<TQAction *> actions();
+ virtual TQPtrList<TQAction *> actions();
void addActionsTo( TQMenu *menu, TQInputContextMenu::Action action = TQInputContextMenu::InsertSeparator );
#else
virtual TQPtrList<TQInputContextMenu> *menus();
diff --git a/src/kernel/qinputcontext.cpp b/src/kernel/qinputcontext.cpp
index 9533d3eb2..6523fe756 100644
--- a/src/kernel/qinputcontext.cpp
+++ b/src/kernel/qinputcontext.cpp
@@ -806,7 +806,7 @@ TQString TQInputContext::language()
/*!
This is a preliminary interface for TQt4
*/
-TQList<TQAction *> TQInputContext::actions()
+TQPtrList<TQAction *> TQInputContext::actions()
{
}
#else