summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoptset.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /libkscan/kscanoptset.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkscan/kscanoptset.h')
-rw-r--r--libkscan/kscanoptset.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/libkscan/kscanoptset.h b/libkscan/kscanoptset.h
index 042dbe86..24cd4f8e 100644
--- a/libkscan/kscanoptset.h
+++ b/libkscan/kscanoptset.h
@@ -20,10 +20,10 @@
#ifndef KSCANOPTSET_H
#define KSCANOPTSET_H
-#include <qobject.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qasciidict.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqasciidict.h>
#include "kscanoption.h"
@@ -33,7 +33,7 @@
* about single scanner dependant options. It allows you to store a bunch
* of options and accessing them via a iterator.
*
- * The class which is inherited from QAsciiDict does no deep copy of the options
+ * The class which is inherited from TQAsciiDict does no deep copy of the options
* to store by with the standard method insert.
* @see backupOption to get a deep copy.
*
@@ -46,7 +46,7 @@
-class KScanOptSet: public QAsciiDict<KScanOption>
+class KScanOptSet: public TQAsciiDict<KScanOption>
{
public:
@@ -54,12 +54,12 @@ public:
* Constructor to create a new Container. Takes a string as a name, which
* has no special meaning yet ;)
*/
- KScanOptSet( const QCString& );
+ KScanOptSet( const TQCString& );
~KScanOptSet();
/**
* function to store a deep copy of an option. Note that this class is inherited
- * from QAsciiDict and thus does no deep copies. This method does.
+ * from TQAsciiDict and thus does no deep copies. This method does.
* @see insert
*/
bool backupOption( const KScanOption& );
@@ -67,10 +67,10 @@ public:
/**
* returns a pointer to a stored option given by name.
*/
- KScanOption *get( const QCString name ) const;
- QCString getValue( const QCString name ) const;
+ KScanOption *get( const TQCString name ) const;
+ TQCString getValue( const TQCString name ) const;
- void backupOptionDict( const QAsciiDict<KScanOption>& );
+ void backupOptionDict( const TQAsciiDict<KScanOption>& );
/**
* saves a configuration set to the configuration file 'ScanSettings'
@@ -82,7 +82,7 @@ public:
* @param configName: The name of the config, e.g. Black and White
* @param descr : A description for the config.
*/
- void saveConfig( const QString&, const QString&, const QString&);
+ void saveConfig( const TQString&, const TQString&, const TQString&);
/**
* allows to load a configuration. Simple create a optionSet with the
@@ -90,24 +90,24 @@ public:
* load for the scanner you want.
* @param scannerName: A scanner's name
*/
- bool load( const QString& scannerName );
+ bool load( const TQString& scannerName );
- QString getDescription() const;
+ TQString getDescription() const;
public slots:
- void slSetDescription( const QString& );
+ void slSetDescription( const TQString& );
private:
- QCString name;
+ TQCString name;
/* List to collect objects for which memory was allocated and must be freed */
- QPtrList<KScanOption> strayCatsList;
+ TQPtrList<KScanOption> strayCatsList;
class KScanOptSetPrivate;
KScanOptSetPrivate *d;
- QString description;
+ TQString description;
};
#endif // KScanOptSet