summaryrefslogtreecommitdiffstats
path: root/kbabel/common
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 00:38:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 00:38:51 -0600
commit44ff5a3c798fe9c44df30cc898fbdffa44784d56 (patch)
tree7e804b8a5d5d8f4e653766a8a867972e5e39eb38 /kbabel/common
parent5b6f5139f2f455cee37445c26a7036c76d7376bc (diff)
downloadtdesdk-44ff5a3c798fe9c44df30cc898fbdffa44784d56.tar.gz
tdesdk-44ff5a3c798fe9c44df30cc898fbdffa44784d56.zip
Rename KShared
Diffstat (limited to 'kbabel/common')
-rw-r--r--kbabel/common/kbproject.cpp4
-rw-r--r--kbabel/common/kbproject.h10
-rw-r--r--kbabel/common/kbprojectmanager.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/kbabel/common/kbproject.cpp b/kbabel/common/kbproject.cpp
index f876627f..9700c08f 100644
--- a/kbabel/common/kbproject.cpp
+++ b/kbabel/common/kbproject.cpp
@@ -91,7 +91,7 @@ Project::Project( const TQString& file ) :
}
}
- _config = KSharedConfig::openConfig (_filename, false, false);
+ _config = TDESharedConfig::openConfig (_filename, false, false);
kdDebug (KBABEL) << "Opened project " << _filename << endl;
// read the project name
@@ -196,7 +196,7 @@ TDEConfig* Project::config ()
return _config;
}
-KSharedConfig* Project::sharedConfig( void )
+TDESharedConfig* Project::sharedConfig( void )
{
return _config;
}
diff --git a/kbabel/common/kbproject.h b/kbabel/common/kbproject.h
index cedc97c8..85473328 100644
--- a/kbabel/common/kbproject.h
+++ b/kbabel/common/kbproject.h
@@ -43,12 +43,12 @@ namespace KBabel
{
class ProjectSettingsBase;
- class KDE_EXPORT Project : public TQObject, public KShared
+ class KDE_EXPORT Project : public TQObject, public TDEShared
{
Q_OBJECT
public:
- typedef KSharedPtr <Project> Ptr;
+ typedef TDESharedPtr <Project> Ptr;
Project( const TQString& file );
virtual ~Project ();
@@ -60,10 +60,10 @@ namespace KBabel
TDEConfig* config ();
/**
- * Returns the KSharedConfig pointer of the project data
+ * Returns the TDESharedConfig pointer of the project data
* @since 1.11.2 (KDE 3.5.2)
*/
- KSharedConfig* sharedConfig( void );
+ TDESharedConfig* sharedConfig( void );
ProjectSettingsBase* settings ();
@@ -101,7 +101,7 @@ namespace KBabel
TQString _filename;
TQString _name;
bool _valid;
- KSharedConfig::Ptr _config;
+ TDESharedConfig::Ptr _config;
ProjectSettingsBase* _settings;
};
diff --git a/kbabel/common/kbprojectmanager.cpp b/kbabel/common/kbprojectmanager.cpp
index 77a2fb9d..7b369ad7 100644
--- a/kbabel/common/kbprojectmanager.cpp
+++ b/kbabel/common/kbprojectmanager.cpp
@@ -93,7 +93,7 @@ Project::Ptr ProjectManager::create()
void ProjectManager::remove( Project* ref )
{
- kdDebug() << k_funcinfo << " Final remove of project " << (void*) ref << " count remaining: " << ref->_KShared_count() << endl;
+ kdDebug() << k_funcinfo << " Final remove of project " << (void*) ref << " count remaining: " << ref->_TDEShared_count() << endl;
p_list.remove (ref);
}