Browse Source

Fix references to user profile directory.

tags/r14.0.0
Darrell Anderson 6 years ago
parent
commit
e256298e9d

+ 1
- 1
README View File

@@ -166,7 +166,7 @@ See also the file DEBUG.
166 166
 Upgrading
167 167
 ---------
168 168
 If you have an tdebase older than 3.0 installed, just copy all your .k*rc
169
-files from $HOME to $HOME/.kde/share/config. In the other case, default
169
+files from $HOME to $HOME/.trinity/share/config. In the other case, default
170 170
 values are used for most apps.
171 171
 
172 172
 

+ 3
- 3
kab/addressbook.h View File

@@ -113,9 +113,9 @@ class CategoriesMap : public TQMap<int, TQString>
113 113
  *  instances of the program may use different data files.  Read-only addressbook
114 114
  *  files are possible. <BR>
115 115
  *  Only one configuration file per user is used, it is <BR>
116
- *  <TT>   ~/.kde/share/apps/kab/kab.config </TT> <BR>
116
+ *  <TT>   ~/.trinity/share/apps/kab/kab.config </TT> <BR>
117 117
  *  A standard user file will automatically be created as <BR> 
118
- *  <TT>   ~/.kde/share/apps/kab/addressbook.kab </TT> <BR>
118
+ *  <TT>   ~/.trinity/share/apps/kab/addressbook.kab </TT> <BR>
119 119
  *  File changes are watched by the program, so every instance will automatically
120 120
  *  update its database on a change of the opened file. 
121 121
  *
@@ -564,7 +564,7 @@ public:
564 564
   /**
565 565
    * Creates the local configuration file. The filename is fixed to
566 566
    * \c kab.config, it will be created in the local kab directory
567
-   * (\c $HOME/.kde/share/apps/kab). Adapt the global configuration template
567
+   * (\c $HOME/.trinity/share/apps/kab). Adapt the global configuration template
568 568
    * file (\c $TDEDIR/share/apps/kab/template.config) for unusual site-specific
569 569
    * settings.
570 570
    * The method does not load the new config file.

+ 1
- 1
kab/kabapi.h View File

@@ -82,7 +82,7 @@ public:
82 82
   KabAPI(TQWidget* parent=0, const char* name=0);
83 83
   /**
84 84
    * You must call init before accessing the database. init opens the
85
-   * database file (usually $HOME/.kde/share/apps/kab/addressbook.database)
85
+   * database file (usually $HOME/.trinity/share/apps/kab/addressbook.database)
86 86
    * and loads its contents.
87 87
    * @return NoError if all succeeded or a valid ErrorCode.
88 88
    * @see AddressBook::ErrorCode

+ 1
- 1
kabc/HOWTO View File

@@ -344,7 +344,7 @@ In the first line a KABC::DistributionListManager is created. The manager takes
344 344
 a pointer to a KABC::AddressBook, because he has to resolve the stored uids to
345 345
 currently available email addresses.
346 346
 In line 4 the manager loads all distribution lists from the central config file
347
-$HOME/.kde/share/apps/kabc/distlists.
347
+$HOME/.trinity/share/apps/kabc/distlists.
348 348
 The next line queries the names of all available distribution lists, which are
349 349
 used in line 9 to retrieve a pointer to the specific list.
350 350
 Now that you have a KABC::DistributionList object, you can performe the

+ 2
- 2
kconf_update/README.kconf_update View File

@@ -211,9 +211,9 @@ The easiest is to not install the kconf_update script in the first place, but
211 211
 manually call it through a pipe. If you want to test the update script for
212 212
 your application KHello's config file khellorc, you can test by using
213 213
 
214
-    cat ~/.kde/share/config/khellorc | khello_conf_update.sh
214
+    cat ~/.trinity/share/config/khellorc | khello_conf_update.sh
215 215
 
216
-(assuming khello_conf_update.sh is the kconf_update script and ~/.kde is your
216
+(assuming khello_conf_update.sh is the kconf_update script and ~/.trinity is your
217 217
 $TDEHOME). This is easier than making install every time, but has the obvious
218 218
 downside that you need to 'parse' your script's output yourself instead of
219 219
 letting kconf_update do it and check the resulting output file.

+ 1
- 1
kinit/kinit.cpp View File

@@ -1782,7 +1782,7 @@ int main(int argc, char **argv, char **envp)
1782 1782
    if (keep_running)
1783 1783
    {
1784 1784
       /*
1785
-       * Create ~/.kde/tmp-<hostname>/tdeinit-<display> socket for incoming wrapper
1785
+       * Create ~/.trinity/tmp-<hostname>/tdeinit-<display> socket for incoming wrapper
1786 1786
        * requests.
1787 1787
        */
1788 1788
       init_tdeinit_socket();

+ 2
- 2
kio/bookmarks/kbookmarkmanager.h View File

@@ -64,7 +64,7 @@ protected:
64 64
      * called.
65 65
      *
66 66
      * @param bookmarksFile full path to the bookmarks file,
67
-     * Use ~/.kde/share/apps/konqueror/bookmarks.xml for the konqueror bookmarks
67
+     * Use ~/.trinity/share/apps/konqueror/bookmarks.xml for the konqueror bookmarks
68 68
      *
69 69
      * @param bImportDesktopFiles if true, and if the bookmarksFile
70 70
      * doesn't already exist, import bookmarks from desktop files
@@ -200,7 +200,7 @@ public:
200 200
      * instantiate it before this method is ever called.
201 201
      *
202 202
      * @param bookmarksFile full path to the bookmarks file,
203
-     * Use ~/.kde/share/apps/konqueror/bookmarks.xml for the konqueror bookmarks
203
+     * Use ~/.trinity/share/apps/konqueror/bookmarks.xml for the konqueror bookmarks
204 204
      *
205 205
      * @param bImportDesktopFiles if true, and if the bookmarksFile
206 206
      * doesn't already exist, import bookmarks from desktop files

+ 1
- 1
kio/kfile/kpropertiesdialog.cpp View File

@@ -1398,7 +1398,7 @@ void KFilePropsPlugin::slotCopyFinished( KIO::Job * job )
1398 1398
   assert( properties->item() );
1399 1399
   assert( !properties->item()->url().isEmpty() );
1400 1400
 
1401
-  // Save the file where we can -> usually in ~/.kde/...
1401
+  // Save the file where we can -> usually in ~/.trinity/...
1402 1402
   if (KBindingPropsPlugin::supports(properties->items()) && !m_sRelativePath.isEmpty())
1403 1403
   {
1404 1404
     KURL newURL;

+ 1
- 1
kio/kio/kservice.cpp View File

@@ -198,7 +198,7 @@ KService::init( KDesktopFile *config )
198 198
 
199 199
   m_strExec = config->readPathEntry( "Exec" );
200 200
   if (kde4application && !m_strExec.startsWith("/")) {
201
-    m_strExec = "TDEHOME=$HOME/.kde XDG_DATA_DIRS=/usr/share TDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec;
201
+    m_strExec = "TDEHOME=$HOME/.trinity XDG_DATA_DIRS=/usr/share TDEDIRS=/usr/ XDG_CONFIG_DIRS=/etc/xdg/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$PATH "+m_strExec;
202 202
   } else if (config->readBoolEntry("X-TDE-SubstituteUID")) {
203 203
     int space = m_strExec.find(" ");
204 204
     if (space==-1)

+ 1
- 1
kio/kioexec/main.cpp View File

@@ -108,7 +108,7 @@ KIOExec::KIOExec()
108 108
                 TQString fileName = KIO::encodeFileName( url.fileName() );
109 109
                 if ( !suggestedFileName.isEmpty() )
110 110
                     fileName = suggestedFileName;
111
-                // Build the destination filename, in ~/.kde/cache-*/krun/
111
+                // Build the destination filename, in ~/.trinity/cache-*/krun/
112 112
                 // Unlike KDE-1.1, we put the filename at the end so that the extension is kept
113 113
                 // (Some programs rely on it)
114 114
                 TQString tmp = KGlobal::dirs()->saveLocation( "cache", "krun/" ) +

+ 3
- 3
kio/tests/jobtest.cpp View File

@@ -78,7 +78,7 @@ int main(int argc, char *argv[])
78 78
 
79 79
 TQString JobTest::homeTmpDir() const
80 80
 {
81
-    return TQDir::homeDirPath() + "/.kde/jobtest/";
81
+    return TQDir::homeDirPath() + "/.trinity/jobtest/";
82 82
 }
83 83
 
84 84
 TQString JobTest::otherTmpDir() const
@@ -89,12 +89,12 @@ TQString JobTest::otherTmpDir() const
89 89
 
90 90
 KURL JobTest::systemTmpDir() const
91 91
 {
92
-    return "system:/home/.kde/jobtest-system/";
92
+    return "system:/home/.trinity/jobtest-system/";
93 93
 }
94 94
 
95 95
 TQString JobTest::realSystemPath() const
96 96
 {
97
-    return TQDir::homeDirPath() + "/.kde/jobtest-system/";
97
+    return TQDir::homeDirPath() + "/.trinity/jobtest-system/";
98 98
 }
99 99
 
100 100
 void JobTest::setup()

+ 3
- 3
kio/tests/kurifiltertest.cpp View File

@@ -155,7 +155,7 @@ int main(int argc, char **argv)
155 155
 {
156 156
     // Ensure that user configuration doesn't change the results of those tests
157 157
     // TDEHOME needs to be writable though, for a ksycoca database
158
-    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-kurifiltertest" ), true );
158
+    setenv( "TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-kurifiltertest" ), true );
159 159
     setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
160 160
 
161 161
     KAboutData aboutData(appName, programName, version, description);
@@ -297,10 +297,10 @@ int main(int argc, char **argv)
297 297
     filter( "$QTDIR/doc/html/functions.html#s", TQCString("file://")+qtdir+"/doc/html/functions.html#s", KURIFilterData::LOCAL_FILE );
298 298
     filter( "http://www.kde.org/$USER", "http://www.kde.org/$USER", KURIFilterData::NET_PROTOCOL ); // no expansion
299 299
 
300
-    // Assume the default (~/.kde) if
300
+    // Assume the default (~/.trinity) if
301 301
     if (tdehome.isEmpty())
302 302
     {
303
-      tdehome += "$HOME/.kde";
303
+      tdehome += "$HOME/.trinity";
304 304
       setenv("TDEHOME", tdehome.data(), 0);
305 305
     }
306 306
 

+ 1
- 1
kresources/README.design View File

@@ -42,7 +42,7 @@ type, but with different settings. These resources are persistent,
42 42
 and they are managed by the ResourceManager for the calendar
43 43
 resource family. The list of resources, and the settings for
44 44
 each resource, are stored by the resource manager using KConfig,
45
-in $HOME/.kde/share/config/<family>.
45
+in $HOME/.trinity/share/config/<family>.
46 46
 
47 47
 The resource manager is a singleton object for every resource family. 
48 48
 Use the resource manager to get the list of available resource types 

+ 4
- 4
tdecore/README.kiosk View File

@@ -25,7 +25,7 @@ sounds, menu-descriptions and configuration files.
25 25
 
26 26
 In KDE1 there were two locations were resources could be located: The 
27 27
 resources provided by the system were located under $TDEDIR and user-
28
-specific resources were located under $HOME/.kde.
28
+specific resources were located under $HOME/.trinity.
29 29
 
30 30
 In KDE2 resource management has been largely abstracted by the introduction
31 31
 of the KStandardDirs class and has become much more flexible. The user /
@@ -33,7 +33,7 @@ administrator can now specify a variable number of locations where resources
33 33
 can be found. A list of locations can either be specified via $TDEDIRS
34 34
 (notice the extra 'S'), via /etc/kderc and even via the kdeglobals config 
35 35
 file. The location where user-specific resources can be found can be
36
-set with $TDEHOME (The default is $HOME/.kde). Changes made by the user
36
+set with $TDEHOME (The default is $HOME/.trinity). Changes made by the user
37 37
 are always written back to $TDEHOME.
38 38
 
39 39
 Both KDE1 and KDE2 feature so called "cascading configuration files": There
@@ -102,8 +102,8 @@ To make the configration file of kicker (the panel) immutable one could for
102 102
 example use the commands below.
103 103
 
104 104
 Example:
105
-chown root.root /home/user/.kde/share/config/kickerrc
106
-chmod 644 /home/user/.kde/share/config/kickerrc
105
+chown root.root /home/user/.trinity/share/config/kickerrc
106
+chmod 644 /home/user/.trinity/share/config/kickerrc
107 107
 
108 108
 If you do this, the user will be warned that the configuration file is not
109 109
 writable. Since you will normally not want that, you can add the following

+ 1
- 1
tdecore/kconfig_compiler/tests/test9main.cpp View File

@@ -32,7 +32,7 @@ int main( int, char*[] )
32 32
   kdWarning() << myPathsList2 << endl;
33 33
 
34 34
   // add another path
35
-  TQStringList newlist = TQDir::homeDirPath() + TQString::fromLatin1("/.kde");
35
+  TQStringList newlist = TQDir::homeDirPath() + TQString::fromLatin1("/.trinity");
36 36
   myPathsList2 = myPathsList2 + newlist;
37 37
   kdWarning() << myPathsList2 << endl;
38 38
 

+ 6
- 6
tdecore/kstandarddirs.h View File

@@ -53,7 +53,7 @@ class KStandardDirsPrivate;
53 53
  * The main idea behind KStandardDirs is that there are several
54 54
  * toplevel prefixes below which the files lie. One of these prefixes is
55 55
  * the one where the user installed tdelibs, one is where the
56
- * application was installed, and one is $HOME/.kde, but there
56
+ * application was installed, and one is $HOME/.trinity, but there
57 57
  * may be even more. Under these prefixes there are several well
58 58
  * defined suffixes where specific resource types are to be found.
59 59
  * For example, for the resource type "html" the suffixes could be
@@ -63,7 +63,7 @@ class KStandardDirsPrivate;
63 63
  * To make the thing even more complex, it's also possible to register
64 64
  * absolute paths that KStandardDirs looks up after not finding anything
65 65
  * in the former steps. They can be useful if the user wants to provide
66
- * specific directories that aren't in his $HOME/.kde directory for,
66
+ * specific directories that aren't in his $HOME/.trinity directory for,
67 67
  * for example, icons.
68 68
  *
69 69
  * <b>Standard resources that tdelibs allocates are:</b>\n
@@ -114,10 +114,10 @@ class KStandardDirsPrivate;
114 114
  *          ignored.
115 115
  * @li TDEHOME: The directory where changes are saved to. This directory is
116 116
  *          used to search for resources first. If TDEHOME is not
117
- *          specified it defaults to "$HOME/.kde"
117
+ *          specified it defaults to "$HOME/.trinity"
118 118
  * @li TDEROOTHOME: Like TDEHOME, but used for the root user.
119 119
  *          If TDEROOTHOME is not set it defaults to the .kde directory in the
120
- *          home directory of root, usually "/root/.kde".
120
+ *          home directory of root, usually "/root/.trinity".
121 121
  *          Note that the setting of $HOME is ignored in this case.
122 122
  *
123 123
  * @see KGlobalSettings
@@ -263,7 +263,7 @@ public:
263 263
 	 * specified type and a relative path. So would
264 264
 	 * findDirs("apps", "Settings") return
265 265
 	 * @li /opt/kde/share/applnk/Settings/
266
-	 * @li /home/joe/.kde/share/applnk/Settings/
266
+	 * @li /home/joe/.trinity/share/applnk/Settings/
267 267
 	 *
268 268
 	 * Note that it appends / to the end of the directories,
269 269
 	 * so you can use this right away as directory names.
@@ -546,7 +546,7 @@ public:
546 546
 
547 547
 	/**
548 548
 	 * Returns the toplevel directory in which KStandardDirs
549
-	 * will store things. Most likely $HOME/.kde
549
+	 * will store things. Most likely $HOME/.trinity
550 550
 	 * Don't use this function if you can use locateLocal
551 551
 	 * @return the toplevel directory
552 552
 	 */

+ 1
- 1
tdecore/tests/kurltest.cpp View File

@@ -189,7 +189,7 @@ int main(int argc, char *argv[])
189 189
   url1= "KDE";
190 190
   check("KURL::isValid()", url1.isValid()?"TRUE":"FALSE", "FALSE" );
191 191
 
192
-  url1= "$HOME/.kde/share/config";
192
+  url1= "$HOME/.trinity/share/config";
193 193
   check("KURL::isValid()", url1.isValid()?"TRUE":"FALSE", "FALSE" );
194 194
 
195 195
   u1 = "file:/opt/kde2/qt2/doc/html/showimg-main-cpp.html#TQObject::connect";

+ 1
- 1
tdeui/kedittoolbar.h View File

@@ -370,7 +370,7 @@ public:
370 370
 
371 371
   /**
372 372
    * Save any changes the user made.  The file will be in the user's
373
-   * local directory (usually $HOME/.kde/share/apps/\<appname\>).  The
373
+   * local directory (usually $HOME/.trinity/share/apps/\<appname\>).  The
374 374
    * filename will be the one specified in the constructor.. or the
375 375
    * made up one if the filename was NULL.
376 376
    *

Loading…
Cancel
Save