diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kgpg/kgpgview.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-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 'kgpg/kgpgview.h')
-rw-r--r-- | kgpg/kgpgview.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kgpg/kgpgview.h b/kgpg/kgpgview.h index d6183bb..87ff206 100644 --- a/kgpg/kgpgview.h +++ b/kgpg/kgpgview.h @@ -30,7 +30,7 @@ class QDragEnterEvent; //class KgpgDoc; /** The KgpgView class provides the view widget for the KgpgApp instance. - * The View instance inherits QWidget as a base class and represents the view object of a KTMainWindow. As KgpgView is part of the + * The View instance inherits TQWidget as a base class and represents the view object of a KTMainWindow. As KgpgView is part of the * docuement-view model, it needs a reference to the document object connected with it by the KgpgApp class to manipulate and display * the document structure provided by the KgpgDoc class. * @@ -43,25 +43,25 @@ class MyEditor : public KTextEdit Q_OBJECT public: - MyEditor( QWidget *parent = 0, const char *name = 0); + MyEditor( TQWidget *parent = 0, const char *name = 0); private: - QString message,messages,tempFile; + TQString message,messages,tempFile; public slots: - void slotDecodeFile(QString); + void slotDecodeFile(TQString); void slotDroppedFile(KURL url); - void slotProcessResult(QStringList iKeys); - bool slotCheckContent(QString fileToCheck, bool checkForPgpMessage=true); + void slotProcessResult(TQStringList iKeys); + bool slotCheckContent(TQString fileToCheck, bool checkForPgpMessage=true); protected: - void contentsDragEnterEvent( QDragEnterEvent *e ); - void contentsDropEvent( QDropEvent *e ); + void contentsDragEnterEvent( TQDragEnterEvent *e ); + void contentsDropEvent( TQDropEvent *e ); private slots: - void editorUpdateDecryptedtxt(QString newtxt); - void editorFailedDecryptedtxt(QString newtxt); + void editorUpdateDecryptedtxt(TQString newtxt); + void editorFailedDecryptedtxt(TQString newtxt); signals: - void refreshImported(QStringList); + void refreshImported(TQStringList); }; @@ -71,7 +71,7 @@ class KgpgView : public QWidget friend class MyEditor; public: /** Constructor for the main view */ - KgpgView(QWidget *parent = 0, const char *name=0); + KgpgView(TQWidget *parent = 0, const char *name=0); /** Destructor for the main view */ ~KgpgView(); @@ -82,34 +82,34 @@ public: */ // KgpgDoc *getDocument() const; - // QTextEdit *editor; + // TQTextEdit *editor; MyEditor *editor; KURL fselected; bool windowAutoClose; /** contains the implementation for printing functionality */ - // void print(QPrinter *pPrinter); + // void print(TQPrinter *pPrinter); - QPushButton *bouton1,*bouton2,*bouton0; + TQPushButton *bouton1,*bouton2,*bouton0; private: - QString messages; + TQString messages; public slots: void slotdecode(); void clearSign(); private slots: - void slotVerifyResult(QString mssge,QString log); - void slotSignResult(QString signResult); - void slotAskForImport(QString ID); + void slotVerifyResult(TQString mssge,TQString log); + void slotSignResult(TQString signResult); + void slotAskForImport(TQString ID); void popuppublic(); void modified(); - void encodetxt(QStringList selec,QStringList encryptOptions,bool, bool symmetric); - void updatetxt(QString); - void updateDecryptedtxt(QString newtxt); - void failedDecryptedtxt(QString newtxt); - bool checkForUtf8(QString text); + void encodetxt(TQStringList selec,TQStringList encryptOptions,bool, bool symmetric); + void updatetxt(TQString); + void updateDecryptedtxt(TQString newtxt); + void failedDecryptedtxt(TQString newtxt); + bool checkForUtf8(TQString text); signals: void resetEncoding(bool); |