summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/viewsettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdialogpages/viewsettings.cpp')
-rw-r--r--kompare/libdialogpages/viewsettings.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kompare/libdialogpages/viewsettings.cpp b/kompare/libdialogpages/viewsettings.cpp
index c55dd40e..403746b1 100644
--- a/kompare/libdialogpages/viewsettings.cpp
+++ b/kompare/libdialogpages/viewsettings.cpp
@@ -17,7 +17,7 @@
**
***************************************************************************/
-#include <qfont.h>
+#include <tqfont.h>
#include <kconfig.h>
#include <kglobalsettings.h>
@@ -26,12 +26,12 @@
using namespace Diff2;
-const QColor ViewSettings::default_removeColor (190, 237, 190);
-const QColor ViewSettings::default_changeColor (237, 190, 190);
-const QColor ViewSettings::default_addColor (190, 190, 237);
-const QColor ViewSettings::default_appliedColor(237, 237, 190);
+const TQColor ViewSettings::default_removeColor (190, 237, 190);
+const TQColor ViewSettings::default_changeColor (237, 190, 190);
+const TQColor ViewSettings::default_addColor (190, 190, 237);
+const TQColor ViewSettings::default_appliedColor(237, 237, 190);
-ViewSettings::ViewSettings( QWidget* parent )
+ViewSettings::ViewSettings( TQWidget* parent )
: SettingsBase( parent ),
m_removeColor( 0, 0, 0 ),
m_changeColor( 0, 0, 0),
@@ -56,7 +56,7 @@ void ViewSettings::loadSettings( KConfig* config )
m_scrollNoOfLines = cfg.readNumEntry ( "ScrollNoOfLines", 3 );
m_tabToNumberOfSpaces = cfg.readNumEntry ( "TabToNumberOfSpaces", 4 );
- QFont stdFixed = KGlobalSettings::fixedFont();
+ TQFont stdFixed = KGlobalSettings::fixedFont();
stdFixed.setPointSize( 10 );
m_font = cfg.readFontEntry ( "TextFont", &stdFixed );
}
@@ -74,10 +74,10 @@ void ViewSettings::saveSettings( KConfig* config )
cfg.writeEntry( "TextFont", m_font );
}
-QColor ViewSettings::colorForDifferenceType( int type, bool selected, bool applied )
+TQColor ViewSettings::colorForDifferenceType( int type, bool selected, bool applied )
{
// FIXME: does not belong here
- QColor color;
+ TQColor color;
if( applied )
color = m_appliedColor;
else