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 | |
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')
-rw-r--r-- | atlantik/libatlantikui/estatedetails.cpp | 10 | ||||
-rw-r--r-- | atlantik/libatlantikui/estateview.cpp | 2 | ||||
-rw-r--r-- | atlantik/libatlantikui/kwrappedlistviewitem.cpp | 2 | ||||
-rw-r--r-- | atlantik/libatlantikui/portfolioview.cpp | 4 | ||||
-rw-r--r-- | atlantik/libatlantikui/token.cpp | 6 |
5 files changed, 12 insertions, 12 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; diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp index 407f80e3..a9f4b83d 100644 --- a/atlantik/libatlantikui/estateview.cpp +++ b/atlantik/libatlantikui/estateview.cpp @@ -401,7 +401,7 @@ void EstateView::paintEvent(TQPaintEvent *) delete quartzBuffer; } - TQFont font = TQFont( KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), TQFont::Normal ); + TQFont font = TQFont( TDEGlobalSettings::generalFont().family(), TDEGlobalSettings::generalFont().pointSize(), TQFont::Normal ); painter.setFont(font); TQString estateName = m_estate->name(); #if defined(TDE_MAKE_VERSION) diff --git a/atlantik/libatlantikui/kwrappedlistviewitem.cpp b/atlantik/libatlantikui/kwrappedlistviewitem.cpp index 38c0d636..eb0a0d9e 100644 --- a/atlantik/libatlantikui/kwrappedlistviewitem.cpp +++ b/atlantik/libatlantikui/kwrappedlistviewitem.cpp @@ -64,7 +64,7 @@ void KWrappedListViewItem::wrapColumn( int c ) if ( !lv ) return; - TQFont font = TQFont( KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), TQFont::Normal ); + TQFont font = TQFont( TDEGlobalSettings::generalFont().family(), TDEGlobalSettings::generalFont().pointSize(), TQFont::Normal ); TQFontMetrics fm = TQFontMetrics( font ); int wrapWidth = lv->width(); diff --git a/atlantik/libatlantikui/portfolioview.cpp b/atlantik/libatlantikui/portfolioview.cpp index 1cd6d2e8..df24c6df 100644 --- a/atlantik/libatlantikui/portfolioview.cpp +++ b/atlantik/libatlantikui/portfolioview.cpp @@ -216,7 +216,7 @@ void PortfolioView::paintEvent(TQPaintEvent *) } painter.setPen(TQt::white); - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), TQFont::Bold)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), TDEGlobalSettings::generalFont().pointSize(), TQFont::Bold)); painter.drawText(ICONSIZE + KDialog::marginHint(), 15, m_player->name()); if ( m_portfolioEstates.count() ) @@ -226,7 +226,7 @@ void PortfolioView::paintEvent(TQPaintEvent *) painter.setPen(TQt::black); painter.setBrush(TQt::white); - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), TQFont::Normal)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), TDEGlobalSettings::generalFont().pointSize(), TQFont::Normal)); painter.drawText(ICONSIZE + KDialog::marginHint(), 30, m_player->host()); } diff --git a/atlantik/libatlantikui/token.cpp b/atlantik/libatlantikui/token.cpp index bb60e5ed..81cad373 100644 --- a/atlantik/libatlantikui/token.cpp +++ b/atlantik/libatlantikui/token.cpp @@ -53,7 +53,7 @@ Token::Token(Player *player, AtlantikBoard *parent, const char *name) : TQWidget m_image = 0; loadIcon(); - setFixedSize(TQSize(TOKEN_ICONSIZE, TOKEN_ICONSIZE + KGlobalSettings::generalFont().pointSize())); + setFixedSize(TQSize(TOKEN_ICONSIZE, TOKEN_ICONSIZE + TDEGlobalSettings::generalFont().pointSize())); } Token::~Token() @@ -140,10 +140,10 @@ void Token::paintEvent(TQPaintEvent *) painter.setPen(TQt::black); painter.setBrush(TQt::black); - painter.drawRect(0, TOKEN_ICONSIZE, width(), KGlobalSettings::generalFont().pointSize()); + painter.drawRect(0, TOKEN_ICONSIZE, width(), TDEGlobalSettings::generalFont().pointSize()); painter.setPen(TQt::white); - painter.setFont(TQFont(KGlobalSettings::generalFont().family(), KGlobalSettings::generalFont().pointSize(), TQFont::DemiBold)); + painter.setFont(TQFont(TDEGlobalSettings::generalFont().family(), TDEGlobalSettings::generalFont().pointSize(), TQFont::DemiBold)); painter.drawText(1, height()-1, (m_player ? m_player->name() : TQString())); b_recreate = false; |