Fix references to user profile directory.

pull/21/head
Darrell Anderson 12 years ago
parent 7a46add987
commit cd3ecd88c6

@ -51,7 +51,7 @@ int main( int argc, char **argv )
{
setenv("GNUPGHOME", TDESRCDIR "/gnupg_home", 1 );
setenv("LC_ALL", "C", 1);
setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1);
setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-unit-test" ), 1);
KAboutData aboutData( "test_verify", "verify job test", "0.1" );
KCmdLineArgs::init( argc, argv, &aboutData );

@ -111,7 +111,7 @@ will be displayed:</para>
<para>&kaddressbook; can use multiple resources for loading and storing
its contacts. After starting &kaddressbook; for the first time you will have
a default resource installed that saves all contacts in a vCard file
under $HOME/.kde/share/apps/kabc/std.vcf; you can add more resources
under $HOME/.trinity/share/apps/kabc/std.vcf; you can add more resources
by using the Resource Configuration dialog, which is available in
<application>kcontrol</application> under
<guilabel>TDE Components</guilabel>-><guilabel>TDE Resources Configuration</guilabel>:</para>

@ -104,7 +104,7 @@ ultimate ownertrust: it is no longer implicitly done for you.</para>
mail?</para></question> <answer> <para>Most &kmail; settings are stored in
<filename>$<envar>TDEHOME</envar>/share/config/kmailrc</filename>, where
$<envar>TDEHOME</envar> is typically <filename
class="directory">~/.kde</filename>; the identities are stored in
class="directory">~/.trinity</filename>; the identities are stored in
<filename>$<envar>TDEHOME</envar>/share/config/emailidentities</filename>
and your mail is saved in <filename
class="directory">$<envar>TDEHOME</envar>/share/apps/kmail</filename> (or
@ -234,12 +234,12 @@ select <menuchoice><guimenu>Help</guimenu><guimenuitem>&kmail; Introduction</gui
<qandaentry>
<question><para>Can I configure the location of my mail folder?</para></question>
<answer>
<para>Exit &kmail;, make a backup of <filename>~/.kde/share/config/kmailrc</filename>,
<para>Exit &kmail;, make a backup of <filename>~/.trinity/share/config/kmailrc</filename>,
then open it with an editor and add &eg; <userinput>folders=/home/username/.mail</userinput>
to the <quote>[General]</quote> section. Then move all your existing folders (including
the hidden index files) to the new location. The next time you start &kmail; will use
<filename class="directory">/home/username/.mail</filename> instead of
<filename class="directory">/home/username/.kde/share/apps/kmail</filename>. Note that &kmail;
<filename class="directory">/home/username/.trinity/share/apps/kmail</filename>. Note that &kmail;
will lose its filters if you change the mail folder's location but forget
to move your existing folders.</para>
</answer>

@ -299,7 +299,7 @@ stores the information from the &PalmPilot;. This folder is created in the
<filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/</filename>
folder, where the <filename class="directory">$TDEHOME</filename> environment
variable
(typically <filename class="directory">/home/Login Name/.kde/</filename>)
(typically <filename class="directory">/home/Login Name/.trinity/</filename>)
points to the folder that contains your configuration and data for the &kde;
applications.
</para>
@ -1052,7 +1052,7 @@ need the filename of the calendar file (this will usually be a file that ends in
standard &korganizer; iCalendar file, it will be under the <filename
class="directory">$TDEHOME/share/apps/korganizer/</filename> folder, where the
<filename class="directory">$TDEHOME</filename> environment variable (typically
<filename class="directory">/home/user/.kde/</filename>) points to the folder
<filename class="directory">/home/user/.trinity/</filename>) points to the folder
that contains your configuration and data for the &kde; applications.
</para>
@ -1404,7 +1404,7 @@ role="extension">.vcf</literal>) to sync with, of if it uses the standard
&kde; address book file, it will be under the
<filename class="directory">$TDEHOME/share/apps/kabc/</filename>
folder, where the <filename class="directory">$TDEHOME</filename> environment
variable (typically <filename class="directory">/home/Login Name/.kde/</filename>)
variable (typically <filename class="directory">/home/Login Name/.trinity/</filename>)
points to the folder that contains your configuration and data for the &kde;
applications.
</para>

@ -136,7 +136,7 @@ On every backup, &kpilot; stores a copy of all your &handheld; data under the
<filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/User Name/</filename>
folder, allowing you to restore that copy later, if needed. The
<filename class="directory">$TDEHOME</filename> environment variable
(typically <filename class="directory">/home/Login Name/.kde/</filename>)
(typically <filename class="directory">/home/Login Name/.trinity/</filename>)
points to the folder that contains your configuration and data for the &kde;
applications.</para>
@ -174,7 +174,7 @@ data entered on the &handheld; since the last backup.
<para>
The data saved on the last backup is located on the <filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/User Name/</filename>
folder. The <filename class="directory">$TDEHOME</filename> environment variable
(typically <filename class="directory">/home/Login Name/.kde/</filename>)
(typically <filename class="directory">/home/Login Name/.trinity/</filename>)
points to the folder that contains your configuration and data for the &kde;
applications.</para>

@ -402,7 +402,7 @@ void TaskView::startTimerFor(Task* task, TQDateTime startTime )
}
}
}
else KMessageBox::error(0,i18n("Saving is impossible, so timing is useless. \nSaving problems may result from a full harddisk, a directory name instead of a file name, or stale locks. Check that your harddisk has enough space, that your calendar file exists and is a file and remove stale locks, typically from ~/.kde/share/apps/kabc/lock."));
else KMessageBox::error(0,i18n("Saving is impossible, so timing is useless. \nSaving problems may result from a full harddisk, a directory name instead of a file name, or stale locks. Check that your harddisk has enough space, that your calendar file exists and is a file and remove stale locks, typically from ~/.trinity/share/apps/kabc/lock."));
}
void TaskView::clearActiveTasks()
@ -518,7 +518,7 @@ void TaskView::newTask(TQString caption, Task *parent)
if ( uid.isNull() )
{
KMessageBox::error( 0, i18n(
"Error storing new task. Your changes were not saved. Make sure you can edit your iCalendar file. Also quit all applications using this file and remove any lock file related to its name from ~/.kde/share/apps/kabc/lock/ " ) );
"Error storing new task. Your changes were not saved. Make sure you can edit your iCalendar file. Also quit all applications using this file and remove any lock file related to its name from ~/.trinity/share/apps/kabc/lock/ " ) );
}
delete dialog;

@ -130,7 +130,7 @@ int main( int argc, char *argv[] )
// Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database
// FIXME: Delete this directory when done with test.
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-testresource" ), true );
// Copied from Till's test in libkcal. Not sure what this is for.
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup

@ -28,7 +28,7 @@ FilterKMail_maildir::FilterKMail_maildir( void ) :
i18n( "<p><b>KMail import filter</b></p>"
"<p>Select the base directory of the KMail mailfolder you want to import.</p>"
"<p><b>Note:</b> Never select your current local KMail maildir (usually "
"~/Mail or ~/.kde/share/apps/kmail/mail ): in this case, KMailCVT may become stuck "
"~/Mail or ~/.trinity/share/apps/kmail/mail ): in this case, KMailCVT may become stuck "
"in a continuous loop. </p>"
"<p>This filter does not import KMail mailfolders with mbox files.</p>"
"<p>Since it is possible to recreate the folder structure, the folders "

@ -27,7 +27,7 @@
# -y <year>, where year is an integer YYYY
# default is current year
# -f <file>, where file is location of output KDE calendar
# default is $HOME/.kde/share/apps/korganizer/tcm.ics
# default is $HOME/.trinity/share/apps/korganizer/tcm.ics
# -w <konsolekalendar> where konsolekalendar is located
use strict;
@ -42,7 +42,7 @@ use Date::Calc qw(Today Month_to_Text
my($konkal)="/usr/bin/konsolekalendar";
#location of new TCM KDE calendar
my($cal)="$HOME/.kde/share/apps/korganizer/tcm.ics";
my($cal)="$HOME/.trinity/share/apps/korganizer/tcm.ics";
#default program execution mode
my($mode)="--add";

@ -56,7 +56,7 @@ int main(int argc, char *argv[])
{
// Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testresource" ), true );
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-testresource" ), true );
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();

@ -47,7 +47,7 @@ blue "Wintertijd" on last sunday in october
: Author: Wilbert Berendsen <wbsoft@xs4all.nl>
:
: Kopieer dit bestand eventueel onder een andere naam, maar beginnend
: met 'holiday_' naar ~/.kde/share/apps/korganizer/ en haal op de
: met 'holiday_' naar ~/.trinity/share/apps/korganizer/ en haal op de
: volgende regels de dubbelepunten weg.
:small "Eerste advent" on sunday before 3.12
:small "Tweede advent" on sunday before 10.12

@ -43,7 +43,7 @@ int main(int argc, char *argv[])
{
// Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-testdistrlist" ), true );
setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-testdistrlist" ), true );
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration();

Loading…
Cancel
Save