summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/kleo/dn.h
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/kleo/dn.h')
-rw-r--r--certmanager/lib/kleo/dn.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/certmanager/lib/kleo/dn.h b/certmanager/lib/kleo/dn.h
index 12bf9dc03..440bb4b0b 100644
--- a/certmanager/lib/kleo/dn.h
+++ b/certmanager/lib/kleo/dn.h
@@ -33,8 +33,8 @@
#ifndef __KLEO_DN_H__
#define __KLEO_DN_H__
-#include <qstring.h>
-#include <qvaluevector.h>
+#include <tqstring.h>
+#include <tqvaluevector.h>
#include <kdepimmacros.h>
class QStringList;
@@ -55,14 +55,14 @@ namespace Kleo {
public:
static const DNAttributeMapper * instance();
- QString name2label( const QString & s ) const;
- QStringList names() const;
+ TQString name2label( const TQString & s ) const;
+ TQStringList names() const;
- const QStringList & attributeOrder() const;
+ const TQStringList & attributeOrder() const;
- void setAttributeOrder( const QStringList & order );
+ void setAttributeOrder( const TQStringList & order );
- DNAttributeOrderConfigWidget * configWidget( QWidget * parent=0, const char * name=0 ) const;
+ DNAttributeOrderConfigWidget * configWidget( TQWidget * parent=0, const char * name=0 ) const;
private:
class Private;
@@ -76,11 +76,11 @@ namespace Kleo {
class KDE_EXPORT DN {
public:
class Attribute;
- typedef QValueVector<Attribute> AttributeList;
+ typedef TQValueVector<Attribute> AttributeList;
typedef AttributeList::const_iterator const_iterator;
DN();
- DN( const QString & dn );
+ DN( const TQString & dn );
DN( const char * utf8DN );
DN( const DN & other );
~DN();
@@ -88,15 +88,15 @@ namespace Kleo {
const DN & operator=( const DN & other );
/** @return the value in rfc-2253-escaped form */
- static QString escape( const QString & value );
+ static TQString escape( const TQString & value );
/** @return the DN in a reordered form, according to the settings in
the [DN] group of the application's config file */
- QString prettyDN() const;
+ TQString prettyDN() const;
/** @return the DN in the original form */
- QString dn() const;
+ TQString dn() const;
- QString operator[]( const QString & attr ) const;
+ TQString operator[]( const TQString & attr ) const;
void append( const Attribute & attr );
@@ -114,7 +114,7 @@ namespace Kleo {
public:
typedef DN::AttributeList List;
- Attribute( const QString & name=QString::null, const QString & value=QString::null )
+ Attribute( const TQString & name=TQString::null, const TQString & value=TQString::null )
: mName( name.upper() ), mValue( value ) {}
Attribute( const Attribute & other )
: mName( other.name() ), mValue( other.value() ) {}
@@ -127,14 +127,14 @@ namespace Kleo {
return *this;
}
- const QString & name() const { return mName; }
- const QString & value() const { return mValue; }
+ const TQString & name() const { return mName; }
+ const TQString & value() const { return mValue; }
- void setValue( const QString & value ) { mValue = value; }
+ void setValue( const TQString & value ) { mValue = value; }
private:
- QString mName;
- QString mValue;
+ TQString mName;
+ TQString mValue;
};
}