Fix references to user profile directory.

pull/1/head
Darrell Anderson 12 years ago
parent 2440b621cc
commit 7ccec9def5

@ -135,7 +135,7 @@ if [ `id -u` = 0 ]; then
# we are root so install the template into the global kde directory
kde_dir=`tde-config --prefix`
else
# we are a user so install it into $HOME/.kde/share/apps/kdevappwizard directory
# we are a user so install it into $HOME/.trinity/share/apps/kdevappwizard directory
kde_dir=`tde-config --localprefix`
echo "Note: It would be better to install as root. Press CTRL+C to abort"
fi

@ -195,7 +195,7 @@ void GDBBreakpointWidget::savePartialProjectSession(QDomElement* el)
</pre></code>
Note that the .kdevses is related to a project. User settings equal for all projects don't
belong to here. You save them to ~/.kde/share/config/tdeveloprc via class KConfig of the
belong to here. You save them to ~/.trinity/share/config/tdeveloprc via class KConfig of the
tdecore library.
Document your part in the way described at \ref howToDocument (doc/api/HowToDocument.dox file).

@ -2101,7 +2101,7 @@ bool CppSupportPart::isValidSource( const TQString& fileName ) const
return /*project() && project() ->isProjectFile( path )
&&*/ ( isSource( path ) || isHeader( path ) )
&& !TQFile::exists( fileInfo.dirPath( true ) + "/.kdev_ignore" );
&& !TQFile::exists( fileInfo.dirPath( true ) + "/.tdev_ignore" );
}
TQString CppSupportPart::formatModelItem( const CodeModelItem *item, bool shortDescription )

@ -787,7 +787,7 @@ void JavaSupportPart::removeWithReferences( const TQString & fileName )
bool JavaSupportPart::isValidSource( const TQString& fileName ) const
{
TQFileInfo fileInfo( fileName );
return fileExtensions().contains( fileInfo.extension() ) && !TQFile::exists(fileInfo.dirPath(true) + "/.kdev_ignore");
return fileExtensions().contains( fileInfo.extension() ) && !TQFile::exists(fileInfo.dirPath(true) + "/.tdev_ignore");
}
TQString JavaSupportPart::formatModelItem( const CodeModelItem *item, bool shortDescription )

@ -119,7 +119,7 @@ public:
KURL::List resourcesRecursive(const TQString &profileName, const TQString &nameFilter);
/**Adds a resource for the profile. Resource will be copied to the user profile directory
(like $HOME/.kde/share/apps/tdevelop/profiles/...).
(like $HOME/.trinity/share/apps/tdevelop/profiles/...).
@param profileName A name of the profile.
@param url The url to a file to copy as a profile resource.*/
void addResource(const TQString &profileName, const KURL &url);

Loading…
Cancel
Save