summaryrefslogtreecommitdiffstats
path: root/kmail/kmedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmedit.h')
-rw-r--r--kmail/kmedit.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kmail/kmedit.h b/kmail/kmedit.h
index 384b36f3..a44642ba 100644
--- a/kmail/kmedit.h
+++ b/kmail/kmedit.h
@@ -7,9 +7,9 @@
#include <kdeversion.h>
#include <keditcl.h>
-#include <qmap.h>
-#include <qstringlist.h>
-#include <qclipboard.h>
+#include <tqmap.h>
+#include <tqstringlist.h>
+#include <tqclipboard.h>
class KMComposeWin;
class KSpellConfig;
@@ -25,7 +25,7 @@ class QPopupMenu;
class KMEdit : public KEdit {
Q_OBJECT
public:
- KMEdit(QWidget *parent=0,KMComposeWin* composer=0,
+ KMEdit(TQWidget *parent=0,KMComposeWin* composer=0,
KSpellConfig* spellConfig = 0,
const char *name=0);
~KMEdit();
@@ -38,7 +38,7 @@ public:
/**
* Text with lines breaks inserted after every row
*/
- QString brokenText();
+ TQString brokenText();
/**
* Toggle automatic spellchecking
@@ -49,7 +49,7 @@ public:
* For the external editor
*/
void setUseExternalEditor( bool use ) { mUseExtEditor = use; }
- void setExternalEditorPath( const QString & path ) { mExtEditor = path; }
+ void setExternalEditorPath( const TQString & path ) { mExtEditor = path; }
/**
* Check that the external editor has finished and output a warning
@@ -59,13 +59,13 @@ public:
*/
bool checkExternalEditorFinished();
- QPopupMenu* createPopupMenu(const QPoint&);
+ TQPopupMenu* createPopupMenu(const TQPoint&);
void setSpellCheckingActive(bool spellCheckingActive);
/** Drag and drop methods */
- void contentsDragEnterEvent(QDragEnterEvent *e);
- void contentsDragMoveEvent(QDragMoveEvent *e);
- void contentsDropEvent(QDropEvent *e);
+ void contentsDragEnterEvent(TQDragEnterEvent *e);
+ void contentsDragMoveEvent(TQDragMoveEvent *e);
+ void contentsDropEvent(TQDropEvent *e);
void deleteAutoSpellChecking();
@@ -76,7 +76,7 @@ public:
signals:
void spellcheck_done(int result);
- void attachPNGImageData(const QByteArray &image);
+ void attachPNGImageData(const TQByteArray &image);
void pasteImage();
void focusUp();
void focusChanged( bool );
@@ -84,12 +84,12 @@ signals:
public slots:
void initializeAutoSpellChecking();
void slotSpellcheck2(KSpell*);
- void slotSpellResult(const QString&);
+ void slotSpellResult(const TQString&);
void slotSpellDone();
void slotExternalEditorDone(KProcess*);
- void slotMisspelling(const QString &, const QStringList &, unsigned int);
- void slotCorrected (const QString &, const QString &, unsigned int);
- void addSuggestion(const QString& text, const QStringList& lst, unsigned int );
+ void slotMisspelling(const TQString &, const TQStringList &, unsigned int);
+ void slotCorrected (const TQString &, const TQString &, unsigned int);
+ void addSuggestion(const TQString& text, const TQStringList& lst, unsigned int );
void cut();
void clear();
void del();
@@ -98,13 +98,13 @@ protected:
/**
* Event filter that does Tab-key handling.
*/
- bool eventFilter(QObject*, QEvent*);
- void keyPressEvent( QKeyEvent* );
+ bool eventFilter(TQObject*, TQEvent*);
+ void keyPressEvent( TQKeyEvent* );
- void contentsMouseReleaseEvent( QMouseEvent * e );
+ void contentsMouseReleaseEvent( TQMouseEvent * e );
private slots:
- void slotExternalEditorTempFileChanged( const QString & fileName );
+ void slotExternalEditorTempFileChanged( const TQString & fileName );
private:
void killExternalEditor();
@@ -114,13 +114,13 @@ private:
KSpell *mKSpell;
KSpellConfig *mSpellConfig;
- QMap<QString,QStringList> mReplacements;
+ TQMap<TQString,TQStringList> mReplacements;
SpellingFilter* mSpellingFilter;
KTempFile *mExtEditorTempFile;
KDirWatch *mExtEditorTempFileWatcher;
KProcess *mExtEditorProcess;
bool mUseExtEditor;
- QString mExtEditor;
+ TQString mExtEditor;
bool mWasModifiedBeforeSpellCheck;
KDictSpellingHighlighter *mSpellChecker;
bool mSpellLineEdit;