diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/certmanager.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/certmanager.h')
-rw-r--r-- | certmanager/certmanager.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/certmanager/certmanager.h b/certmanager/certmanager.h index 915e079e..4aacaf70 100644 --- a/certmanager/certmanager.h +++ b/certmanager/certmanager.h @@ -38,8 +38,8 @@ #include <kmainwindow.h> #include <kdepimmacros.h> #include <kurl.h> -#include <qcstring.h> -#include <qptrlist.h> +#include <tqcstring.h> +#include <tqptrlist.h> #include <set> #include <string> @@ -79,9 +79,9 @@ namespace GpgME { class KDE_EXPORT CertManager : public KMainWindow { Q_OBJECT public: - CertManager( bool remote = false, const QString& query = QString::null, - const QString& import=QString::null, - QWidget * parent=0, const char * name=0, WFlags f=0 ); + CertManager( bool remote = false, const TQString& query = TQString::null, + const TQString& import=TQString::null, + TQWidget * parent=0, const char * name=0, WFlags f=0 ); ~CertManager(); bool isRemote() const { return mRemote; } @@ -91,7 +91,7 @@ signals: void enableOperations( bool ); private slots: - void slotStartCertificateDownload( const QString & fingerprint, const QString& displayName ); + void slotStartCertificateDownload( const TQString & fingerprint, const TQString& displayName ); void newCertificate(); void revokeCertificate(); void extendCertificate(); @@ -105,11 +105,11 @@ private slots: void slotImportResult( KIO::Job* ); void slotCertificateImportResult( const GpgME::ImportResult & result ); - void slotCertificateDownloadResult( const GpgME::Error & error, const QByteArray & keyData ); + void slotCertificateDownloadResult( const GpgME::Error & error, const TQByteArray & keyData ); void slotKeyListResult( const GpgME::KeyListResult & result ); void slotDeleteResult( const GpgME::Error & error, const GpgME::Key & ); - void slotSecretKeyExportResult( const GpgME::Error & error, const QByteArray & keyData ); - void slotCertificateExportResult( const GpgME::Error & error, const QByteArray & keyData ); + void slotSecretKeyExportResult( const GpgME::Error & error, const TQByteArray & keyData ); + void slotCertificateExportResult( const GpgME::Error & error, const TQByteArray & keyData ); void slotClearCRLsResult(); void importCRLFromFile(); @@ -134,7 +134,7 @@ private slots: void slotEditKeybindings(); void slotShowConfigurationDialog(); void slotConfigureGpgME(); - void slotContextMenu(Kleo::KeyListViewItem*, const QPoint& point); + void slotContextMenu(Kleo::KeyListViewItem*, const TQPoint& point); void slotDropped(const KURL::List&); /** Schedule a repaint for the listview items. E.g. when the colour config has changed */ @@ -159,19 +159,19 @@ private: void createActions(); void updateStatusBarLabels(); void updateImportActions( bool enable ); - void startKeyListing( bool, bool, const QStringList & ); + void startKeyListing( bool, bool, const TQStringList & ); void startKeyListing( bool, bool, const std::set<std::string> & ); - void startCertificateImport( const QByteArray & keyData, const QString& certDisplayName ); - void startImportCRL( const QString& fileName, bool isTempFile ); + void startCertificateImport( const TQByteArray & keyData, const TQString& certDisplayName ); + void startImportCRL( const TQString& fileName, bool isTempFile ); void startClearCRLs(); - void startSecretKeyExport( const QString & fingerprint ); - void startCertificateExport( const QStringList & fingerprints ); + void startSecretKeyExport( const TQString & fingerprint ); + void startCertificateExport( const TQStringList & fingerprints ); bool connectAndStartDirmngr( const char*, const char* ); - void connectJobToStatusBarProgress( Kleo::Job * job, const QString & initialText ); + void connectJobToStatusBarProgress( Kleo::Job * job, const TQString & initialText ); void disconnectJobFromStatusBarProgress( const GpgME::Error & err ); void importNextURLOrRedisplay(); void startRedisplay( bool validating ); - QString displayNameForJob( const Kleo::Job *job ); + TQString displayNameForJob( const Kleo::Job *job ); void readConfig( bool noQueryGiven ); void writeConfig(); @@ -179,13 +179,13 @@ private: Kleo::KeyListView * mKeyListView; CRLView * mCrlView; Kleo::ProgressBar * mProgressBar; - QLabel * mStatusLabel; + TQLabel * mStatusLabel; KProcess * mDirmngrProc; - QString mErrorbuffer; - QPtrList<Kleo::KeyListViewItem> mItemsToDelete; + TQString mErrorbuffer; + TQPtrList<Kleo::KeyListViewItem> mItemsToDelete; KURL::List mURLsToImport; - typedef QMap<const Kleo::Job *, QString> JobsDisplayNameMap; + typedef TQMap<const Kleo::Job *, TQString> JobsDisplayNameMap; JobsDisplayNameMap mJobsDisplayNameMap; HierarchyAnalyser * mHierarchyAnalyser; @@ -205,8 +205,8 @@ private: KAction * mDownloadCertificateAction; KAction * mValidateCertificateAction; - QString mImportCRLTempFile; - QString mCurrentQuery; + TQString mImportCRLTempFile; + TQString mCurrentQuery; std::set<std::string> mPreviouslySelectedFingerprints; bool mNextFindRemote : 1; // state of the combo, i.e. whether the next find action will be remote bool mRemote : 1; // whether the currently displayed items are from a remote listing |