summaryrefslogtreecommitdiffstats
path: root/akregator
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:22:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:22:15 -0600
commit5fc6f26e12b596addd235f87320c31761bd5a84d (patch)
tree0a1ff964c23fce07fc088017df4ad537d57e62e5 /akregator
parent12c8a23fe75817cb4bfcd604c1863266dd75e840 (diff)
downloadtdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.tar.gz
tdepim-5fc6f26e12b596addd235f87320c31761bd5a84d.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'akregator')
-rw-r--r--akregator/src/aboutdata.cpp2
-rw-r--r--akregator/src/aboutdata.h2
-rw-r--r--akregator/src/akregator_part.cpp6
-rw-r--r--akregator/src/akregator_part.h6
-rw-r--r--akregator/src/librss/testlibrss.cpp2
-rw-r--r--akregator/src/notificationmanager.cpp2
-rw-r--r--akregator/src/notificationmanager.h4
7 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/aboutdata.cpp b/akregator/src/aboutdata.cpp
index 5400acb90..218101832 100644
--- a/akregator/src/aboutdata.cpp
+++ b/akregator/src/aboutdata.cpp
@@ -29,7 +29,7 @@
namespace Akregator {
AboutData::AboutData()
- : KAboutData("akregator", I18N_NOOP("Akregator"), AKREGATOR_VERSION, I18N_NOOP("A TDE Feed Aggregator"),
+ : TDEAboutData("akregator", I18N_NOOP("Akregator"), AKREGATOR_VERSION, I18N_NOOP("A TDE Feed Aggregator"),
License_GPL, I18N_NOOP("(C) 2004, 2005 Akregator developers"), 0,
"http://akregator.kde.org/")
{
diff --git a/akregator/src/aboutdata.h b/akregator/src/aboutdata.h
index cae660b56..4ccc3a2d5 100644
--- a/akregator/src/aboutdata.h
+++ b/akregator/src/aboutdata.h
@@ -34,7 +34,7 @@ namespace Akregator {
/**
@author Teemu Rytilahti
*/
-class KDE_EXPORT AboutData : public KAboutData
+class KDE_EXPORT AboutData : public TDEAboutData
{
public:
AboutData();
diff --git a/akregator/src/akregator_part.cpp b/akregator/src/akregator_part.cpp
index ffa7c9052..9d9c574eb 100644
--- a/akregator/src/akregator_part.cpp
+++ b/akregator/src/akregator_part.cpp
@@ -766,14 +766,14 @@ void Part::addFeed()
m_view->slotFeedAdd();
}
-KAboutData *Part::createAboutData()
+TDEAboutData *Part::createAboutData()
{
return new Akregator::AboutData;
}
void Part::showKNotifyOptions()
{
- KAboutData* about = new Akregator::AboutData;
+ TDEAboutData* about = new Akregator::AboutData;
KNotifyDialog::configure(m_view, "akregator_knotify_config", about);
delete about;
}
@@ -934,7 +934,7 @@ bool Part::tryToLock(const TQString& backendName)
appName = "akregator";
TQString programName;
- const KAboutData *about = kapp->aboutData();
+ const TDEAboutData *about = kapp->aboutData();
if ( about )
programName = about->programName();
if ( programName.isEmpty() )
diff --git a/akregator/src/akregator_part.h b/akregator/src/akregator_part.h
index d74d4d420..276fb14c0 100644
--- a/akregator/src/akregator_part.h
+++ b/akregator/src/akregator_part.h
@@ -37,7 +37,7 @@
class TQDomDocument;
class TQTimer;
-class KAboutData;
+class TDEAboutData;
class KConfig;
class KURL;
@@ -88,8 +88,8 @@ namespace Akregator
/** Destructor. */
virtual ~Part();
- /** Create KAboutData for this KPart. */
- static KAboutData *createAboutData();
+ /** Create TDEAboutData for this KPart. */
+ static TDEAboutData *createAboutData();
/**
Opens feedlist
diff --git a/akregator/src/librss/testlibrss.cpp b/akregator/src/librss/testlibrss.cpp
index 721c11234..154facbc8 100644
--- a/akregator/src/librss/testlibrss.cpp
+++ b/akregator/src/librss/testlibrss.cpp
@@ -58,7 +58,7 @@ void Tester::slotLoadingComplete( Loader *loader, Document doc, Status status )
int main( int argc, char **argv )
{
- KAboutData aboutData( "testlibrss", "testlibrss", "0.1" );
+ TDEAboutData aboutData( "testlibrss", "testlibrss", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication app;
diff --git a/akregator/src/notificationmanager.cpp b/akregator/src/notificationmanager.cpp
index 6220e97c0..0ab3a4e88 100644
--- a/akregator/src/notificationmanager.cpp
+++ b/akregator/src/notificationmanager.cpp
@@ -52,7 +52,7 @@ NotificationManager::~NotificationManager()
m_self = 0;
}
-void NotificationManager::setWidget(TQWidget* widget, KInstance* inst)
+void NotificationManager::setWidget(TQWidget* widget, TDEInstance* inst)
{
m_widget = widget;
m_instance = inst != NULL ? inst : KGlobal::instance();
diff --git a/akregator/src/notificationmanager.h b/akregator/src/notificationmanager.h
index 0cc6db2e3..1ff1d888f 100644
--- a/akregator/src/notificationmanager.h
+++ b/akregator/src/notificationmanager.h
@@ -44,7 +44,7 @@ class NotificationManager : public TQObject
~NotificationManager();
/** the widget used for notification, normally either the mainwindow or the tray icon */
- void setWidget(TQWidget* widget, KInstance* inst=0);
+ void setWidget(TQWidget* widget, TDEInstance* inst=0);
public slots:
@@ -74,7 +74,7 @@ class NotificationManager : public TQObject
bool m_running;
bool m_addedInLastInterval;
TQWidget* m_widget;
- KInstance* m_instance;
+ TDEInstance* m_instance;
TQValueList<Article> m_articles;