summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-03 07:51:33 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-03 07:51:33 (GMT)
commit3889a8947a9f8bf3a159dbd5e2c3ed1a63d3cb8d (patch)
treebdfed00ab09ec682075d6b7d05642027563ba14e /src/declarative
parent14c57306bb0d9edd6c45cd142b49896f746fe9d1 (diff)
downloadQt-3889a8947a9f8bf3a159dbd5e2c3ed1a63d3cb8d.zip
Qt-3889a8947a9f8bf3a159dbd5e2c3ed1a63d3cb8d.tar.gz
Qt-3889a8947a9f8bf3a159dbd5e2c3ed1a63d3cb8d.tar.bz2
Renaming: FocusRealm -> FocusScope
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/fx/fx.pri4
-rw-r--r--src/declarative/fx/qfxfocusscope.cpp (renamed from src/declarative/fx/qfxfocusrealm.cpp)18
-rw-r--r--src/declarative/fx/qfxfocusscope.h (renamed from src/declarative/fx/qfxfocusrealm.h)14
3 files changed, 18 insertions, 18 deletions
diff --git a/src/declarative/fx/fx.pri b/src/declarative/fx/fx.pri
index 2c98dd3..bbb09fb 100644
--- a/src/declarative/fx/fx.pri
+++ b/src/declarative/fx/fx.pri
@@ -14,7 +14,7 @@ HEADERS += \
fx/qfximage_p.h \
fx/qfxitem.h \
fx/qfxitem_p.h \
- fx/qfxfocusrealm.h \
+ fx/qfxfocusscope.h \
fx/qfxkeyactions.h \
fx/qfxkeyproxy.h \
fx/qfxlayouts.h \
@@ -53,7 +53,7 @@ SOURCES += \
fx/qfximage.cpp \
fx/qfxpainteditem.cpp \
fx/qfxitem.cpp \
- fx/qfxfocusrealm.cpp \
+ fx/qfxfocusscope.cpp \
fx/qfxkeyactions.cpp \
fx/qfxkeyproxy.cpp \
fx/qfxlayouts.cpp \
diff --git a/src/declarative/fx/qfxfocusrealm.cpp b/src/declarative/fx/qfxfocusscope.cpp
index 4484378..8981256 100644
--- a/src/declarative/fx/qfxfocusrealm.cpp
+++ b/src/declarative/fx/qfxfocusscope.cpp
@@ -39,34 +39,34 @@
**
****************************************************************************/
-#include "qfxfocusrealm.h"
+#include "qfxfocusscope.h"
QT_BEGIN_NAMESPACE
-QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,FocusRealm,QFxFocusRealm)
+QML_DEFINE_TYPE(Qt,4,6,(QT_VERSION&0x00ff00)>>8,FocusScope,QFxFocusScope)
/*!
- \qmlclass FocusRealm
- \brief The FocusRealm object explicitly creates a focus realm.
+ \qmlclass FocusScope
+ \brief The FocusScope object explicitly creates a focus scope.
\inherits Item
- Focus realms assist in keyboard focus handling when building reusable QML
- components. All the details are covered in the
+ Focus scopes assist in keyboard focus handling when building reusable QML
+ components. All the details are covered in the
\l {qmlfocus}{keyboard focus documentation}.
*/
/*!
\internal
- \class QFxFocusRealm
+ \class QFxFocusScope
*/
-QFxFocusRealm::QFxFocusRealm(QFxItem *parent) :
+QFxFocusScope::QFxFocusScope(QFxItem *parent) :
QFxItem(parent)
{
setFlag(QGraphicsItem::ItemAutoDetectsFocusProxy);
}
-QFxFocusRealm::~QFxFocusRealm()
+QFxFocusScope::~QFxFocusScope()
{
}
QT_END_NAMESPACE
diff --git a/src/declarative/fx/qfxfocusrealm.h b/src/declarative/fx/qfxfocusscope.h
index 20fc5ad..28a6e30 100644
--- a/src/declarative/fx/qfxfocusrealm.h
+++ b/src/declarative/fx/qfxfocusscope.h
@@ -39,8 +39,8 @@
**
****************************************************************************/
-#ifndef QFXFOCUSREALM_H
-#define QFXFOCUSREALM_H
+#ifndef QFXFOCUSSCOPE_H
+#define QFXFOCUSSCOPE_H
#include <QtDeclarative/qfxitem.h>
@@ -50,18 +50,18 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Declarative)
-class Q_DECLARATIVE_EXPORT QFxFocusRealm : public QFxItem
+class Q_DECLARATIVE_EXPORT QFxFocusScope : public QFxItem
{
Q_OBJECT
public:
- QFxFocusRealm(QFxItem *parent=0);
- virtual ~QFxFocusRealm();
+ QFxFocusScope(QFxItem *parent=0);
+ virtual ~QFxFocusScope();
};
QT_END_NAMESPACE
-QML_DECLARE_TYPE(QFxFocusRealm)
+QML_DECLARE_TYPE(QFxFocusScope)
QT_END_HEADER
-#endif // QFXFOCUSREALM_H
+#endif // QFXFOCUSSCOPE_H