summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqvariant.cpp.new
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/kernel/tqvariant.cpp.new
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqvariant.cpp.new')
-rw-r--r--tqtinterface/qt4/src/kernel/tqvariant.cpp.new10
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqvariant.cpp.new b/tqtinterface/qt4/src/kernel/tqvariant.cpp.new
index 22c05b3..b518a7e 100644
--- a/tqtinterface/qt4/src/kernel/tqvariant.cpp.new
+++ b/tqtinterface/qt4/src/kernel/tqvariant.cpp.new
@@ -1728,7 +1728,7 @@ void TQVariant::Private::clear()
A TQVariant object holds a single value of a single type() at a
time. (Some type()s are multi-valued, for example a string list.)
- You can tqfind out what type, T, the variant holds, convert it to a
+ You can find out what type, T, the variant holds, convert it to a
different type using one of the asT() functions, e.g. asSize(),
get its value using one of the toT() functions, e.g. toSize(), and
check whether the type can be converted to a particular type using
@@ -1756,11 +1756,11 @@ void TQVariant::Private::clear()
\code
TQDataStream out(...);
- TQVariant v(123); // The variant now tqcontains an int
+ TQVariant v(123); // The variant now contains an int
int x = v.toInt(); // x = 123
out << v; // Writes a type tag and an int to out
- v = TQVariant("hello"); // The variant now tqcontains a TQCString
- v = TQVariant(tr("hello"));// The variant now tqcontains a TQString
+ v = TQVariant("hello"); // The variant now contains a TQCString
+ v = TQVariant(tr("hello"));// The variant now contains a TQString
int y = v.toInt(); // y = 0 since v cannot be converted to an int
TQString s = v.toString(); // s = tr("hello") (see TQObject::tr())
out << v; // Writes a type tag and a TQString to out
@@ -4313,7 +4313,7 @@ TQMap<TQString, TQVariant>& TQVariant::asMap()
\row \i Int \i String, CString, ByteArray, Double, Bool, UInt, LongLong, ULongLong, KeySequence
\row \i LongLong \i String, CString, ByteArray, Double, Bool, UInt, LongLong, ULongLong, KeySequence
\row \i ULongLong \i String, CString, ByteArray, Double, Bool, UInt, LongLong, ULongLong, KeySequence
- \row \i List \i StringList (if the list tqcontains only strings or
+ \row \i List \i StringList (if the list contains only strings or
something that can be cast to a string)
\row \i String \i CString, ByteArray, CString, Int, UInt, Bool, Double, Date,
Time, DateTime, KeySequence, Font, Color