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("GNUPGHOME", TDESRCDIR "/gnupg_home", 1 );
setenv("LC_ALL", "C", 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" ); KAboutData aboutData( "test_verify", "verify job test", "0.1" );
KCmdLineArgs::init( argc, argv, &aboutData ); KCmdLineArgs::init( argc, argv, &aboutData );

@ -111,7 +111,7 @@ will be displayed:</para>
<para>&kaddressbook; can use multiple resources for loading and storing <para>&kaddressbook; can use multiple resources for loading and storing
its contacts. After starting &kaddressbook; for the first time you will have its contacts. After starting &kaddressbook; for the first time you will have
a default resource installed that saves all contacts in a vCard file 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 by using the Resource Configuration dialog, which is available in
<application>kcontrol</application> under <application>kcontrol</application> under
<guilabel>TDE Components</guilabel>-><guilabel>TDE Resources Configuration</guilabel>:</para> <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 mail?</para></question> <answer> <para>Most &kmail; settings are stored in
<filename>$<envar>TDEHOME</envar>/share/config/kmailrc</filename>, where <filename>$<envar>TDEHOME</envar>/share/config/kmailrc</filename>, where
$<envar>TDEHOME</envar> is typically <filename $<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> <filename>$<envar>TDEHOME</envar>/share/config/emailidentities</filename>
and your mail is saved in <filename and your mail is saved in <filename
class="directory">$<envar>TDEHOME</envar>/share/apps/kmail</filename> (or class="directory">$<envar>TDEHOME</envar>/share/apps/kmail</filename> (or
@ -234,12 +234,12 @@ select <menuchoice><guimenu>Help</guimenu><guimenuitem>&kmail; Introduction</gui
<qandaentry> <qandaentry>
<question><para>Can I configure the location of my mail folder?</para></question> <question><para>Can I configure the location of my mail folder?</para></question>
<answer> <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> 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 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 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/.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 will lose its filters if you change the mail folder's location but forget
to move your existing folders.</para> to move your existing folders.</para>
</answer> </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> <filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/</filename>
folder, where the <filename class="directory">$TDEHOME</filename> environment folder, where the <filename class="directory">$TDEHOME</filename> environment
variable 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; points to the folder that contains your configuration and data for the &kde;
applications. applications.
</para> </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 standard &korganizer; iCalendar file, it will be under the <filename
class="directory">$TDEHOME/share/apps/korganizer/</filename> folder, where the class="directory">$TDEHOME/share/apps/korganizer/</filename> folder, where the
<filename class="directory">$TDEHOME</filename> environment variable (typically <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. that contains your configuration and data for the &kde; applications.
</para> </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 &kde; address book file, it will be under the
<filename class="directory">$TDEHOME/share/apps/kabc/</filename> <filename class="directory">$TDEHOME/share/apps/kabc/</filename>
folder, where the <filename class="directory">$TDEHOME</filename> environment 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; points to the folder that contains your configuration and data for the &kde;
applications. applications.
</para> </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> <filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/User Name/</filename>
folder, allowing you to restore that copy later, if needed. The folder, allowing you to restore that copy later, if needed. The
<filename class="directory">$TDEHOME</filename> environment variable <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; points to the folder that contains your configuration and data for the &kde;
applications.</para> applications.</para>
@ -174,7 +174,7 @@ data entered on the &handheld; since the last backup.
<para> <para>
The data saved on the last backup is located on the <filename class="directory">$TDEHOME/share/apps/kpilot/DBBackup/User Name/</filename> 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 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; points to the folder that contains your configuration and data for the &kde;
applications.</para> 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() void TaskView::clearActiveTasks()
@ -518,7 +518,7 @@ void TaskView::newTask(TQString caption, Task *parent)
if ( uid.isNull() ) if ( uid.isNull() )
{ {
KMessageBox::error( 0, i18n( 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; delete dialog;

@ -130,7 +130,7 @@ int main( int argc, char *argv[] )
// Use another directory than the real one, just to keep things clean // Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database // TDEHOME needs to be writable though, for a ksycoca database
// FIXME: Delete this directory when done with test. // 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. // Copied from Till's test in libkcal. Not sure what this is for.
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup 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>" i18n( "<p><b>KMail import filter</b></p>"
"<p>Select the base directory of the KMail mailfolder you want to import.</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 " "<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>" "in a continuous loop. </p>"
"<p>This filter does not import KMail mailfolders with mbox files.</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 " "<p>Since it is possible to recreate the folder structure, the folders "

@ -27,7 +27,7 @@
# -y <year>, where year is an integer YYYY # -y <year>, where year is an integer YYYY
# default is current year # default is current year
# -f <file>, where file is location of output KDE calendar # -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 # -w <konsolekalendar> where konsolekalendar is located
use strict; use strict;
@ -42,7 +42,7 @@ use Date::Calc qw(Today Month_to_Text
my($konkal)="/usr/bin/konsolekalendar"; my($konkal)="/usr/bin/konsolekalendar";
#location of new TCM KDE calendar #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 #default program execution mode
my($mode)="--add"; 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 // Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database // 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 setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration(); KApplication::disableAutoDcopRegistration();

@ -47,7 +47,7 @@ blue "Wintertijd" on last sunday in october
: Author: Wilbert Berendsen <wbsoft@xs4all.nl> : Author: Wilbert Berendsen <wbsoft@xs4all.nl>
: :
: Kopieer dit bestand eventueel onder een andere naam, maar beginnend : 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. : volgende regels de dubbelepunten weg.
:small "Eerste advent" on sunday before 3.12 :small "Eerste advent" on sunday before 3.12
:small "Tweede advent" on sunday before 10.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 // Use another directory than the real one, just to keep things clean
// TDEHOME needs to be writable though, for a ksycoca database // 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 setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
KApplication::disableAutoDcopRegistration(); KApplication::disableAutoDcopRegistration();

Loading…
Cancel
Save