Rename a number of libraries and executables to avoid conflicts with KDE4

remotes/gitea/gg-tdeadmin-kcron
Timothy Pearson 12 years ago
parent 567923f30f
commit 2c4a290ae2

@ -25,7 +25,7 @@ administrator might need:
* kdat * kdat
Tape backup tool. Tape backup tool.
* kfile-plugins * tdefile-plugins
Make Konquerer display additional info on about *.dep and *.rpm files. Make Konquerer display additional info on about *.dep and *.rpm files.
* kpackage * kpackage

@ -1,4 +0,0 @@
KDE_LANG = en
KDE_DOCS = knetworkconf

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

@ -0,0 +1,4 @@
KDE_LANG = en
KDE_DOCS = knetwortdeconf

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

@ -1,7 +1,7 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [ <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY knetworkconf "<application>KNetworkConf</application>"> <!ENTITY knetwortdeconf "<application>KNetworkConf</application>">
<!ENTITY kappname "&knetworkconf;"> <!ENTITY kappname "&knetwortdeconf;">
<!ENTITY package "tdeadmin"> <!ENTITY package "tdeadmin">
<!ENTITY % addindex "IGNORE"> <!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE" > <!-- change language only here --> <!ENTITY % English "INCLUDE" > <!-- change language only here -->
@ -65,7 +65,7 @@ document.</revremark>
<releaseinfo>1.0</releaseinfo> <releaseinfo>1.0</releaseinfo>
<abstract> <abstract>
<para>This manual explains how to install and use &knetworkconf;, a module for <para>This manual explains how to install and use &knetwortdeconf;, a module for
&kcontrolcenter; that enables management of Network Interfaces, Routing and DNS &kcontrolcenter; that enables management of Network Interfaces, Routing and DNS
properties.</para> properties.</para>
</abstract> </abstract>
@ -86,9 +86,9 @@ integrated interface from which to manage a wide variety of system and
desktop settings and preferences. &kcontrolcenter; can be started by selecting desktop settings and preferences. &kcontrolcenter; can be started by selecting
<menuchoice><guimenu>TDE Menu</guimenu><guimenuitem>&kcontrolcenter;</guimenuitem></menuchoice>.</para> <menuchoice><guimenu>TDE Menu</guimenu><guimenuitem>&kcontrolcenter;</guimenuitem></menuchoice>.</para>
<para>The &knetworkconf; package was developed to enable users to manage TCP/IP <para>The &knetwortdeconf; package was developed to enable users to manage TCP/IP
networking settings in the same way they manage other system settings from networking settings in the same way they manage other system settings from
&kcontrolcenter;. Tasks enabled by &knetworkconf; provide users with a simple &kcontrolcenter;. Tasks enabled by &knetwortdeconf; provide users with a simple
interface from which to perform the following tasks:</para> interface from which to perform the following tasks:</para>
<itemizedlist> <itemizedlist>
@ -117,7 +117,7 @@ interface from which to perform the following tasks:</para>
<para>Once installed a new module called <guimenuitem>Network <para>Once installed a new module called <guimenuitem>Network
Settings</guimenuitem> is displayed in the &kcontrolcenter;. Settings</guimenuitem> is displayed in the &kcontrolcenter;.
To start the <application>Network Settings</application> (&knetworkconf;) module select <menuchoice> To start the <application>Network Settings</application> (&knetwortdeconf;) module select <menuchoice>
<guimenuitem>&kcontrolcenter;</guimenuitem> <guimenuitem>Internet &amp; Network</guimenuitem> <guimenuitem>&kcontrolcenter;</guimenuitem> <guimenuitem>Internet &amp; Network</guimenuitem>
<guimenuitem>Network Settings</guimenuitem> </menuchoice> in the &kmenu;.</para> <guimenuitem>Network Settings</guimenuitem> </menuchoice> in the &kmenu;.</para>
@ -126,13 +126,13 @@ To start the <application>Network Settings</application> (&knetworkconf;) module
<imagedata fileref="11.png" format="PNG"/> <imagedata fileref="11.png" format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&knetworkconf; in user mode</phrase> <phrase>&knetwortdeconf; in user mode</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
<para>It is important to understand that &knetworkconf; cannot install <para>It is important to understand that &knetwortdeconf; cannot install
networking hardware. As such physical devices and their drivers must be networking hardware. As such physical devices and their drivers must be
properly installed and configured in order for &knetworkconf; to display the properly installed and configured in order for &knetwortdeconf; to display the
device and enable management of networking properties.</para> device and enable management of networking properties.</para>
<para>In most cases drivers for networking hardware and other devices are <para>In most cases drivers for networking hardware and other devices are
@ -211,14 +211,14 @@ click the <guibutton>Administrator Mode</guibutton> button located bottom
left of the module. Enter your password when prompted.</para> left of the module. Enter your password when prompted.</para>
<screenshot> <screenshot>
<screeninfo>&knetworkconf; in administrator mode</screeninfo> <screeninfo>&knetwortdeconf; in administrator mode</screeninfo>
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata fileref="01.png" <imagedata fileref="01.png"
format="PNG"/> format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>&knetworkconf; in administrator mode</phrase> <phrase>&knetwortdeconf; in administrator mode</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
</screenshot> </screenshot>
@ -277,7 +277,7 @@ fileref="03.png"
format="PNG"/> format="PNG"/>
</imageobject> </imageobject>
<textobject> <textobject>
<phrase>The &knetworkconf; interface</phrase> <phrase>The &knetwortdeconf; interface</phrase>
</textobject> </textobject>
</mediaobject> </mediaobject>
@ -748,8 +748,8 @@ following command.</para>
<title>How to obtain knetwork-conf</title> <title>How to obtain knetwork-conf</title>
<para>knetwork-conf's home page is at <ulink <para>knetwork-conf's home page is at <ulink
url="http://knetworkconf.sourceforge.net" url="http://knetwortdeconf.sourceforge.net"
>http://knetworkconf.sourceforge.net</ulink> where you at least can download >http://knetwortdeconf.sourceforge.net</ulink> where you at least can download
source packages. </para> source packages. </para>
</sect1> </sect1>
@ -778,7 +778,7 @@ packages. Install them from &konsole; using
installed; you also need the development packages which include libraries installed; you also need the development packages which include libraries
and other stuff. </para> and other stuff. </para>
<para>Recommended for advanced users only. Otherwise, compiling &knetworkconf; <para>Recommended for advanced users only. Otherwise, compiling &knetwortdeconf;
is not difficult. The following commands should do it.</para> is not difficult. The following commands should do it.</para>
<screen> <screen>
@ -801,7 +801,7 @@ let us know.</para>
<para>In the first section of this chapter, you'll find some valuable <para>In the first section of this chapter, you'll find some valuable
information about networking basics. In the second, all configuration files information about networking basics. In the second, all configuration files
on your disk which can be changed by &knetworkconf; will be discussed. </para> on your disk which can be changed by &knetwortdeconf; will be discussed. </para>
<sect1 id="networking-overview"> <sect1 id="networking-overview">
<title>IPv4 Networking</title> <title>IPv4 Networking</title>
@ -894,7 +894,7 @@ gateway-computer. </para>
<title>Configuration files</title> <title>Configuration files</title>
<para>In this section you'll find the configuration files which are touched <para>In this section you'll find the configuration files which are touched
by &knetworkconf; and where they reside in the file system of the different by &knetwortdeconf; and where they reside in the file system of the different
distributions. </para> distributions. </para>
<sect2 id="resolv.conf"> <sect2 id="resolv.conf">

@ -13,7 +13,7 @@
#include <kmenubar.h> #include <kmenubar.h>
#include <kstdaccel.h> #include <kstdaccel.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kapplication.h> #include <kapplication.h>
#include <klocale.h> // i18n() #include <klocale.h> // i18n()
#include <kstdaction.h> #include <kstdaction.h>

@ -24,7 +24,7 @@
#include <kapplication.h> #include <kapplication.h>
#include <kaccel.h> #include <kaccel.h>
#include <klocale.h> #include <klocale.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kstdguiitem.h> #include <kstdguiitem.h>

@ -35,7 +35,7 @@
#include <kpopupmenu.h> #include <kpopupmenu.h>
#include <ktoolbar.h> #include <ktoolbar.h>
#include <kglobal.h> #include <kglobal.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kstringhandler.h> #include <kstringhandler.h>
#include <kpushbutton.h> #include <kpushbutton.h>

@ -21,7 +21,7 @@
#include <tqmultilineedit.h> #include <tqmultilineedit.h>
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include "LoggerWidget.h" #include "LoggerWidget.h"
#include <klocale.h> #include <klocale.h>

@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include "Options.h" #include "Options.h"

@ -364,7 +364,7 @@ You must still specify the block size.</string>
</connections> </connections>
<includes> <includes>
<include location="global" impldecl="in implementation">kapplication.h</include> <include location="global" impldecl="in implementation">kapplication.h</include>
<include location="global" impldecl="in implementation">kfiledialog.h</include> <include location="global" impldecl="in implementation">tdefiledialog.h</include>
<include location="global" impldecl="in implementation">kmessagebox.h</include> <include location="global" impldecl="in implementation">kmessagebox.h</include>
<include location="global" impldecl="in implementation">kglobal.h</include> <include location="global" impldecl="in implementation">kglobal.h</include>
<include location="global" impldecl="in implementation">kdialog.h</include> <include location="global" impldecl="in implementation">kdialog.h</include>

@ -24,7 +24,7 @@
#include <tqlistbox.h> #include <tqlistbox.h>
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kstdguiitem.h> #include <kstdguiitem.h>

@ -1,22 +0,0 @@
## Makefile.am for deb file meta info plugin
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = kfile_deb.h
kde_module_LTLIBRARIES = kfile_deb.la
kfile_deb_la_SOURCES = kfile_deb.cpp
kfile_deb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_deb_la_LIBADD = $(LIB_KSYCOCA)
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages:
$(XGETTEXT) *.cpp *.h -o $(podir)/kfile_deb.pot
services_DATA = kfile_deb.desktop
servicesdir = $(kde_servicesdir)

@ -1,22 +0,0 @@
## Makefile.am for rpm file meta info plugin
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = kfile_rpm.h
kde_module_LTLIBRARIES = kfile_rpm.la
kfile_rpm_la_SOURCES = kfile_rpm.cpp
kfile_rpm_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_rpm_la_LIBADD = $(LIB_KSYCOCA)
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages:
$(XGETTEXT) *.cpp *.h -o $(podir)/kfile_rpm.pot
services_DATA = kfile_rpm.desktop
servicesdir = $(kde_servicesdir)

@ -1 +0,0 @@
SUBDIRS = knetworkconf backends pixmaps

@ -1,15 +0,0 @@
dnl ==============================================================
dnl Set SCRIPTS_DIR, FILES_DIR & LOCALE_DIR
dnl ==============================================================
KDE_EXPAND_MAKEVAR(KDE_DATADIR, kde_datadir)
scriptsdir="$KDE_DATADIR/knetworkconf/backends"
AC_SUBST(scriptsdir)
dnl ==============================================================
dnl END: Set SCRIPTS_DIR, FILES_DIR & LOCALE_DIR
dnl ==============================================================
dnl Keep the comment on the line below, it works that way.
dnl AC_OUTPUT(knetworkconf/backends/system-tools-backends.pc knetworkconf/backends/network-conf knetworkconf/backends/debug.pl knetworkconf/backends/file.pl knetworkconf/backends/general.pl knetworkconf/backends/network.pl knetworkconf/backends/parse.pl knetworkconf/backends/platform.pl knetworkconf/backends/process.pl knetworkconf/backends/replace.pl knetworkconf/backends/report.pl knetworkconf/backends/service-list.pl knetworkconf/backends/service.pl knetworkconf/backends/util.pl knetworkconf/backends/xml.pl)
echo "Backend configured."

@ -1,41 +0,0 @@
# set the include path for X, qt and KDE
#INCLUDES= $(all_includes)
AM_CPPFLAGS = $(all_includes)
# We use deprecated routines in QButton, undefine QT_NO_COMPAT.
KDE_CXXFLAGS = -UQT_NO_COMPAT
METASOURCES = AUTO
#bin_PROGRAMS = knetworkconf
kde_module_LTLIBRARIES = kcm_knetworkconfmodule.la
kcm_knetworkconfmodule_la_LIBADD = $(LIB_TDEUI)
# the library search path.
kcm_knetworkconfmodule_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
## INCLUDES were found outside tdevelop specific part
kcm_knetworkconfmodule_la_SOURCES = kselectdistrodlg.ui kknownhostinfo.cpp \
kinterfaceupdowndlg.ui kaddknownhostdlg.ui kdetectdistrodlg.ui knetworkconfmodule.cpp \
kroutinginfo.cpp kreloadnetworkdlg.ui kaddressvalidator.cpp kdnsinfo.cpp \
knetworkinfo.cpp kadddevicedlg.ui kadddnsserverdlg.ui knetworkconfigparser.cpp \
knetworkinterface.cpp knetworkconfdlg.ui knetworkconf.cpp main.cpp kadddevicedlgextension.ui \
knetworkconfiface.skel kwirelessinterface.cpp kadddevicewifiext.ui kadddevicecontainer.cpp \
kprofileslistviewtooltip.cpp
EXTRA_DIST = main.cpp knetworkconf.cpp knetworkconf.h knetworkconf.desktop cr16-app-knetworkconf.png cr22-app-knetworkconf.png cr32-app-knetworkconf.png knetworkconfdlg.ui knetworkinterface.cpp knetworkinterface.h knetworkconfigparser.cpp knetworkconfigparser.h kadddnsserverdlg.ui kadddevicedlg.ui knetworkinfo.cpp knetworkinfo.h kdnsinfo.cpp kdnsinfo.h kaddressvalidator.cpp kaddressvalidator.h kreloadnetworkdlg.ui network_card.png kroutinginfo.cpp kroutinginfo.h knetworkconfmodule.cpp knetworkconfmodule.h kdetectdistrodlg.ui kaddknownhostdlg.ui kinterfaceupdowndlg.ui kadddnsserverdlg.ui.h kadddevicedlg.ui.h kaddknownhostdlg.ui.h kknownhostinfo.cpp kknownhostinfo.h kselectdistrodlg.ui kcm_knetworkconfmodule version.h
xdg_apps_DATA = kcm_knetworkconfmodule.desktop
KDE_ICON = AUTO
messages: rc.cpp
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/knetworkconf.pot; \
fi
noinst_HEADERS = kprofileslistviewtooltip.h

@ -1 +0,0 @@
?package(local.kcm_knetworkconfmodule.desktop):needs="x11" kde_filename="kcm_knetworkconfmodule" section="System/Configuration/KDE/Network" command="kcmshell kcm_knetworkconfmodule" icon="locolor/32x32/apps/knetworkconf.png" longtitle="Configure your Network settings" title="Network Settings" kde_opt="Encoding=UTF-8\\nX-TDE-RootOnly=true\\nX-TDE-ModuleType=Library\\nX-TDE-Library=knetworkconfmodule\\nX-TDE-FactoryName=knetworkconfmodule\\nX-TDE-ParentApp=kcontrol\\nType=Application\\nDocPath=knetworkconf/index.docbook\\nComment[es]=Configurar las propiedades de Red\\nComment[de]=Netzwerkschnittstellen konfigurieren\\nTerminal=0\\nName[es]=Propiedades de Red\\nName[de]=Netzwerkschnittstellen konfigurieren\\nGenericName=Configure TCP/IP settings\\nGenericName[es]=Configurar las propiedades de red\\nKeywords=Network,DNS,routes,interfaces\\n"

@ -3,7 +3,7 @@
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# General configuration options # General configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = knetworkconf PROJECT_NAME = knetwortdeconf
PROJECT_NUMBER = PROJECT_NUMBER =
OUTPUT_DIRECTORY = OUTPUT_DIRECTORY =
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English
@ -57,7 +57,7 @@ WARN_LOGFILE =
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the input files # configuration options related to the input files
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
INPUT = /home/juancho/cvs_proyectos/knetworkconf_0.4.9 INPUT = /home/juancho/cvs_proyectos/knetwortdeconf_0.4.9
FILE_PATTERNS = *.c \ FILE_PATTERNS = *.c \
*.cc \ *.cc \
*.cxx \ *.cxx \

@ -2,7 +2,7 @@ KNetworkConf 0.6.1 - Un m
para configurar las propiedades de red. para configurar las propiedades de red.
Juan Luis Baptiste M. <juan.baptiste@kdemail.net> Juan Luis Baptiste M. <juan.baptiste@kdemail.net>
Colombia 2003 - 2005 Colombia 2003 - 2005
http://www.merlinux.org/knetworkconf/ http://www.merlinux.org/knetwortdeconf/
------------------------------------------------------------ ------------------------------------------------------------
@ -79,5 +79,5 @@ y correr el comando update-menus despu
4. Contacto 4. Contacto
Para reportar errores, o si tiene comentarios o sugerencias acerca Para reportar errores, o si tiene comentarios o sugerencias acerca
de KNetworkConf, por favor escriba a las listas de correo del proyecto: de KNetworkConf, por favor escriba a las listas de correo del proyecto:
knetworkconf-devel@lists.sourceforge.net o knetworkconf-users@lists.sourceforge.net. knetwortdeconf-devel@lists.sourceforge.net o knetwortdeconf-users@lists.sourceforge.net.

@ -0,0 +1 @@
SUBDIRS = knetwortdeconf backends pixmaps

@ -1,7 +1,7 @@
KNetworkConf 0.6.1 - A KDE control Center Module to confiure Network settings. KNetworkConf 0.6.1 - A KDE control Center Module to confiure Network settings.
Juan Luis Baptiste M. <juan.baptiste@kdemail.net> Juan Luis Baptiste M. <juan.baptiste@kdemail.net>
Colombia, 2003 - 2005 Colombia, 2003 - 2005
http://www.merlinux.org/knetworkconf/ http://www.merlinux.org/knetwortdeconf/
------------------------------------------------------------ ------------------------------------------------------------
@ -69,6 +69,6 @@ install the files in the correct path and run update-menus after make install.
4. Contact 4. Contact
To report bugs or if you have any comments or sugestions about KNetworkConf, To report bugs or if you have any comments or sugestions about KNetworkConf,
please write to the mailing lists knetworkconf-devel@lists.sourceforge.net or please write to the mailing lists knetwortdeconf-devel@lists.sourceforge.net or
knetworkconf-users@lists.sourceforge.net. knetwortdeconf-users@lists.sourceforge.net.

@ -0,0 +1,15 @@
dnl ==============================================================
dnl Set SCRIPTS_DIR, FILES_DIR & LOCALE_DIR
dnl ==============================================================
KDE_EXPAND_MAKEVAR(KDE_DATADIR, kde_datadir)
scriptsdir="$KDE_DATADIR/knetwortdeconf/backends"
AC_SUBST(scriptsdir)
dnl ==============================================================
dnl END: Set SCRIPTS_DIR, FILES_DIR & LOCALE_DIR
dnl ==============================================================
dnl Keep the comment on the line below, it works that way.
dnl AC_OUTPUT(knetwortdeconf/backends/system-tools-backends.pc knetwortdeconf/backends/network-conf knetwortdeconf/backends/debug.pl knetwortdeconf/backends/file.pl knetwortdeconf/backends/general.pl knetwortdeconf/backends/network.pl knetwortdeconf/backends/parse.pl knetwortdeconf/backends/platform.pl knetwortdeconf/backends/process.pl knetwortdeconf/backends/replace.pl knetwortdeconf/backends/report.pl knetwortdeconf/backends/service-list.pl knetwortdeconf/backends/service.pl knetwortdeconf/backends/util.pl knetwortdeconf/backends/xml.pl)
echo "Backend configured."

@ -1,4 +1,4 @@
%define name knetworkconf %define name knetwortdeconf
%define version 0.6.1 %define version 0.6.1
%define release 1mdk %define release 1mdk
#%define _unpackaged_files_terminate_build 0 #%define _unpackaged_files_terminate_build 0
@ -8,12 +8,12 @@ Name: %{name}
Version: %{version} Version: %{version}
Release: %{release} Release: %{release}
License: GPL License: GPL
Url: http://www.merlinux.org/knetworkconf/ Url: http://www.merlinux.org/knetwortdeconf/
Group: Networking/Other Group: Networking/Other
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: %_bindir/tdesu Requires: %_bindir/tdesu
Patch1: knetworkconf-0.6-fix-menu.patch.bz2 Patch1: knetwortdeconf-0.6-fix-menu.patch.bz2
%description %description
KNetworkConf is a TDE Control Center module to configure the Network KNetworkConf is a TDE Control Center module to configure the Network
@ -64,7 +64,7 @@ install -m 644 %{name}/lo32-app-%{name}.png %buildroot/%{_iconsdir}/%{name}.png
install -m 644 %{name}/network_card.png %buildroot/%{_prefix}/share/pixmaps/network_card.png install -m 644 %{name}/network_card.png %buildroot/%{_prefix}/share/pixmaps/network_card.png
mkdir -p %{buildroot}/%{_menudir} mkdir -p %{buildroot}/%{_menudir}
kdedesktop2mdkmenu.pl %{name} System/Configuration/KDE/Network $RPM_BUILD_ROOT%{_datadir}/applications/tde/kcm_knetworkconfmodule.desktop $RPM_BUILD_ROOT%{_menudir}/%{name} kdedesktop2mdkmenu.pl %{name} System/Configuration/KDE/Network $RPM_BUILD_ROOT%{_datadir}/applications/tde/kcm_knetwortdeconfmodule.desktop $RPM_BUILD_ROOT%{_menudir}/%{name}
%post %post
@ -81,16 +81,16 @@ rm -rf $RPM_BUILD_ROOT/*
%files -f %name.lang %files -f %name.lang
#Quick Hack: for some reason the %find_lang command doesn't find #Quick Hack: for some reason the %find_lang command doesn't find
#the translations files, it outputs a knetworkconf.lang file full #the translations files, it outputs a knetwortdeconf.lang file full
#of empty lines instead of the following ones: #of empty lines instead of the following ones:
%lang(de) /usr/share/locale/de/LC_MESSAGES/knetworkconfmodule.mo %lang(de) /usr/share/locale/de/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(es) /usr/share/locale/es/LC_MESSAGES/knetworkconfmodule.mo %lang(es) /usr/share/locale/es/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(eu) /usr/share/locale/eu/LC_MESSAGES/knetworkconfmodule.mo %lang(eu) /usr/share/locale/eu/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(fr) /usr/share/locale/fr/LC_MESSAGES/knetworkconfmodule.mo %lang(fr) /usr/share/locale/fr/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(hu) /usr/share/locale/hu/LC_MESSAGES/knetworkconfmodule.mo %lang(hu) /usr/share/locale/hu/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(no) /usr/share/locale/no/LC_MESSAGES/knetworkconfmodule.mo %lang(no) /usr/share/locale/no/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(pl) /usr/share/locale/pl/LC_MESSAGES/knetworkconfmodule.mo %lang(pl) /usr/share/locale/pl/LC_MESSAGES/knetwortdeconfmodule.mo
%lang(pt_BR) /usr/share/locale/pt_BR/LC_MESSAGES/knetworkconfmodule.mo %lang(pt_BR) /usr/share/locale/pt_BR/LC_MESSAGES/knetwortdeconfmodule.mo
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc README COPYING AUTHORS LEAME %doc README COPYING AUTHORS LEAME

@ -1,7 +1,7 @@
# This spec file was generated using Kpp # This spec file was generated using Kpp
# If you find any problems with this spec file please report # If you find any problems with this spec file please report
# the error to ian geiser <geiseri@msoe.edu> # the error to ian geiser <geiseri@msoe.edu>
%define name knetworkconf %define name knetwortdeconf
%define version 0.5 %define version 0.5
%define release 1mdk %define release 1mdk
@ -10,7 +10,7 @@ Name: %{name}
Version: %{version} Version: %{version}
Release: %{release} Release: %{release}
License: GPL License: GPL
Url: http://www.merlinux.org/knetworkconf/ Url: http://www.merlinux.org/knetwortdeconf/
Group: Networking/Other Group: Networking/Other
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-buildroot BuildRoot: %{_tmppath}/%{name}-buildroot
@ -74,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT/*
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc README COPYING AUTHORS LEAME %doc README COPYING AUTHORS LEAME
%{_libdir}/menu/* %{_libdir}/menu/*
%{_bindir}/knetworkconf %{_bindir}/knetwortdeconf
%{_iconsdir}/*.png %{_iconsdir}/*.png
%{_miconsdir}/%{name}.png %{_miconsdir}/%{name}.png
%_datadir/pixmaps/network_card.png %_datadir/pixmaps/network_card.png
@ -83,11 +83,11 @@ rm -rf $RPM_BUILD_ROOT/*
#%_datadir/applnk/Internet/* #%_datadir/applnk/Internet/*
%_datadir/icons/locolor/16x16/apps/* %_datadir/icons/locolor/16x16/apps/*
%_datadir/icons/locolor/32x32/apps/* %_datadir/icons/locolor/32x32/apps/*
%_docdir/HTML/en/knetworkconf %_docdir/HTML/en/knetwortdeconf
%_docdir/HTML/de/knetworkconf %_docdir/HTML/de/knetwortdeconf
%_docdir/HTML/es/knetworkconf %_docdir/HTML/es/knetwortdeconf
%_datadir/apps/knetworkconf/backends/* %_datadir/apps/knetwortdeconf/backends/*
%_datadir/apps/knetworkconf/pixmaps/* %_datadir/apps/knetwortdeconf/pixmaps/*
%{_libdir}/pkgconfig/system-tools-backends.pc %{_libdir}/pkgconfig/system-tools-backends.pc

@ -0,0 +1,41 @@
# set the include path for X, qt and KDE
#INCLUDES= $(all_includes)
AM_CPPFLAGS = $(all_includes)
# We use deprecated routines in QButton, undefine QT_NO_COMPAT.
KDE_CXXFLAGS = -UQT_NO_COMPAT
METASOURCES = AUTO
#bin_PROGRAMS = knetwortdeconf
kde_module_LTLIBRARIES = kcm_knetwortdeconfmodule.la
kcm_knetwortdeconfmodule_la_LIBADD = $(LIB_TDEUI)
# the library search path.
kcm_knetwortdeconfmodule_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
## INCLUDES were found outside tdevelop specific part
kcm_knetwortdeconfmodule_la_SOURCES = kselectdistrodlg.ui kknownhostinfo.cpp \
kinterfaceupdowndlg.ui kaddknownhostdlg.ui kdetectdistrodlg.ui knetwortdeconfmodule.cpp \
kroutinginfo.cpp kreloadnetworkdlg.ui kaddressvalidator.cpp kdnsinfo.cpp \
knetworkinfo.cpp kadddevicedlg.ui kadddnsserverdlg.ui knetwortdeconfigparser.cpp \
knetworkinterface.cpp knetwortdeconfdlg.ui knetwortdeconf.cpp main.cpp kadddevicedlgextension.ui \
knetwortdeconfiface.skel kwirelessinterface.cpp kadddevicewifiext.ui kadddevicecontainer.cpp \
kprofileslistviewtooltip.cpp
EXTRA_DIST = main.cpp knetwortdeconf.cpp knetwortdeconf.h knetwortdeconf.desktop cr16-app-knetwortdeconf.png cr22-app-knetwortdeconf.png cr32-app-knetwortdeconf.png knetwortdeconfdlg.ui knetworkinterface.cpp knetworkinterface.h knetwortdeconfigparser.cpp knetwortdeconfigparser.h kadddnsserverdlg.ui kadddevicedlg.ui knetworkinfo.cpp knetworkinfo.h kdnsinfo.cpp kdnsinfo.h kaddressvalidator.cpp kaddressvalidator.h kreloadnetworkdlg.ui network_card.png kroutinginfo.cpp kroutinginfo.h knetwortdeconfmodule.cpp knetwortdeconfmodule.h kdetectdistrodlg.ui kaddknownhostdlg.ui kinterfaceupdowndlg.ui kadddnsserverdlg.ui.h kadddevicedlg.ui.h kaddknownhostdlg.ui.h kknownhostinfo.cpp kknownhostinfo.h kselectdistrodlg.ui kcm_knetwortdeconfmodule version.h
xdg_apps_DATA = kcm_knetwortdeconfmodule.desktop
KDE_ICON = AUTO
messages: rc.cpp
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/knetwortdeconf.pot; \
fi
noinst_HEADERS = kprofileslistviewtooltip.h

@ -0,0 +1 @@
?package(local.kcm_knetwortdeconfmodule.desktop):needs="x11" kde_filename="kcm_knetwortdeconfmodule" section="System/Configuration/KDE/Network" command="tdecmshell kcm_knetwortdeconfmodule" icon="locolor/32x32/apps/knetwortdeconf.png" longtitle="Configure your Network settings" title="Network Settings" kde_opt="Encoding=UTF-8\\nX-TDE-RootOnly=true\\nX-TDE-ModuleType=Library\\nX-TDE-Library=knetwortdeconfmodule\\nX-TDE-FactoryName=knetwortdeconfmodule\\nX-TDE-ParentApp=kcontrol\\nType=Application\\nDocPath=knetwortdeconf/index.docbook\\nComment[es]=Configurar las propiedades de Red\\nComment[de]=Netzwerkschnittstellen konfigurieren\\nTerminal=0\\nName[es]=Propiedades de Red\\nName[de]=Netzwerkschnittstellen konfigurieren\\nGenericName=Configure TCP/IP settings\\nGenericName[es]=Configurar las propiedades de red\\nKeywords=Network,DNS,routes,interfaces\\n"

@ -2,12 +2,12 @@
X-TDE-RootOnly=true X-TDE-RootOnly=true
Categories=Qt;TDE;Settings;X-TDE-settings-network; Categories=Qt;TDE;Settings;X-TDE-settings-network;
X-TDE-ModuleType=Library X-TDE-ModuleType=Library
X-TDE-Library=knetworkconfmodule X-TDE-Library=knetwortdeconfmodule
X-TDE-FactoryName=knetworkconfmodule X-TDE-FactoryName=knetwortdeconfmodule
Type=Application Type=Application
Exec=kcmshell kcm_knetworkconfmodule Exec=tdecmshell kcm_knetwortdeconfmodule
Icon=knetworkconf Icon=knetwortdeconf
DocPath=knetworkconf/index.html DocPath=knetwortdeconf/index.html
Comment=Configure Network Settings Comment=Configure Network Settings
Comment[ar]=إعداد تعيينات الشبكة Comment[ar]=إعداد تعيينات الشبكة

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconf.cpp - description knetwortdeconf.cpp - description
------------------- -------------------
begin : Sun Jan 12 8:54:19 UTC 2003 begin : Sun Jan 12 8:54:19 UTC 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -17,7 +17,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include "knetworkconf.h" #include "knetwortdeconf.h"
KNetworkConf::KNetworkConf(TQWidget *parent, const char *name) : DCOPObject("KNetworkConfIface"), KNetworkConfDlg(parent, name) KNetworkConf::KNetworkConf(TQWidget *parent, const char *name) : DCOPObject("KNetworkConfIface"), KNetworkConfDlg(parent, name)
{ {
@ -44,7 +44,7 @@ KNetworkConf::KNetworkConf(TQWidget *parent, const char *name) : DCOPObject("KNe
// Register with DCOP - No longer needed as now we are a kcontrol module? // Register with DCOP - No longer needed as now we are a kcontrol module?
if ( !kapp->dcopClient()->isRegistered() ) { if ( !kapp->dcopClient()->isRegistered() ) {
kapp->dcopClient()->registerAs( "knetworkconf" ); kapp->dcopClient()->registerAs( "knetwortdeconf" );
kapp->dcopClient()->setDefaultObject( objId() ); kapp->dcopClient()->setDefaultObject( objId() );
} }
@ -499,8 +499,8 @@ void KNetworkConf::helpSlot(){
void KNetworkConf::aboutSlot(){ void KNetworkConf::aboutSlot(){
KAboutApplication *about = new KAboutApplication(kapp->aboutData(),0); KAboutApplication *about = new KAboutApplication(kapp->aboutData(),0);
// about->setLogo(locate("icon","knetworkconf.png")); // about->setLogo(locate("icon","knetwortdeconf.png"));
//tqDebug("locate icon= %s",locate("icon","knetworkconf.png").latin1()); //tqDebug("locate icon= %s",locate("icon","knetwortdeconf.png").latin1());
about->show(); about->show();
} }
@ -1183,4 +1183,4 @@ void KNetworkConf::updateProfileSlot()
} }
} }
#include "knetworkconf.moc" #include "knetwortdeconf.moc"

@ -1,8 +1,8 @@
[Desktop Entry] [Desktop Entry]
Type=Application Type=Application
Exec=tdesu knetworkconf -caption "%c" %i %m Exec=tdesu knetwortdeconf -caption "%c" %i %m
Icon=knetworkconf Icon=knetwortdeconf
DocPath=knetworkconf/index.html DocPath=knetwortdeconf/index.html
Comment=Configure TCP/IP settings Comment=Configure TCP/IP settings
Comment[ar]=إعداد تعيينات ميفاق التحكم بلنقل/ميفاق الإنترنت Comment[ar]=إعداد تعيينات ميفاق التحكم بلنقل/ميفاق الإنترنت
Comment[be]=Наставіць TCP/IP Comment[be]=Наставіць TCP/IP
@ -67,7 +67,7 @@ Name[bn]=কে-নেটওয়ার্ক-কন্ফ
Name[ne]=केडीई सञ्जाल कन्फिगरेसन Name[ne]=केडीई सञ्जाल कन्फिगरेसन
Name[pa]=ਕੇ-ਨੈੱਟਵਰਕ-ਸੰਰਚਨਾ Name[pa]=ਕੇ-ਨੈੱਟਵਰਕ-ਸੰਰਚਨਾ
Name[pt_BR]=KNetworkConf Name[pt_BR]=KNetworkConf
Name[sv]=Knetworkconf Name[sv]=Knetwortdeconf
Name[th]=ปรับแต่งเครือข่าย - K Name[th]=ปรับแต่งเครือข่าย - K
GenericName=Configure TCP/IP Settings GenericName=Configure TCP/IP Settings
GenericName[ar]=إعداد تعيينات ميفاق التحكم بلنقل/ميفاق الإنترنت GenericName[ar]=إعداد تعيينات ميفاق التحكم بلنقل/ميفاق الإنترنت

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconf.h - description knetwortdeconf.h - description
------------------- -------------------
begin : Sun Jan 12 00:54:19 UTC 2003 begin : Sun Jan 12 00:54:19 UTC 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -56,20 +56,20 @@
#include <dcopclient.h> #include <dcopclient.h>
#include "knetworkconfdlg.h" #include "knetwortdeconfdlg.h"
#include "kadddnsserverdlg.h" #include "kadddnsserverdlg.h"
#include "kadddevicecontainer.h" #include "kadddevicecontainer.h"
#include "kadddevicedlg.h" #include "kadddevicedlg.h"
#include "kadddevicewifiext.h" #include "kadddevicewifiext.h"
#include "knetworkinfo.h" #include "knetworkinfo.h"
#include "kroutinginfo.h" #include "kroutinginfo.h"
#include "knetworkconfigparser.h" #include "knetwortdeconfigparser.h"
#include "kdnsinfo.h" #include "kdnsinfo.h"
#include "kaddknownhostdlg.h" #include "kaddknownhostdlg.h"
#include "kknownhostinfo.h" #include "kknownhostinfo.h"
#include "knetworkinterface.h" #include "knetworkinterface.h"
#include "kadddevicedlgextension.h" #include "kadddevicedlgextension.h"
#include "knetworkconfiface.h" #include "knetwortdeconfiface.h"
#include "kprofileslistviewtooltip.h" #include "kprofileslistviewtooltip.h"
/** KNetworkConf is the base class of the project */ /** KNetworkConf is the base class of the project */

@ -1040,7 +1040,7 @@
</connection> </connection>
</connections> </connections>
<includes> <includes>
<include location="local" impldecl="in implementation">knetworkconfdlg.ui.h</include> <include location="local" impldecl="in implementation">knetwortdeconfdlg.ui.h</include>
<include location="local" impldecl="in declaration">tqlistview.h</include> <include location="local" impldecl="in declaration">tqlistview.h</include>
</includes> </includes>
<Q_SLOTS> <Q_SLOTS>

@ -1,6 +1,6 @@
/* -*- c++ -*- /* -*- c++ -*-
* *
* knetworkconfiface.h * knetwortdeconfiface.h
* *
* Copyright (C) 2004 Juan Luis Baptiste <juan.baptiste@kdemail.net> * Copyright (C) 2004 Juan Luis Baptiste <juan.baptiste@kdemail.net>
* *
@ -20,8 +20,8 @@
* *
*/ */
#ifndef knetworkconf_iface_h #ifndef knetwortdeconf_iface_h
#define knetworkconf_iface_h #define knetwortdeconf_iface_h
#include <dcopobject.h> #include <dcopobject.h>

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconfigparser.cpp - description knetwortdeconfigparser.cpp - description
------------------- -------------------
begin : Mon Jan 13 2003 begin : Mon Jan 13 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -15,8 +15,8 @@
* * * *
***************************************************************************/ ***************************************************************************/
#include "knetworkconfigparser.h" #include "knetwortdeconfigparser.h"
#include "knetworkconfigparser.moc" #include "knetwortdeconfigparser.moc"
KNetworkConfigParser::KNetworkConfigParser(){ KNetworkConfigParser::KNetworkConfigParser(){
networkInfo = new KNetworkInfo(); networkInfo = new KNetworkInfo();
@ -69,7 +69,7 @@ void KNetworkConfigParser::runDetectionScript(TQString platform){
} }
} }
/** runs gst to find out the state of network devices.It runs the command: /** runs gst to find out the state of network devices.It runs the command:
$knetworkconf_home/backends/networkconf [--platform platform] -d list_ifaces. */ $knetwortdeconf_home/backends/networtdeconf [--platform platform] -d list_ifaces. */
void KNetworkConfigParser::listIfaces(const TQString &platform){ void KNetworkConfigParser::listIfaces(const TQString &platform){
procDetect = new TQProcess(this); procDetect = new TQProcess(this);
procDetect->addArgument( locate("data",BACKEND_PATH) ); procDetect->addArgument( locate("data",BACKEND_PATH) );
@ -367,7 +367,7 @@ void KNetworkConfigParser::addNetworkInterfacesToXMLDoc(TQDomDocument *doc, TQDo
//Save in the configuration file the description of the interfaces as //Save in the configuration file the description of the interfaces as
//the backend no longer handles this //the backend no longer handles this
KSimpleConfig cfg("knetworkconfrc"); KSimpleConfig cfg("knetwortdeconfrc");
cfg.setGroup("Interfaces"); cfg.setGroup("Interfaces");
//Add the network interfaces list //Add the network interfaces list
@ -751,7 +751,7 @@ KNetworkInterface * KNetworkConfigParser::getInterfaceInfo(TQDomElement interfac
tempDevice->setType(type); tempDevice->setType(type);
TQString description; TQString description;
KSimpleConfig cfg("knetworkconfrc"); KSimpleConfig cfg("knetwortdeconfrc");
cfg.setGroup("Interfaces"); cfg.setGroup("Interfaces");
description = cfg.readEntry(tempDevice->getDeviceName()); description = cfg.readEntry(tempDevice->getDeviceName());
if (!description.isEmpty()) if (!description.isEmpty())
@ -818,7 +818,7 @@ void KNetworkConfigParser::readNetworkInfo()
xmlOuput = xmlOuput.section('\n',1); xmlOuput = xmlOuput.section('\n',1);
tqDebug("--get XML:\n%s",xmlOuput.latin1()); tqDebug("--get XML:\n%s",xmlOuput.latin1());
//If the platform where knetworkconf is running isn't supported, show the //If the platform where knetwortdeconf is running isn't supported, show the
//user a dialog with all the supported platforms to choose. //user a dialog with all the supported platforms to choose.
if (xmlErr.contains("platform_unsup::")) if (xmlErr.contains("platform_unsup::"))
{ {
@ -1083,92 +1083,92 @@ void KNetworkConfigParser::showSupportedPlatformsDialogSlot(){
name = name.section(":",1,1); name = name.section(":",1,1);
if (key.contains("debian")) if (key.contains("debian"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/debian.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/debian.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("mandriva")) else if (key.contains("mandriva"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/mandriva.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/mandriva.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("conectiva")) else if (key.contains("conectiva"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/conectiva.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/conectiva.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("pld")) else if (key.contains("pld"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/pld.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/pld.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("redhat")) else if (key.contains("redhat"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/redhat.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/redhat.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("suse")) else if (key.contains("suse"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/suse.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/suse.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("turbolinux")) else if (key.contains("turbolinux"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/turbolinux.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/turbolinux.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("fedora")) else if (key.contains("fedora"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/fedora.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/fedora.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("openna")) else if (key.contains("openna"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/openna.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/openna.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("slackware")) else if (key.contains("slackware"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/slackware.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/slackware.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("freebsd")) else if (key.contains("freebsd"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/freebsd.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/freebsd.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("gentoo")) else if (key.contains("gentoo"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/gentoo.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/gentoo.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("blackpanther")) else if (key.contains("blackpanther"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/blackpanther.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/blackpanther.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("rpath")) else if (key.contains("rpath"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/rpath.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/rpath.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("vine")) else if (key.contains("vine"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/vine.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/vine.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("ubuntu")) else if (key.contains("ubuntu"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/kubuntu.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/kubuntu.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("yoper")) else if (key.contains("yoper"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/yoper.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/yoper.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
else if (key.contains("ark")) else if (key.contains("ark"))
{ {
TQPixmap distroImg(locate("data","knetworkconf/pixmaps/ark.png")); TQPixmap distroImg(locate("data","knetwortdeconf/pixmaps/ark.png"));
dialog->klbDistroList->insertItem(distroImg, name); dialog->klbDistroList->insertItem(distroImg, name);
} }
} }
@ -1199,7 +1199,7 @@ void KNetworkConfigParser::showSupportedPlatformsDialogSlot(){
void KNetworkConfigParser::saveAskAgain(const TQString &platform, bool askAgain) void KNetworkConfigParser::saveAskAgain(const TQString &platform, bool askAgain)
{ {
KSimpleConfig cfg("knetworkconfrc"); KSimpleConfig cfg("knetwortdeconfrc");
cfg.setGroup("General"); cfg.setGroup("General");
cfg.writeEntry("detectedPlatform",platform); cfg.writeEntry("detectedPlatform",platform);
cfg.writeEntry("askAgainPlatform",askAgain); cfg.writeEntry("askAgainPlatform",askAgain);
@ -1208,7 +1208,7 @@ void KNetworkConfigParser::saveAskAgain(const TQString &platform, bool askAgain)
bool KNetworkConfigParser::readAskAgain(TQString &platform) bool KNetworkConfigParser::readAskAgain(TQString &platform)
{ {
KSimpleConfig cfg("knetworkconfrc"); KSimpleConfig cfg("knetwortdeconfrc");
cfg.setGroup("General"); cfg.setGroup("General");
platform = cfg.readEntry("detectedPlatform"); platform = cfg.readEntry("detectedPlatform");
return cfg.readBoolEntry("askAgainPlatform"); return cfg.readBoolEntry("askAgainPlatform");

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconfigparser.h - description knetwortdeconfigparser.h - description
------------------- -------------------
begin : Mon Jan 13 2003 begin : Mon Jan 13 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -18,7 +18,7 @@
#ifndef KNETWORKCONFIGPARSER_H #ifndef KNETWORKCONFIGPARSER_H
#define KNETWORKCONFIGPARSER_H #define KNETWORKCONFIGPARSER_H
#define BACKEND_PATH "knetworkconf/backends/network-conf" #define BACKEND_PATH "knetwortdeconf/backends/network-conf"
#define ETHERNET_IFACE_TYPE "ethernet" #define ETHERNET_IFACE_TYPE "ethernet"
#define WIRELESS_IFACE_TYPE "wireless" #define WIRELESS_IFACE_TYPE "wireless"
#define LOOPBACK_IFACE_TYPE "loopback" #define LOOPBACK_IFACE_TYPE "loopback"
@ -83,7 +83,7 @@ class KNetworkConfigParser : public TQObject {
public slots: public slots:
/** runs gst to find out the state of network devices.It runs the command: /** runs gst to find out the state of network devices.It runs the command:
$knetworkconf_home/backends/networkconf [--platform platform] -d list_ifaces */ $knetwortdeconf_home/backends/networtdeconf [--platform platform] -d list_ifaces */
void listIfaces(const TQString &platform); void listIfaces(const TQString &platform);
private slots: private slots:

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconfmodule.cpp - description knetwortdeconfmodule.cpp - description
------------------- -------------------
begin : Tue Apr 1 2003 begin : Tue Apr 1 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -19,7 +19,7 @@
#include <tdecmodule.h> #include <tdecmodule.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <version.h> #include <version.h>
#include "knetworkconfmodule.h" #include "knetwortdeconfmodule.h"
@ -81,9 +81,9 @@ TQString KNetworkConfModule::rootOnlyMsg() const
TDEAboutData* KNetworkConfModule::aboutData() const TDEAboutData* KNetworkConfModule::aboutData() const
{ {
/*TDEAboutData* data = new TDEAboutData( "knetworkconf", I18N_NOOP("KNetworkConf"), /*TDEAboutData* data = new TDEAboutData( "knetwortdeconf", I18N_NOOP("KNetworkConf"),
VERSION, description, TDEAboutData::License_GPL, VERSION, description, TDEAboutData::License_GPL,
"(c) 2003, Juan Luis Baptiste", 0, "http://www.merlinux.org/knetworkconf/", "jbaptiste@merlinux.org"); "(c) 2003, Juan Luis Baptiste", 0, "http://www.merlinux.org/knetwortdeconf/", "jbaptiste@merlinux.org");
data->addAuthor("Juan Luis Baptiste",I18N_NOOP("Lead Developer"), data->addAuthor("Juan Luis Baptiste",I18N_NOOP("Lead Developer"),
"jbaptiste@merlinux.org"); "jbaptiste@merlinux.org");
data->addCredit("David Sansome",I18N_NOOP("Various bugfixes and features"), data->addCredit("David Sansome",I18N_NOOP("Various bugfixes and features"),
@ -91,9 +91,9 @@ TDEAboutData* KNetworkConfModule::aboutData() const
return data; // Memory leak, oh well...*/ return data; // Memory leak, oh well...*/
TDEAboutData *aboutData = new TDEAboutData( "knetworkconf", I18N_NOOP("KNetworkConf"), TDEAboutData *aboutData = new TDEAboutData( "knetwortdeconf", I18N_NOOP("KNetworkConf"),
VERSION, description, TDEAboutData::License_GPL, VERSION, description, TDEAboutData::License_GPL,
"(c) 2003 - 2005, Juan Luis Baptiste", 0, "http://www.merlinux.org/knetworkconf/", "juan.baptiste@kdemail.net"); "(c) 2003 - 2005, Juan Luis Baptiste", 0, "http://www.merlinux.org/knetwortdeconf/", "juan.baptiste@kdemail.net");
aboutData->addAuthor("Juan Luis Baptiste",I18N_NOOP("Lead Developer"), aboutData->addAuthor("Juan Luis Baptiste",I18N_NOOP("Lead Developer"),
"juan.baptiste@kdemail.net"); "juan.baptiste@kdemail.net");
aboutData->addCredit("Carlos Garnacho and the Gnome System Tools Team",I18N_NOOP("Provided the Network backend which KNetworkConf relies on."), aboutData->addCredit("Carlos Garnacho and the Gnome System Tools Team",I18N_NOOP("Provided the Network backend which KNetworkConf relies on."),
@ -113,6 +113,6 @@ TQString KNetworkConfModule::quickHelp() const
return i18n("%1Network configuration%2This module allows you to configure your TCP/IP settings.%3").arg("<h1>").arg("</h1><p>").arg("</p>"); return i18n("%1Network configuration%2This module allows you to configure your TCP/IP settings.%3").arg("<h1>").arg("</h1><p>").arg("</p>");
} }
//#include "knetworkconfmodule.moc" //#include "knetwortdeconfmodule.moc"
#include "knetworkconfmodule.moc" #include "knetwortdeconfmodule.moc"

@ -1,5 +1,5 @@
/*************************************************************************** /***************************************************************************
knetworkconfmodule.h - description knetwortdeconfmodule.h - description
------------------- -------------------
begin : Tue Apr 1 2003 begin : Tue Apr 1 2003
copyright : (C) 2003 by Juan Luis Baptiste copyright : (C) 2003 by Juan Luis Baptiste
@ -18,7 +18,7 @@
#ifndef KNETWORKCONFMODULE_H #ifndef KNETWORKCONFMODULE_H
#define KNETWORKCONFMODULE_H #define KNETWORKCONFMODULE_H
#include "knetworkconf.h" #include "knetwortdeconf.h"
#include <kaboutdata.h> #include <kaboutdata.h>
#include <tdecmodule.h> #include <tdecmodule.h>

@ -23,7 +23,7 @@
#include <tqptrlist.h> #include <tqptrlist.h>
#include "knetworkinfo.h" #include "knetworkinfo.h"
#include "knetworkconfigparser.h" #include "knetwortdeconfigparser.h"
class KProfilesListViewToolTip : public TQToolTip class KProfilesListViewToolTip : public TQToolTip
{ {

@ -25,8 +25,8 @@
#include <kglobal.h> #include <kglobal.h>
#include <kgenericfactory.h> #include <kgenericfactory.h>
//#include "knetworkconf.h" //#include "knetwortdeconf.h"
#include "knetworkconfmodule.h" #include "knetwortdeconfmodule.h"
#include "version.h" #include "version.h"
@ -36,13 +36,13 @@ static KCmdLineOptions options[] =
// INSERT YOUR COMMANDLINE OPTIONS HERE // INSERT YOUR COMMANDLINE OPTIONS HERE
}; };
/*typedef KGenericFactory<KNetworkConfModule> KDEDFactory; /*typedef KGenericFactory<KNetworkConfModule> KDEDFactory;
K_EXPORT_COMPONENT_FACTORY( knetworkconfmodule, KDEDFactory( "kcm_knetworkconfmodule" ) ); */ K_EXPORT_COMPONENT_FACTORY( knetwortdeconfmodule, KDEDFactory( "kcm_knetwortdeconfmodule" ) ); */
extern "C" extern "C"
{ {
KDE_EXPORT TDECModule *create_knetworkconfmodule(TQWidget *parent, const char *name) KDE_EXPORT TDECModule *create_knetwortdeconfmodule(TQWidget *parent, const char *name)
{ {
TDEGlobal::locale()->insertCatalogue("knetworkconf"); TDEGlobal::locale()->insertCatalogue("knetwortdeconf");
return new KNetworkConfModule(parent, name); return new KNetworkConfModule(parent, name);
} }
} }

@ -11,4 +11,4 @@ PASOS PARA HACER RELEASE DE KNETWORKCONF:
9. Hacer anuncio en kde-apps.org y freshmeat.net 9. Hacer anuncio en kde-apps.org y freshmeat.net
10. Hacer anuncios en listas de correo: 10. Hacer anuncios en listas de correo:
- Merlinux, Colibri y Linux Anuncio en espaniol - Merlinux, Colibri y Linux Anuncio en espaniol
- kde-announce, knetworkconf-announce, kde-debian en ingles - kde-announce, knetwortdeconf-announce, kde-debian en ingles

@ -1,4 +1,4 @@
iconsdir = $(kde_datadir)/knetworkconf/pixmaps/ iconsdir = $(kde_datadir)/knetwortdeconf/pixmaps/
icons_DATA = ark.png debian.png mandriva.png blackpanther.png pld.png \ icons_DATA = ark.png debian.png mandriva.png blackpanther.png pld.png \
redhat.png suse.png turbolinux.png conectiva.png fedora.png openna.png \ redhat.png suse.png turbolinux.png conectiva.png fedora.png openna.png \
slackware.png freebsd.png gentoo.png vine.png kubuntu.png yoper.png rpath.png slackware.png freebsd.png gentoo.png vine.png kubuntu.png yoper.png rpath.png

Before

Width:  |  Height:  |  Size: 802 B

After

Width:  |  Height:  |  Size: 802 B

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 608 B

After

Width:  |  Height:  |  Size: 608 B

Before

Width:  |  Height:  |  Size: 698 B

After

Width:  |  Height:  |  Size: 698 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 765 B

After

Width:  |  Height:  |  Size: 765 B

Before

Width:  |  Height:  |  Size: 853 B

After

Width:  |  Height:  |  Size: 853 B

Before

Width:  |  Height:  |  Size: 743 B

After

Width:  |  Height:  |  Size: 743 B

Before

Width:  |  Height:  |  Size: 682 B

After

Width:  |  Height:  |  Size: 682 B

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Before

Width:  |  Height:  |  Size: 793 B

After

Width:  |  Height:  |  Size: 793 B

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 749 B

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -216,7 +216,7 @@ Fix compiling without RPM
kpackage-0.9 kpackage-0.9
------------ ------------
Add searching for package that includes a file (dialog with DND) Add searching for package that includes a file (dialog with DND)
Use kfile file selector Use tdefile file selector
Only create file list when accessed Only create file list when accessed
Don't reload package tree after add or delete Don't reload package tree after add or delete
Add toolbar (prevent toolbar envy) Add toolbar (prevent toolbar envy)

@ -35,7 +35,7 @@
#include <tqfile.h> #include <tqfile.h>
#include <tqtextstream.h> #include <tqtextstream.h>
#include "../config.h" #include "../config.h"
#include <kio/job.h> #include <tdeio/job.h>
class Kio: public TQObject class Kio: public TQObject
{ {

@ -37,7 +37,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kurl.h> #include <kurl.h>
#include <kapplication.h> #include <kapplication.h>

@ -183,7 +183,7 @@ public:
// Widget modes // Widget modes
TDEConfig *config; TDEConfig *config;
// pointer to kconfig object // pointer to tdeconfig object
managementWidget *management; managementWidget *management;
// management widget // management widget

@ -42,7 +42,7 @@
// KDE headers // KDE headers
#include <kapplication.h> #include <kapplication.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kpackage.h> #include <kpackage.h>

@ -4,7 +4,7 @@ Current Code
Main developer: Main developer:
Peter Putzer <putzer@kde.org> Peter Putzer <putzer@kde.org>
leveldb.{h,c} (from chkconfig): leveldb.{h,c} (from chtdeconfig):
Red Hat Software http://www.redhat.com Red Hat Software http://www.redhat.com
Previous Versions Previous Versions

@ -67,7 +67,7 @@
#include <kstdaccel.h> #include <kstdaccel.h>
#include <kedittoolbar.h> #include <kedittoolbar.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <kaboutdata.h> #include <kaboutdata.h>
#include <kcursor.h> #include <kcursor.h>

@ -17,7 +17,7 @@
#include <kglobal.h> #include <kglobal.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>
#include <kmainwindow.h> #include <kmainwindow.h>
#include <kconfig.h> #include <tdeconfig.h>
#include "ksv_core.h" #include "ksv_core.h"
#include "ksv_conf.h" #include "ksv_conf.h"

@ -28,7 +28,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <kdialog.h> #include <kdialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#include <klineedit.h> #include <klineedit.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>

@ -26,7 +26,7 @@
#include "ksvpathconfig.h" #include "ksvpathconfig.h"
#include <klineedit.h> #include <klineedit.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
/* /*
* Constructs a KSVPathConfig which is a child of 'parent', with the * Constructs a KSVPathConfig which is a child of 'parent', with the

@ -111,7 +111,7 @@ int readServiceInfo(const char* RUNLEVELS, const char * name, struct service * s
while (isspace(*start) && start < end) start++; while (isspace(*start) && start < end) start++;
if (start == end) continue; if (start == end) continue;
if (!strncmp(start, "chkconfig:", 10)) { if (!strncmp(start, "chtdeconfig:", 10)) {
start += 10; start += 10;
while (isspace(*start) && start < end) start++; while (isspace(*start) && start < end) start++;
if (start == end) { if (start == end) {

@ -34,7 +34,7 @@ struct service {
int parseLevels(const char * str, int emptyOk); int parseLevels(const char * str, int emptyOk);
/* returns 0 on success, 1 if the service is not chkconfig-able, -1 if an /* returns 0 on success, 1 if the service is not chtdeconfig-able, -1 if an
I/O error occurs (in which case errno can be checked) */ I/O error occurs (in which case errno can be checked) */
int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service); int readServiceInfo(const char* RUNLEVELS, const char* name, struct service * service);
int currentRunlevel(void); int currentRunlevel(void);

@ -22,7 +22,7 @@
#define _KU_EDITDEFAULTS_H_ #define _KU_EDITDEFAULTS_H_
#include <tqmemarray.h> #include <tqmemarray.h>
#include <kconfigdialog.h> #include <tdeconfigdialog.h>
#include <kprogress.h> #include <kprogress.h>
#include <kabc/ldif.h> #include <kabc/ldif.h>
#include "ldapsamba.h" #include "ldapsamba.h"

@ -27,7 +27,7 @@
#ifdef HAVE_PATHS_H #ifdef HAVE_PATHS_H
#include <paths.h> #include <paths.h>
#endif #endif
#include <kconfig.h> #include <tdeconfig.h>
#include "kuserprefs.h" #include "kuserprefs.h"
#define KU_BACKUP_EXT ".bak" #define KU_BACKUP_EXT ".bak"

@ -28,7 +28,7 @@
#include <kprogress.h> #include <kprogress.h>
#include <kabc/ldapurl.h> #include <kabc/ldapurl.h>
#include <kabc/ldif.h> #include <kabc/ldif.h>
#include <kio/job.h> #include <tdeio/job.h>
#include "kgroup.h" #include "kgroup.h"

@ -41,7 +41,7 @@
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kprocess.h> #include <kprocess.h>
#include <kdebug.h> #include <kdebug.h>
#include <kio/netaccess.h> #include <tdeio/netaccess.h>
#include <kurl.h> #include <kurl.h>
// class KUser // class KUser

@ -21,7 +21,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <kmdcodec.h> #include <kmdcodec.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kio/tdentlm.h> #include <tdeio/tdentlm.h>
#include "kglobal_.h" #include "kglobal_.h"
#include "kuserldap.h" #include "kuserldap.h"

@ -28,7 +28,7 @@
#include <kprogress.h> #include <kprogress.h>
#include <kabc/ldapurl.h> #include <kabc/ldapurl.h>
#include <kabc/ldif.h> #include <kabc/ldif.h>
#include <kio/job.h> #include <tdeio/job.h>
#include "kuser.h" #include "kuser.h"

@ -1,4 +1,4 @@
# Code generation options for kconfig_compiler # Code generation options for tdeconfig_compiler
File=kuser.kcfg File=kuser.kcfg
ClassName=KUserPrefsBase ClassName=KUserPrefsBase
SetUserTexts=true SetUserTexts=true

@ -22,7 +22,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <tdeconfig.h>
#include <klocale.h> #include <klocale.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kaboutdata.h> #include <kaboutdata.h>

@ -37,7 +37,7 @@
#include <klocale.h> #include <klocale.h>
#include <ktabctl.h> #include <ktabctl.h>
#include <kdialog.h> #include <kdialog.h>
#include <kfiledialog.h> #include <tdefiledialog.h>
#define _(x) i18n(x) #define _(x) i18n(x)
#define WarningYesNo(parent, caption, text) \ #define WarningYesNo(parent, caption, text) \
KMessageBox::warningYesNo(parent, text, caption) KMessageBox::warningYesNo(parent, text, caption)

@ -1,5 +1,5 @@
[Desktop Entry] [Desktop Entry]
Exec=kcmshell lilo Exec=tdecmshell lilo
Icon=hdd_unmount Icon=hdd_unmount
Type=Application Type=Application

@ -0,0 +1,22 @@
## Makefile.am for deb file meta info plugin
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = tdefile_deb.h
kde_module_LTLIBRARIES = tdefile_deb.la
tdefile_deb_la_SOURCES = tdefile_deb.cpp
tdefile_deb_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
tdefile_deb_la_LIBADD = $(LIB_KSYCOCA)
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages:
$(XGETTEXT) *.cpp *.h -o $(podir)/tdefile_deb.pot
services_DATA = tdefile_deb.desktop
servicesdir = $(kde_servicesdir)

@ -37,11 +37,11 @@
#include <ktar.h> #include <ktar.h>
#include <kar.h> #include <kar.h>
#include "kfile_deb.h" #include "tdefile_deb.h"
typedef KGenericFactory<KDebPlugin> DebFactory; typedef KGenericFactory<KDebPlugin> DebFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_deb, DebFactory( "kfile_deb" )) K_EXPORT_COMPONENT_FACTORY(tdefile_deb, DebFactory( "tdefile_deb" ))
KDebPlugin::KDebPlugin(TQObject *parent, const char *name, KDebPlugin::KDebPlugin(TQObject *parent, const char *name,
const TQStringList &args) const TQStringList &args)
@ -127,4 +127,4 @@ bool KDebPlugin::readInfo( KFileMetaInfo& info, uint /*what*/)
return true; return true;
} }
#include "kfile_deb.moc" #include "tdefile_deb.moc"

@ -64,6 +64,6 @@ Name[zh_CN]=DEB 统计
Name[zh_HK]=DEB 統計 Name[zh_HK]=DEB 統計
Name[zh_TW]=DEB 統計 Name[zh_TW]=DEB 統計
ServiceTypes=KFilePlugin ServiceTypes=KFilePlugin
X-TDE-Library=kfile_deb X-TDE-Library=tdefile_deb
MimeType=application/x-deb MimeType=application/x-deb
PreferredItems=Name,Version,Summary,Size PreferredItems=Name,Version,Summary,Size

@ -20,7 +20,7 @@
#ifndef __KFILE_DEB_H__ #ifndef __KFILE_DEB_H__
#define __KFILE_DEB_H__ #define __KFILE_DEB_H__
#include <kfilemetainfo.h> #include <tdefilemetainfo.h>
class TQStringList; class TQStringList;

@ -0,0 +1,22 @@
## Makefile.am for rpm file meta info plugin
# set the include path for X, qt and KDE
INCLUDES = $(all_includes)
# these are the headers for your project
noinst_HEADERS = tdefile_rpm.h
kde_module_LTLIBRARIES = tdefile_rpm.la
tdefile_rpm_la_SOURCES = tdefile_rpm.cpp
tdefile_rpm_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
tdefile_rpm_la_LIBADD = $(LIB_KSYCOCA)
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages:
$(XGETTEXT) *.cpp *.h -o $(podir)/tdefile_rpm.pot
services_DATA = tdefile_rpm.desktop
servicesdir = $(kde_servicesdir)

@ -30,11 +30,11 @@ typedef unsigned short uint16_t;
typedef unsigned int uint32_t; typedef unsigned int uint32_t;
#endif #endif
#include "kfile_rpm.h" #include "tdefile_rpm.h"
typedef KGenericFactory<KRpmPlugin> RpmFactory; typedef KGenericFactory<KRpmPlugin> RpmFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_rpm, RpmFactory( "kfile_rpm" )) K_EXPORT_COMPONENT_FACTORY(tdefile_rpm, RpmFactory( "tdefile_rpm" ))
KRpmPlugin::KRpmPlugin(TQObject *parent, const char *name, KRpmPlugin::KRpmPlugin(TQObject *parent, const char *name,
const TQStringList &args) const TQStringList &args)
@ -149,4 +149,4 @@ bool KRpmPlugin::readInfo( KFileMetaInfo& info, uint what)
return true; return true;
} }
#include "kfile_rpm.moc" #include "tdefile_rpm.moc"

@ -64,6 +64,6 @@ Name[zh_CN]=RPM 统计
Name[zh_HK]=RPM 統計 Name[zh_HK]=RPM 統計
Name[zh_TW]=RPM 統計 Name[zh_TW]=RPM 統計
ServiceTypes=KFilePlugin ServiceTypes=KFilePlugin
X-TDE-Library=kfile_rpm X-TDE-Library=tdefile_rpm
MimeType=application/x-rpm MimeType=application/x-rpm
PreferredItems=Name,Version,Summary,Group,Size PreferredItems=Name,Version,Summary,Group,Size

@ -20,7 +20,7 @@
#ifndef __KFILE_RPM_H__ #ifndef __KFILE_RPM_H__
#define __KFILE_RPM_H__ #define __KFILE_RPM_H__
#include <kfilemetainfo.h> #include <tdefilemetainfo.h>
class TQStringList; class TQStringList;
Loading…
Cancel
Save