Rename additional KDE strings

pull/1/head
Timothy Pearson 13 years ago
parent 00d2914a62
commit 247f828db1

@ -101,9 +101,9 @@ void KDevDriver::setup()
addMacro( Macro( "__cplusplus", "1" ) );
///@todo maybe remove the following? Is there any normal user who has his environment set up correctly so this is of any use?
TQString kdedir = getenv( "TDEDIR" );
if( !kdedir.isNull() )
addIncludePath( kdedir + "/include" );
TQString tdedir = getenv( "TDEDIR" );
if( !tdedir.isNull() )
addIncludePath( tdedir + "/include" );
TQString qmakespec = getenv( "QMAKESPEC" );
if ( qmakespec.isNull() )

@ -82,9 +82,9 @@ public:
// code provided by Reginald Stadlbauer <reggie@trolltech.com>
void setup()
{
TQString kdedir = getenv( "TDEDIR" );
if ( !kdedir.isNull() )
addIncludePath( kdedir + "/include" );
TQString tdedir = getenv( "TDEDIR" );
if ( !tdedir.isNull() )
addIncludePath( tdedir + "/include" );
TQString qtdir = getenv( "QTDIR" );
if ( !qtdir.isNull() )
@ -205,7 +205,7 @@ int main( int argc, char* argv[] )
bool rec = false;
bool parseAllFiles = false;
TQString datadir = stddir.localkdedir() + "/" + KStandardDirs::kde_default( "data" );
TQString datadir = stddir.localtdedir() + "/" + KStandardDirs::kde_default( "data" );
if ( ! KStandardDirs::makeDir( datadir + "/kdevcppsupport/pcs/" ) )
{
kdWarning() << "*error* " << "could not create " << datadir + "/kdevcppsupport/pcs/" << endl << endl;

@ -42,13 +42,13 @@ SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl )
: SettingsDialogBase( parent, name, fl )
{
KApplication::kApplication()->dirs()->addResourceType("include","include");
TQStringList kdedirs=KApplication::kApplication()->dirs()->findDirs("include","");
for( TQStringList::Iterator it=kdedirs.begin(); it!=kdedirs.end(); ++it )
TQStringList tdedirs=KApplication::kApplication()->dirs()->findDirs("include","");
for( TQStringList::Iterator it=tdedirs.begin(); it!=tdedirs.end(); ++it )
{
TQString kdedir = *it;
if ( !kdedir.isEmpty() && isValidKDELibsDir( kdedir ) )
if ( !kdeListBox->findItem( kdedir, ExactMatch ) )
kdeListBox->insertItem( kdedir );
TQString tdedir = *it;
if ( !tdedir.isEmpty() && isValidKDELibsDir( tdedir ) )
if ( !kdeListBox->findItem( tdedir, ExactMatch ) )
kdeListBox->insertItem( tdedir );
}
kdeUrl->setMode( KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly );

@ -80,7 +80,7 @@ PluginController::PluginController()
: KDevPluginController()
{
/* m_defaultProfile = TQString::tqfromLatin1( "FullIDE" );
m_defaultProfilePath = kapp->dirs()->localkdedir() + "/" +
m_defaultProfilePath = kapp->dirs()->localtdedir() + "/" +
KStandardDirs::kde_default( "data" ) +
TQString::tqfromLatin1("/tdevelop/profiles/FullIDE");*/

Loading…
Cancel
Save