summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/ui/keyrequester.h
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/lib/ui/keyrequester.h')
-rw-r--r--certmanager/lib/ui/keyrequester.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/certmanager/lib/ui/keyrequester.h b/certmanager/lib/ui/keyrequester.h
index 3de9c508b..6392f5c67 100644
--- a/certmanager/lib/ui/keyrequester.h
+++ b/certmanager/lib/ui/keyrequester.h
@@ -49,7 +49,7 @@
#ifndef __KLEO_UI_KEYREQUESTER_H__
#define __KLEO_UI_KEYREQUESTER_H__
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kleo/cryptobackend.h>
#include <vector>
@@ -73,13 +73,13 @@ class QLabel;
namespace Kleo {
/// Base class for SigningKeyRequester and EncryptionKeyRequester
- class KDE_EXPORT KeyRequester : public QWidget {
+ class KDE_EXPORT KeyRequester : public TQWidget {
Q_OBJECT
public:
KeyRequester( unsigned int allowedKeys, bool multipleKeys=false,
- QWidget * parent=0, const char * name=0 );
+ TQWidget * parent=0, const char * name=0 );
// Constructor for Qt Designer
- KeyRequester( QWidget * parent=0, const char * name=0 );
+ KeyRequester( TQWidget * parent=0, const char * name=0 );
~KeyRequester();
const GpgME::Key & key() const;
@@ -95,24 +95,24 @@ namespace Kleo {
*/
void setKeys( const std::vector<GpgME::Key> & keys );
- QString fingerprint() const;
+ TQString fingerprint() const;
/** Set the key by fingerprint. Starts a background KeyListJob to
retrive the complete GpgME::Key object
*/
- void setFingerprint( const QString & fingerprint );
+ void setFingerprint( const TQString & fingerprint );
- QStringList fingerprints() const;
+ TQStringList fingerprints() const;
/** Set the keys by fingerprint. Starts a background KeyListJob to
retrive the complete GpgME::Key objects
*/
- void setFingerprints( const QStringList & fingerprints );
+ void setFingerprints( const TQStringList & fingerprints );
- QPushButton * eraseButton();
- QPushButton * dialogButton();
+ TQPushButton * eraseButton();
+ TQPushButton * dialogButton();
- void setDialogCaption( const QString & caption );
- void setDialogMessage( const QString & message );
+ void setDialogCaption( const TQString & caption );
+ void setDialogMessage( const TQString & message );
bool isMultipleKeysEnabled() const;
void setMultipleKeysEnabled( bool enable );
@@ -120,15 +120,15 @@ namespace Kleo {
unsigned int allowedKeys() const;
void setAllowedKeys( unsigned int allowed );
- void setInitialQuery( const QString & s ) { mInitialQuery = s; }
- const QString & initialQuery() const { return mInitialQuery; }
+ void setInitialQuery( const TQString & s ) { mInitialQuery = s; }
+ const TQString & initialQuery() const { return mInitialQuery; }
signals:
void changed();
private:
void init();
- void startKeyListJob( const QStringList & fingerprints );
+ void startKeyListJob( const TQStringList & fingerprints );
void updateKeys();
private slots:
@@ -140,10 +140,10 @@ namespace Kleo {
private:
const CryptoBackend::Protocol * mOpenPGPBackend;
const CryptoBackend::Protocol * mSMIMEBackend;
- QLabel * mLabel;
- QPushButton * mEraseButton;
- QPushButton * mDialogButton;
- QString mDialogCaption, mDialogMessage, mInitialQuery;
+ TQLabel * mLabel;
+ TQPushButton * mEraseButton;
+ TQPushButton * mDialogButton;
+ TQString mDialogCaption, mDialogMessage, mInitialQuery;
bool mMulti;
unsigned int mKeyUsage;
int mJobs;
@@ -167,12 +167,12 @@ namespace Kleo {
* Preferred constructor
*/
EncryptionKeyRequester( bool multipleKeys=false, unsigned int proto=AllProtocols,
- QWidget * parent=0, const char * name=0,
+ TQWidget * parent=0, const char * name=0,
bool onlyTrusted=true, bool onlyValid=true );
/**
* Constructor for Qt designer
*/
- EncryptionKeyRequester( QWidget * parent=0, const char * name=0 );
+ EncryptionKeyRequester( TQWidget * parent=0, const char * name=0 );
~EncryptionKeyRequester();
void setAllowedKeys( unsigned int proto, bool onlyTrusted=true, bool onlyValid=true );
@@ -199,12 +199,12 @@ namespace Kleo {
* @param onlyValid only show valid keys
*/
SigningKeyRequester( bool multipleKeys=false, unsigned int proto=AllProtocols,
- QWidget * parent=0, const char * name=0,
+ TQWidget * parent=0, const char * name=0,
bool onlyTrusted=true, bool onlyValid=true );
/**
* Constructor for Qt designer
*/
- SigningKeyRequester( QWidget * parent=0, const char * name=0 );
+ SigningKeyRequester( TQWidget * parent=0, const char * name=0 );
~SigningKeyRequester();
/*