summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/KWidgetStreamer/kwidgetstreamer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/KWidgetStreamer/kwidgetstreamer.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/KWidgetStreamer/kwidgetstreamer.h')
-rw-r--r--kregexpeditor/KWidgetStreamer/kwidgetstreamer.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.h b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.h
index 9534a92..6ac3349 100644
--- a/kregexpeditor/KWidgetStreamer/kwidgetstreamer.h
+++ b/kregexpeditor/KWidgetStreamer/kwidgetstreamer.h
@@ -17,10 +17,10 @@
**/
#ifndef __kwidgetstreamer
#define __kwidgetstreamer
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qstringlist.h>
-#include <qobject.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
+#include <tqobject.h>
/**
This class defines methods for streaming widget data.
@@ -32,12 +32,12 @@
inherit from this class and override @ref toStream and @ref fromStream.
The following example shows how you can avoid streaming
- <tt>numDigits</tt> for a QLCDNumber. The same approach applies if you
+ <tt>numDigits</tt> for a TQLCDNumber. The same approach applies if you
want to add extra properties to be streamed.
<pre>
KWidgetStreamer streamer;
KWidgetStreamer::PropertyMap& map = streamer.propertyMap();
- KWidgetStreamer::PropertyList& list = *map.find("QLCDNumber");
+ KWidgetStreamer::PropertyList& list = *map.find("TQLCDNumber");
list.remove("numDigits");
</pre>
**/
@@ -45,23 +45,23 @@ class KWidgetStreamer
{
public:
- typedef QStringList PropertyList;
- typedef QMap< QString, PropertyList > PropertyMap;
- typedef QMap< QString, PropertyList >::ConstIterator PropertyMapIt;
- typedef QStringList::Iterator PropertyListIt;
+ typedef TQStringList PropertyList;
+ typedef TQMap< TQString, PropertyList > PropertyMap;
+ typedef TQMap< TQString, PropertyList >::ConstIterator PropertyMapIt;
+ typedef TQStringList::Iterator PropertyListIt;
KWidgetStreamer();
virtual ~KWidgetStreamer() {}
- virtual void toStream(const QObject* from, QDataStream& stream );
- virtual void fromStream(QDataStream& stream, QObject* to);
+ virtual void toStream(const TQObject* from, TQDataStream& stream );
+ virtual void fromStream(TQDataStream& stream, TQObject* to);
PropertyMap& propertyMap() { return _map; }
protected:
- void propertyToStream( const QObject* from, QDataStream& stream );
- void propertyFromStream( QDataStream& stream, QObject* to );
+ void propertyToStream( const TQObject* from, TQDataStream& stream );
+ void propertyFromStream( TQDataStream& stream, TQObject* to );
private:
PropertyMap _map;