From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kompare/libdialogpages/viewsettings.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kompare/libdialogpages/viewsettings.cpp') 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 +#include #include #include @@ -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 -- cgit v1.2.1