From 905e326a1d1fc90f1626bcb12e01efa387375827 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:28:09 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- atlantik/client/configdlg.cpp | 2 +- atlantik/libatlantikui/portfolioview.cpp | 4 ++-- atlantik/libatlantikui/token.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'atlantik') diff --git a/atlantik/client/configdlg.cpp b/atlantik/client/configdlg.cpp index 28de553c..380f9831 100644 --- a/atlantik/client/configdlg.cpp +++ b/atlantik/client/configdlg.cpp @@ -171,7 +171,7 @@ void ConfigPlayer::chooseImage() void ConfigPlayer::setImage() { TQString filename = locate("data", "atlantik/themes/default/tokens/" + m_playerImage); - if (KStandardDirs::exists(filename)) + if (TDEStandardDirs::exists(filename)) m_playerIcon->setPixmap( TQPixmap(filename) ); } diff --git a/atlantik/libatlantikui/portfolioview.cpp b/atlantik/libatlantikui/portfolioview.cpp index df24c6df..c2a7b1a4 100644 --- a/atlantik/libatlantikui/portfolioview.cpp +++ b/atlantik/libatlantikui/portfolioview.cpp @@ -160,7 +160,7 @@ void PortfolioView::loadIcon() if (!m_imageName.isEmpty()) { TQString filename = locate("data", "atlantik/themes/default/tokens/" + m_imageName); - if (KStandardDirs::exists(filename)) + if (TDEStandardDirs::exists(filename)) m_image = new TQPixmap(filename); } @@ -172,7 +172,7 @@ void PortfolioView::loadIcon() m_imageName = "hamburger.png"; TQString filename = locate("data", "atlantik/themes/default/tokens/" + m_imageName); - if (KStandardDirs::exists(filename)) + if (TDEStandardDirs::exists(filename)) m_image = new TQPixmap(filename); */ } diff --git a/atlantik/libatlantikui/token.cpp b/atlantik/libatlantikui/token.cpp index 81cad373..791062eb 100644 --- a/atlantik/libatlantikui/token.cpp +++ b/atlantik/libatlantikui/token.cpp @@ -97,7 +97,7 @@ void Token::loadIcon() if (!m_imageName.isEmpty()) { TQString filename = locate("data", "atlantik/themes/default/tokens/" + m_imageName); - if (KStandardDirs::exists(filename)) + if (TDEStandardDirs::exists(filename)) m_image = new TQPixmap(filename); } @@ -106,7 +106,7 @@ void Token::loadIcon() m_imageName = "hamburger.png"; TQString filename = locate("data", "atlantik/themes/default/tokens/" + m_imageName); - if (KStandardDirs::exists(filename)) + if (TDEStandardDirs::exists(filename)) m_image = new TQPixmap(filename); } -- cgit v1.2.1