From c0b24fe164924298d7e6ae33964b3c65fadbcba3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:06:29 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- doc/kdearch/index.docbook | 54 +++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'doc/kdearch') diff --git a/doc/kdearch/index.docbook b/doc/kdearch/index.docbook index 7bccb9fa..6e4cc884 100644 --- a/doc/kdearch/index.docbook +++ b/doc/kdearch/index.docbook @@ -71,7 +71,7 @@ respecting user preferences. -kio +kio The kio library contains facilities for asynchronous, network transparent I/O and access to mimetype handling. It also provides the @@ -381,13 +381,13 @@ Generic auto-completion of strings. -<ulink url="kdeapi:kio/KURLCompletion">KURLCompletion</ulink> +<ulink url="kdeapi:tdeio/KURLCompletion">KURLCompletion</ulink> Auto-completion of URLs. -<ulink url="kdeapi:kio/KShellCompletion">KShellCompletion</ulink> +<ulink url="kdeapi:tdeio/KShellCompletion">KShellCompletion</ulink> Auto-completion of executables. @@ -455,7 +455,7 @@ A combo box for selecting file names and URLs. -<ulink url="kdeapi:kfile/KURLRequester">KURLRequester</ulink> +<ulink url="kdeapi:tdefile/KURLRequester">KURLRequester</ulink> A line edit for selecting file names and URLs. @@ -494,7 +494,7 @@ Dialogs - full-featured dialogs for file, color and font selection. -<ulink url="kdeapi:kfile/KFileDialog">KFileDialog</ulink> +<ulink url="kdeapi:tdefile/KFileDialog">KFileDialog</ulink> A file selection dialog. @@ -512,7 +512,7 @@ A font selection dialog. -<ulink url="kdeapi:kfile/KIconDialog">KIconDialog</ulink> +<ulink url="kdeapi:tdefile/KIconDialog">KIconDialog</ulink> An icon selection dialog. @@ -548,7 +548,7 @@ A simple dialog for entering text. -<ulink url="kdeapi:kfile/KURLRequesterDlg">KURLRequesterDlg</ulink> +<ulink url="kdeapi:tdefile/KURLRequesterDlg">KURLRequesterDlg</ulink> A simple dialog for entering URLs. @@ -624,31 +624,31 @@ Object factory in plugins. -<ulink url="kdeapi:kio/KServiceType">KServiceType</ulink> +<ulink url="kdeapi:tdeio/KServiceType">KServiceType</ulink> Represents a service type. -<ulink url="kdeapi:kio/KService">KService</ulink> +<ulink url="kdeapi:tdeio/KService">KService</ulink> Represents a service. -<ulink url="kdeapi:kio/KMimeType">KMimeType</ulink> +<ulink url="kdeapi:tdeio/KMimeType">KMimeType</ulink> Represents a MIME type. -<ulink url="kdeapi:kio/KServiceTypeProfile">KServiceTypeProfile</ulink> +<ulink url="kdeapi:tdeio/KServiceTypeProfile">KServiceTypeProfile</ulink> User preferences for MIME type mappings. -<ulink url="kdeapi:kio/KServiceTypeProfile">KTrader</ulink> +<ulink url="kdeapi:tdeio/KServiceTypeProfile">KTrader</ulink> Querying for services. @@ -2019,7 +2019,7 @@ objects or in most cases the generic In order to use a shared library service in an application, you need to obtain a -KService object +KService object representing it. This is discussed in the section about MIME types (and in a section about the trader to be written :-) @@ -2073,7 +2073,7 @@ A DCOP service is usually implemented as a program that is started up when it is needed. It then goes into a loop and listens for DCOP connections. The program may be an interactive one, but it may also run completely or for a part of its lifetime as a daemon in the background without the user noticing it. An example -for such a daemon is kio_uiserver, which implements user interaction +for such a daemon is tdeio_uiserver, which implements user interaction such as progress dialog for the KIO library. The advantage of such a centralized daemon in this context is that e.g. the download progress for several different files can be shown in one window, even if those downloads were initiated from @@ -2115,14 +2115,14 @@ on the user's settings, the cursor will be changed. -Here is the definition of kio_uiserver: +Here is the definition of tdeio_uiserver: [Desktop Entry] Type=Service -Name=kio_uiserver -Exec=kio_uiserver +Name=tdeio_uiserver +Exec=tdeio_uiserver X-DCOP-ServiceType=Unique X-TDE-StartupNotify=false @@ -2141,9 +2141,9 @@ class: DCOPClient *client = kapp->dcopClient(); client->attach(); -if (!client->isApplicationRegistered("kio_uiserver")) { +if (!client->isApplicationRegistered("tdeio_uiserver")) { QString error; - if (TDEApplication::startServiceByName("kio_uiserver", QStringList(), &error)) + if (TDEApplication::startServiceByName("tdeio_uiserver", QStringList(), &error)) cout << "Starting kioserver failed with message " << error << endl; } ... @@ -2151,9 +2151,9 @@ QByteArray data, replyData; QCString replyType; QDataStream arg(data, IO_WriteOnly); arg << true; -if (!client->call("kio_uiserver", "UIServer", "setListMode(bool)", +if (!client->call("tdeio_uiserver", "UIServer", "setListMode(bool)", data, replyType, replyData)) - cout << "Call to kio_uiserver failed" << endl; + cout << "Call to tdeio_uiserver failed" << endl; ... @@ -2170,7 +2170,7 @@ the name is appearing in the Name line of the desktop file. An alternative is to use TDEApplication::startServiceByDesktopName(), which takes the file name of its desktop file as argument, i.e. in this case -"kio_uiserver.desktop". +"tdeio_uiserver.desktop". @@ -2297,7 +2297,7 @@ an icon fooicon.png, which represents the file e.g. in In the KDE libraries, such a type definition is mapped to an instance of the -class KMimeType. +class KMimeType. Use this like in the following example: @@ -2350,7 +2350,7 @@ forget about them.) You may want to find out a MIME from the contents of file instead of the file name. This is more reliable, but also slower, as it requires reading a part of the file. This is done with the -KMimeMagic +KMimeMagic class, which has different error handling: @@ -2481,12 +2481,12 @@ else For even more complex queries, there is a full-blown CORBA-like -trader. +trader. In order to run an application service with some URLs, use -KRun: +KRun: @@ -2602,7 +2602,7 @@ deletes itself. Thus, a typical use case will look like this: void FooClass::makeDirectory() { - SimpleJob *job = TDEIO::mkdir(KURL("file:/home/bernd/kiodir")); + SimpleJob *job = TDEIO::mkdir(KURL("file:/home/bernd/tdeiodir")); connect( job, SIGNAL(result(TDEIO::Job*)), this, SLOT(mkdirResult(TDEIO::Job*)) ); } -- cgit v1.2.1