summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/chatwindow/krichtexteditpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/chatwindow/krichtexteditpart.h')
-rw-r--r--kopete/kopete/chatwindow/krichtexteditpart.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kopete/kopete/chatwindow/krichtexteditpart.h b/kopete/kopete/chatwindow/krichtexteditpart.h
index cd32993c..06c4b80d 100644
--- a/kopete/kopete/chatwindow/krichtexteditpart.h
+++ b/kopete/kopete/chatwindow/krichtexteditpart.h
@@ -5,8 +5,8 @@
#include <kparts/part.h>
-#include <qfont.h>
-#include <qcolor.h>
+#include <tqfont.h>
+#include <tqcolor.h>
class KAboutData;
class KTextEdit;
@@ -16,7 +16,7 @@ class KToggleAction;
class KopeteTextEdit;
/**
- * KParts wrapper for QTextEdit.
+ * KParts wrapper for TQTextEdit.
*
* Originally by Richard Moore, rich@kde.org
* forked by Jason Keirstead
@@ -26,21 +26,21 @@ class KopeteRichTextEditPart : public KParts::ReadOnlyPart
Q_OBJECT
public:
- KopeteRichTextEditPart( QWidget *wparent, const char *wname, QObject*, const char*, const QStringList& );
- KopeteRichTextEditPart( QWidget *wparent, const char *wname, int capabilities );
+ KopeteRichTextEditPart( TQWidget *wparent, const char *wname, TQObject*, const char*, const TQStringList& );
+ KopeteRichTextEditPart( TQWidget *wparent, const char *wname, int capabilities );
/**
* Returns the current editor widget.
*/
KTextEdit *widget() const { return (KTextEdit*)editor; }
- QString text( Qt::TextFormat = Qt::AutoText ) const;
+ TQString text( Qt::TextFormat = Qt::AutoText ) const;
- QFont font() { return mFont; }
+ TQFont font() { return mFont; }
- QColor fgColor();
+ TQColor fgColor();
- QColor bgColor();
+ TQColor bgColor();
void clear();
@@ -57,14 +57,14 @@ class KopeteRichTextEditPart : public KParts::ReadOnlyPart
public slots:
void setFgColor();
- void setFgColor( const QColor & );
+ void setFgColor( const TQColor & );
void setBgColor();
- void setBgColor( const QColor & );
+ void setBgColor( const TQColor & );
void setFont();
- void setFont( const QFont & );
- void setFont( const QString & );
+ void setFont( const TQFont & );
+ void setFont( const TQString & );
void setFontSize( int );
@@ -131,9 +131,9 @@ class KopeteRichTextEditPart : public KParts::ReadOnlyPart
bool m_configWriteLock;
- QFont mFont;
- QColor mBgColor;
- QColor mFgColor;
+ TQFont mFont;
+ TQColor mBgColor;
+ TQColor mFgColor;
};
#endif // KRICHTEXTEDITPART_H