Minor tdevelop->kdevelop restorations in support of commit 722ce1ef.

pull/1/head
Darrell Anderson 10 years ago
parent 562837407f
commit 2c241008bc

@ -12,7 +12,7 @@
This way the .tdevelop file can be shared in teams of developers. This way the .tdevelop file can be shared in teams of developers.
\section TDevelop2compat KDevelop 2 compatibility \section KDevelop2compat KDevelop 2 compatibility
(These are things that must be accomplished before we can say that KDevelop 3 (These are things that must be accomplished before we can say that KDevelop 3
>= tdevelop 2.x UI-wise and functionality-wise!) >= tdevelop 2.x UI-wise and functionality-wise!)

@ -1127,7 +1127,7 @@ and <filename>hello.kdevses</filename>.</para>
<para>Of particular importance in each project is the <para>Of particular importance in each project is the
<filename>xxx.tdevelop</filename> (where <quote>xxx</quote> denotes the project <filename>xxx.tdevelop</filename> (where <quote>xxx</quote> denotes the project
name) file. It is the main <emphasis>TDevelop 3 Project File</emphasis> and name) file. It is the main <emphasis>TDevelop Project File</emphasis> and
needed if you later want load this project into the &IDE;.</para> needed if you later want load this project into the &IDE;.</para>
<warning> <warning>

@ -45,7 +45,7 @@
<title>Converting Old TDevelop Project Files</title> <title>Converting Old TDevelop Project Files</title>
<para> <para>
&tdevelop; allows you to open old TDevelop 2.x project files and convert them to &tdevelop; files. To do so go to <guimenuitem>Open Project...</guimenuitem> and select <guilabel>TDevelop 2 project files</guilabel> in the <guilabel>Filter:</guilabel>. Then select project file you want to open. The project gets converted to &tdevelop; and saved as a <guilabel>&tdevelop; project file</guilabel>. &tdevelop; allows you to open old KDevelop 2.x project files and convert them to &tdevelop; files. To do so go to <guimenuitem>Open Project...</guimenuitem> and select <guilabel>KDevelop 2 project files</guilabel> in the <guilabel>Filter:</guilabel>. Then select project file you want to open. The project gets converted to &tdevelop; and saved as a <guilabel>&tdevelop; project file</guilabel>.
</para> </para>
</sect2> <!-- converting-projects --> </sect2> <!-- converting-projects -->

@ -1,14 +1,14 @@
<!DOCTYPE tdeveloptoc> <!DOCTYPE tdeveloptoc>
<tdeveloptoc> <tdeveloptoc>
<title>Qt Designer-3 and TDevelop-3</title> <title>Qt Designer-3 and TDevelop-3</title>
<base href="http://women.kde.org/articles/tutorials/tdevelop3"/> <base href="http://women.kde.org/articles/tutorials/kdevelop3"/>
<tocsect1 name="Index" url="index.html"> <tocsect1 name="Index" url="index.html">
</tocsect1> </tocsect1>
<tocsect1 name="Introduction" url="introduction.html"> <tocsect1 name="Introduction" url="introduction.html">
</tocsect1> </tocsect1>
<tocsect1 name="Requirements" url="requirements.html"> <tocsect1 name="Requirements" url="requirements.html">
<tocsect2 name="How to get Qt Designer" url="requirements.html"/> <tocsect2 name="How to get Qt Designer" url="requirements.html"/>
<tocsect2 name="How to get TDevelop 3" url="get-kevelop.html"/> <tocsect2 name="How to get TDevelop" url="get-kevelop.html"/>
<tocsect2 name="Lexicon" url="lexicon.html"/> <tocsect2 name="Lexicon" url="lexicon.html"/>
</tocsect1> </tocsect1>
<tocsect1 name="Creating the application" url="creating.html"> <tocsect1 name="Creating the application" url="creating.html">

@ -252,7 +252,7 @@ void ClassViewWidget::insertFile( const TQString& fileName )
} }
break; break;
case TDevelop2ViewMode: case KDevelop2ViewMode:
{ {
} }
break; break;
@ -293,7 +293,7 @@ void ClassViewWidget::removeFile( const TQString& fileName )
} }
break; break;
case TDevelop2ViewMode: case KDevelop2ViewMode:
{ {
} }
break; break;

@ -51,7 +51,7 @@ public:
enum ViewMode enum ViewMode
{ {
KDevelop3ViewMode = 0, KDevelop3ViewMode = 0,
TDevelop2ViewMode, KDevelop2ViewMode,
JavaLikeViewMode JavaLikeViewMode
}; };

@ -97,7 +97,7 @@ void ProjectManager::createActions( TDEActionCollection* ac )
this, TQT_SLOT(slotOpenProject()), this, TQT_SLOT(slotOpenProject()),
ac, "project_open"); ac, "project_open");
action->setToolTip( i18n("Open project")); action->setToolTip( i18n("Open project"));
action->setWhatsThis(i18n("<b>Open project</b><p>Opens a KDevelop3 or TDevelop2 project.")); action->setWhatsThis(i18n("<b>Open project</b><p>Opens a KDevelop3 or KDevelop2 project."));
m_openRecentProjectAction = m_openRecentProjectAction =
new TDERecentFilesAction(i18n("Open &Recent Project"), 0, new TDERecentFilesAction(i18n("Open &Recent Project"), 0,
@ -138,7 +138,7 @@ void ProjectManager::slotOpenProject()
return; return;
if (url.path().endsWith("tdevprj")) if (url.path().endsWith("tdevprj"))
loadTDevelop2Project( url ); loadKDevelop2Project( url );
else else
loadProject( url ); loadProject( url );
} }
@ -611,7 +611,7 @@ ProjectSession* ProjectManager::projectSession() const
return m_pProjectSession; return m_pProjectSession;
} }
bool ProjectManager::loadTDevelop2Project( const KURL & url ) bool ProjectManager::loadKDevelop2Project( const KURL & url )
{ {
if( !url.isValid() || !url.isLocalFile() ){ if( !url.isValid() || !url.isLocalFile() ){
KMessageBox::sorry(0, i18n("Invalid URL.")); KMessageBox::sorry(0, i18n("Invalid URL."));

@ -65,7 +65,7 @@ public:
public slots: public slots:
bool loadProject( const KURL& url); bool loadProject( const KURL& url);
bool loadTDevelop2Project( const KURL& url); bool loadKDevelop2Project( const KURL& url);
bool closeProject( bool exiting = false ); bool closeProject( bool exiting = false );
private slots: private slots:

Loading…
Cancel
Save