diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:45:16 -0600 |
commit | f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch) | |
tree | b312fd7d5b7a34b88941b2fc50661431637b78b4 /atlantik/libatlantikui/estatedetails.cpp | |
parent | 23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff) | |
download | tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'atlantik/libatlantikui/estatedetails.cpp')
-rw-r--r-- | atlantik/libatlantikui/estatedetails.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/atlantik/libatlantikui/estatedetails.cpp b/atlantik/libatlantikui/estatedetails.cpp index 4a601ddf..e4e52ea1 100644 --- a/atlantik/libatlantikui/estatedetails.cpp +++ b/atlantik/libatlantikui/estatedetails.cpp @@ -174,11 +174,11 @@ void EstateDetails::paintEvent(TQPaintEvent *) // Estate name painter.setPen(TQt::white); - int fontSize = KGlobalSettings::generalFont().pointSize(); + int fontSize = TDEGlobalSettings::generalFont().pointSize(); if (fontSize == -1) - fontSize = KGlobalSettings::generalFont().pixelSize(); + fontSize = TDEGlobalSettings::generalFont().pixelSize(); - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), fontSize * 2, TQFont::Bold)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), fontSize * 2, TQFont::Bold)); painter.drawText(KDialog::marginHint(), KDialog::marginHint(), width()-KDialog::marginHint(), titleHeight, TQt::AlignJustify, m_estate->name()); painter.setPen(TQt::black); @@ -189,12 +189,12 @@ void EstateDetails::paintEvent(TQPaintEvent *) if (m_estate->estateGroup()) { xText = titleHeight - fontSize - KDialog::marginHint(); - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), fontSize, TQFont::Bold)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), fontSize, TQFont::Bold)); painter.drawText(5, xText, width()-10, titleHeight, TQt::AlignRight, m_estate->estateGroup()->name().upper()); } xText = titleHeight + fontSize + 5; - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), fontSize, TQFont::Normal)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), fontSize, TQFont::Normal)); } b_recreate = false; |