summaryrefslogtreecommitdiffstats
path: root/knotes/knoteedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knoteedit.h')
-rw-r--r--knotes/knoteedit.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/knotes/knoteedit.h b/knotes/knoteedit.h
index 94760f3a7..00442ae5a 100644
--- a/knotes/knoteedit.h
+++ b/knotes/knoteedit.h
@@ -21,7 +21,7 @@
#ifndef KNOTEEDIT_H
#define KNOTEEDIT_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <ktextedit.h>
@@ -39,12 +39,12 @@ class KNoteEdit : public KTextEdit
{
Q_OBJECT
public:
- KNoteEdit( KActionCollection *actions, QWidget *parent=0, const char *name=0 );
+ KNoteEdit( KActionCollection *actions, TQWidget *parent=0, const char *name=0 );
~KNoteEdit();
- void setText( const QString& text );
- void setTextFont( const QFont& font );
- void setTextColor( const QColor& color );
+ void setText( const TQString& text );
+ void setTextFont( const TQFont& font );
+ void setTextColor( const TQColor& color );
void setTabStop( int tabs );
void setAutoIndentMode( bool newmode );
@@ -69,14 +69,14 @@ public slots:
//void textDecreaseIndent();
protected:
- virtual void contentsDragEnterEvent( QDragEnterEvent *e );
- virtual void contentsDropEvent( QDropEvent *e );
+ virtual void contentsDragEnterEvent( TQDragEnterEvent *e );
+ virtual void contentsDropEvent( TQDropEvent *e );
private slots:
void slotReturnPressed();
- void fontChanged( const QFont &f );
- void colorChanged( const QColor &c );
+ void fontChanged( const TQFont &f );
+ void colorChanged( const TQColor &c );
void alignmentChanged( int a );
void verticalAlignmentChanged( VerticalAlignment a );
@@ -84,7 +84,7 @@ private:
void autoIndent();
virtual bool linksEnabled() const { return true; }
- virtual void emitLinkClicked( const QString &s );
+ virtual void emitLinkClicked( const TQString &s );
void enableRichTextActions();
void disableRichTextActions();