summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoFontDia.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoFontDia.h')
-rw-r--r--lib/kotext/KoFontDia.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/kotext/KoFontDia.h b/lib/kotext/KoFontDia.h
index fa43dc5e..cd170764 100644
--- a/lib/kotext/KoFontDia.h
+++ b/lib/kotext/KoFontDia.h
@@ -21,9 +21,9 @@
#define __kofontdia_h__
#include <kfontdialog.h>
-#include <qtabwidget.h>
+#include <tqtabwidget.h>
#include <KoTextFormat.h>
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
#include <koffice_export.h>
#include "KoFontTab.h"
@@ -36,19 +36,20 @@
#include <kspell2/broker.h>
-class QComboBox;
+class TQComboBox;
class KOTEXT_EXPORT KoFontDia : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/// If your application supports spell-checking, pass here the KSpell2 Broker
/// so that the font dialog can show which languages are supported for spellchecking.
KoFontDia( const KoTextFormat& initialFormat,
KSpell2::Broker::Ptr broker = 0,
- QWidget* parent = 0, const char* name = 0 );
+ TQWidget* tqparent = 0, const char* name = 0 );
int changedFlags() const { return m_changedFlags; }
@@ -62,18 +63,18 @@ protected slots:
void slotFontBoldChanged();
void slotFontItalicChanged();
void slotFontSizeChanged();
- void slotFontColorChanged( const QColor& color );
- void slotBackgroundColorChanged( const QColor& color );
+ void slotFontColorChanged( const TQColor& color );
+ void slotBackgroundColorChanged( const TQColor& color );
void slotCapitalisationChanged( int item );
void slotUnderlineChanged( int item );
void slotUnderlineStyleChanged( int item );
- void slotUnderlineColorChanged( const QColor &color );
+ void slotUnderlineColorChanged( const TQColor &color );
void slotStrikethroughChanged( int item );
void slotStrikethroughStyleChanged( int item );
void slotWordByWordChanged( bool state );
void slotShadowDistanceChanged( double distance );
void slotShadowDirectionChanged( int direction );
- void slotShadowColorChanged( const QColor &color );
+ void slotShadowColorChanged( const TQColor &color );
void slotSubSuperChanged();
void slotOffsetChanged( int offset );
void slotRelativeSizeChanged( double relativeSize );
@@ -90,7 +91,7 @@ private:
KoFontTab *fontTab;
KoHighlightingTab *highlightingTab;
KoDecorationTab *decorationTab;
- KoLayoutTab *layoutTab;
+ KoLayoutTab *tqlayoutTab;
KoLanguageTab *languageTab;
KoFontDiaPreview *fontDiaPreview;