summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KWidgetStreamer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
commit7ea89afa119615e547323a7a482ea7fef8e67029 (patch)
tree7b28540e70b4be9a779347f70486d4937258a875 /kregexpeditor/KWidgetStreamer
parentbcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff)
downloadtdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz
tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kregexpeditor/KWidgetStreamer')
-rw-r--r--kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
index e21d2aa..9015aaa 100644
--- a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
+++ b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.cpp
@@ -48,11 +48,11 @@ void KWidgetStreamer::propertyToStream( const TQObject* from, TQDataStream& stre
if ( ! from->inherits(TQWIDGET_OBJECT_NAME_STRING) )
return;
- // Serializing all the tqchildren (if any).
- const TQObjectList tqchildren = from->childrenListObject();
- if ( !tqchildren.isEmpty() ) {
- stream << tqchildren.count();
- for ( TQObjectListIt it = TQObjectListIt(tqchildren); *it; ++it ) {
+ // Serializing all the children (if any).
+ const TQObjectList children = from->childrenListObject();
+ if ( !children.isEmpty() ) {
+ stream << children.count();
+ for ( TQObjectListIt it = TQObjectListIt(children); *it; ++it ) {
toStream( *it, stream );
}
}
@@ -83,14 +83,14 @@ void KWidgetStreamer::propertyFromStream( TQDataStream& stream, TQObject* to )
if ( ! to->inherits(TQWIDGET_OBJECT_NAME_STRING) )
return;
- // Stream in all the tqchildren (if any)
- const TQObjectList tqchildren = to->childrenListObject();
+ // Stream in all the children (if any)
+ const TQObjectList children = to->childrenListObject();
unsigned int count;
stream >> count;
- if ( !tqchildren.isEmpty() ) {
- Q_ASSERT( count == tqchildren.count() );
- for ( TQObjectListIt it = TQObjectListIt(tqchildren); *it; ++it )
+ if ( !children.isEmpty() ) {
+ Q_ASSERT( count == children.count() );
+ for ( TQObjectListIt it = TQObjectListIt(children); *it; ++it )
fromStream( stream, *it );
}
else {
@@ -147,14 +147,14 @@ KWidgetStreamer::KWidgetStreamer ()
l.clear();
l << TQString::fromLatin1("enabled")
<< TQString::fromLatin1("text") << TQString::fromLatin1("maxLength")
- << TQString::fromLatin1("echoMode") << TQString::fromLatin1("tqalignment");
+ << TQString::fromLatin1("echoMode") << TQString::fromLatin1("alignment");
_map.insert(TQString::fromLatin1(TQLINEEDIT_OBJECT_NAME_STRING), l);
// TQMultiLineEdit
l.clear();
l << TQString::fromLatin1("enabled")
<< TQString::fromLatin1("text")
- << TQString::fromLatin1("tqalignment");
+ << TQString::fromLatin1("alignment");
_map.insert(TQString::fromLatin1(TQTEXTEDIT_OBJECT_NAME_STRING), l);
// TQRadioButton