summaryrefslogtreecommitdiffstats
path: root/languages/cpp/createpcsdialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /languages/cpp/createpcsdialog.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'languages/cpp/createpcsdialog.cpp')
-rw-r--r--languages/cpp/createpcsdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/languages/cpp/createpcsdialog.cpp b/languages/cpp/createpcsdialog.cpp
index 0f390477..9cca7ef8 100644
--- a/languages/cpp/createpcsdialog.cpp
+++ b/languages/cpp/createpcsdialog.cpp
@@ -17,8 +17,8 @@
#include "setuphelper.h"
#include <catalog.h>
-#include <tdevpcsimporter.h>
-#include <tdevcoderepository.h>
+#include <kdevpcsimporter.h>
+#include <kdevcoderepository.h>
#include <tdeparts/componentfactory.h>
@@ -132,12 +132,12 @@ private:
class PCSListViewItem: public TDEListViewItem
{
public:
- PCSListViewItem( KService::Ptr ptr, TDevPCSImporter* importer, TQListViewItem* parent )
+ PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListViewItem* parent )
: TDEListViewItem( parent ), m_importer( importer )
{
init( ptr );
}
- PCSListViewItem( KService::Ptr ptr, TDevPCSImporter* importer, TQListView* parent )
+ PCSListViewItem( KService::Ptr ptr, KDevPCSImporter* importer, TQListView* parent )
: TDEListViewItem( parent ), m_importer( importer )
{
init( ptr );
@@ -155,13 +155,13 @@ public:
setPixmap( 0, SmallIcon( ptr->icon() ) );
}
- TDevPCSImporter* importer()
+ KDevPCSImporter* importer()
{
return m_importer;
}
private:
- TDevPCSImporter* m_importer;
+ KDevPCSImporter* m_importer;
};
class CreatePCSDialog::PCSJobData
@@ -212,7 +212,7 @@ CreatePCSDialog::CreatePCSDialog( CppSupportPart* part, TQWidget* parent, const
KService::Ptr ptr = *it;
int error = 0;
- TDevPCSImporter* importer = KParts::ComponentFactory::createInstanceFromService<TDevPCSImporter>( ptr, TQT_TQOBJECT(this), ptr->name().latin1(), TQStringList(), &error );
+ KDevPCSImporter* importer = KParts::ComponentFactory::createInstanceFromService<KDevPCSImporter>( ptr, TQT_TQOBJECT(this), ptr->name().latin1(), TQStringList(), &error );
if ( importer )
{
new PCSListViewItem( ptr, importer, importerListView );
@@ -272,7 +272,7 @@ void CreatePCSDialog::slotSelected( const TQString & )
if ( m_settings )
delete( m_settings );
- TDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() ) ->importer();
+ KDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() ) ->importer();
m_settings = importer->createSettingsPage( settingsPage );
setNextEnabled( currentPage(), false );
setHelpEnabled( currentPage(), false );
@@ -286,7 +286,7 @@ void CreatePCSDialog::slotSelected( const TQString & )
}
else if ( currentPage() == descriptionPage )
{
- TDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() )->importer();
+ KDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() )->importer();
filename_edit->setText( importer->dbName() );
}
else if ( currentPage() == finalPage )
@@ -294,7 +294,7 @@ void CreatePCSDialog::slotSelected( const TQString & )
setBackEnabled( currentPage(), false );
setNextEnabled( currentPage(), false );
- TDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() )->importer();
+ KDevPCSImporter* importer = static_cast<PCSListViewItem*>( importerListView->selectedItem() )->importer();
TQStringList fileList = importer->fileList();
progressBar->setTotalSteps( fileList.size() );
progressBar->setPercentageVisible( true );