Additional kde to tde renaming

pull/1/head
Timothy Pearson 13 years ago
parent 73dc36225d
commit 27f2cfdc57

@ -5,7 +5,7 @@ SUBDIRS = pics
# The binary name. Changed from kzip to ark # The binary name. Changed from kzip to ark
bin_PROGRAMS = bin_PROGRAMS =
kdeinit_LTLIBRARIES = ark.la tdeinit_LTLIBRARIES = ark.la
lib_LTLIBRARIES = lib_LTLIBRARIES =
ark_la_SOURCES = main.cpp arkapp.cpp mainwindow.cpp ark_la_SOURCES = main.cpp arkapp.cpp mainwindow.cpp

@ -4,7 +4,7 @@ SUBDIRS = knumber
bin_PROGRAMS = bin_PROGRAMS =
lib_LTLIBRARIES = lib_LTLIBRARIES =
kdeinit_LTLIBRARIES = kcalc.la tdeinit_LTLIBRARIES = kcalc.la
kcalc_la_SOURCES = kcalc.cpp kcalc_button.cpp kcalc_const_button.cpp \ kcalc_la_SOURCES = kcalc.cpp kcalc_button.cpp kcalc_const_button.cpp \
kcalc_const_menu.cpp kcalc_core.cpp kcalcdisplay.cpp \ kcalc_const_menu.cpp kcalc_core.cpp kcalcdisplay.cpp \

@ -29,4 +29,4 @@ METASOURCES = AUTO
knumbertest_SOURCES = knumbertest.cpp knumbertest_SOURCES = knumbertest.cpp
knumbertest_LDADD = ../libknumber.la $(LIB_QT) $(LIBGMP) knumbertest_LDADD = ../libknumber.la $(LIB_QT) $(LIBGMP)
knumbertest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor knumbertest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor

@ -3,7 +3,7 @@ LDADD = $(LIB_KFILE)
bin_PROGRAMS = kcharselect bin_PROGRAMS = kcharselect
kcharselect_SOURCES = kcharselectdia.cc main.cc kcharselect_SOURCES = kcharselectdia.cc main.cc
kcharselect_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kcharselect_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kcharselect_METASOURCES = kcharselectdia.moc kcharselect_METASOURCES = kcharselectdia.moc
updatedir = $(kde_datadir)/kconf_update updatedir = $(kde_datadir)/kconf_update

@ -33,7 +33,7 @@ KCharSelectDia::KCharSelectDia(TQWidget *parent,const char *name,
grid = new TQGridLayout( mainWidget, 3, 4, KDialog::marginHint(), KDialog::spacingHint() ); grid = new TQGridLayout( mainWidget, 3, 4, KDialog::marginHint(), KDialog::spacingHint() );
// Add character selection widget from library kdeui // Add character selection widget from library tdeui
charSelect = new KCharSelect(mainWidget,"",vFont,vChr,_tableNum); charSelect = new KCharSelect(mainWidget,"",vFont,vChr,_tableNum);
charSelect->resize(charSelect->tqsizeHint()); charSelect->resize(charSelect->tqsizeHint());
connect(charSelect,TQT_SIGNAL(highlighted(const TQChar &)), connect(charSelect,TQT_SIGNAL(highlighted(const TQChar &)),

@ -3,7 +3,7 @@ SUBDIRS = icons
bin_PROGRAMS = bin_PROGRAMS =
lib_LTLIBRARIES = lib_LTLIBRARIES =
noinst_LTLIBRARIES = libirkick_common.la noinst_LTLIBRARIES = libirkick_common.la
kdeinit_LTLIBRARIES = irkick.la tdeinit_LTLIBRARIES = irkick.la
CLEANFILES = dummy.cpp CLEANFILES = dummy.cpp

@ -34,7 +34,7 @@ INCLUDES = $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
# the library search path. # the library search path.
libkdelirc_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor libkdelirc_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
# Uncomment the following two lines if you add a ui.rc file for your application to make use of # Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE´s XML GUI builing # KDE´s XML GUI builing

@ -3,13 +3,13 @@
<profile id="klauncher"> <profile id="klauncher">
<name>KDE Program Launcher</name> <name>KDE Program Launcher</name>
<author>Gav Wood</author> <author>Gav Wood</author>
<action objid="default" prototype="void kdeinit_exec(QString, QStringList)" repeat="0" autostart="0"> <action objid="default" prototype="void tdeinit_exec(QString, QStringList)" repeat="0" autostart="0">
<name>Execute</name> <name>Execute</name>
<comment>Runs a program or script</comment> <comment>Runs a program or script</comment>
<argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument> <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument>
<argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument> <argument type=TQSTRINGLIST_OBJECT_NAME_STRING><comment>Parameters for the program or script</comment></argument>
</action> </action>
<action objid="default" prototype="void kdeinit_exec_wait(QString, QStringList)" repeat="0" autostart="0"> <action objid="default" prototype="void tdeinit_exec_wait(QString, QStringList)" repeat="0" autostart="0">
<name>Execute and Wait</name> <name>Execute and Wait</name>
<comment>Runs a program or script and waits for it to finish</comment> <comment>Runs a program or script and waits for it to finish</comment>
<argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument> <argument type=TQSTRING_OBJECT_NAME_STRING><comment>The executable name and path of the program or script to run</comment></argument>

@ -6,8 +6,8 @@ INCLUDES= $(all_includes)
## kdessh ## kdessh
bin_PROGRAMS = kdessh bin_PROGRAMS = kdessh
kdessh_SOURCES = kdessh.cpp sshdlg.cpp kdessh_SOURCES = kdessh.cpp sshdlg.cpp
kdessh_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kdessh_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kdessh_LDADD = $(LIB_KDEUI) -lkdesu kdessh_LDADD = $(LIB_KDEUI) -ltdesu
kdessh_METASOURCES = AUTO kdessh_METASOURCES = AUTO
noinst_HEADERS = sshdlg.h noinst_HEADERS = sshdlg.h

@ -2,7 +2,7 @@
* *
* $Id$ * $Id$
* *
* This file is part of the KDE project, module kdesu. * This file is part of the KDE project, module tdesu.
* Copyright (C) 2000 Geert Jansen <jansen@kde.org> * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
*/ */
@ -27,9 +27,9 @@
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kdesu/ssh.h> #include <tdesu/ssh.h>
#include <kdesu/client.h> #include <tdesu/client.h>
#include <kdesu/defaults.h> #include <tdesu/defaults.h>
#include "sshdlg.h" #include "sshdlg.h"
@ -38,7 +38,7 @@ static KCmdLineOptions options[] =
{ "+host", I18N_NOOP("Specifies the remote host"), 0 }, { "+host", I18N_NOOP("Specifies the remote host"), 0 },
{ "+command", I18N_NOOP("The command to run"), 0 }, { "+command", I18N_NOOP("The command to run"), 0 },
{ "u <user>", I18N_NOOP("Specifies the target uid"), 0 }, { "u <user>", I18N_NOOP("Specifies the target uid"), 0 },
{ "s <path>", I18N_NOOP("Specify remote stub location"), "kdesu_stub" }, { "s <path>", I18N_NOOP("Specify remote stub location"), "tdesu_stub" },
{ "n", I18N_NOOP("Do not keep password"), 0 }, { "n", I18N_NOOP("Do not keep password"), 0 },
{ "q", I18N_NOOP("Stop the daemon (forgets all passwords)"), 0 }, { "q", I18N_NOOP("Stop the daemon (forgets all passwords)"), 0 },
{ "t", I18N_NOOP("Enable terminal output (no password keeping)"), 0 }, { "t", I18N_NOOP("Enable terminal output (no password keeping)"), 0 },
@ -128,7 +128,7 @@ int main(int argc, char *argv[])
have_daemon = false; have_daemon = false;
} }
// Try to exec the command with kdesud? // Try to exec the command with tdesud?
bool keep = !args->isSet("n") && have_daemon; bool keep = !args->isSet("n") && have_daemon;
bool terminal = args->isSet("t"); bool terminal = args->isSet("t");
if (keep && !terminal) if (keep && !terminal)

@ -2,14 +2,14 @@
* *
* $Id$ * $Id$
* *
* This file is part of the KDE project, module kdesu. * This file is part of the KDE project, module tdesu.
* Copyright (C) 2000 Geert Jansen <jansen@kde.org> * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
*/ */
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kdesu/ssh.h> #include <tdesu/ssh.h>
#include "sshdlg.h" #include "sshdlg.h"
@ -59,7 +59,7 @@ bool KDEsshDialog::checkPassword(const char *password)
case SshProcess::SshNotFound: case SshProcess::SshNotFound:
KMessageBox::sorry(this, KMessageBox::sorry(this,
i18n("The programs 'ssh' or 'kdesu_stub' cannot be found.\n" i18n("The programs 'ssh' or 'tdesu_stub' cannot be found.\n"
"Make sure your PATH is set correctly.")); "Make sure your PATH is set correctly."));
done(Rejected); done(Rejected);
return false; return false;

@ -2,7 +2,7 @@
* *
* $Id$ * $Id$
* *
* This file is part of the KDE project, module kdesu. * This file is part of the KDE project, module tdesu.
* Copyright (C) 2000 Geert Jansen <jansen@kde.org> * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
*/ */

@ -9,11 +9,11 @@ libkdf_common_la_SOURCES = kdfwidget.cpp kdfconfig.cpp mntconfig.cpp disklist.cp
disks.cpp listview.cpp optiondialog.cpp stdoption.cpp disks.cpp listview.cpp optiondialog.cpp stdoption.cpp
kdf_SOURCES = kdf.cpp kdf_SOURCES = kdf.cpp
kdf_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kdf_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kdf_LDADD = libkdf_common.la $(LIB_KFILE) kdf_LDADD = libkdf_common.la $(LIB_KFILE)
kwikdisk_SOURCES = kwikdisk.cpp kwikdisk_SOURCES = kwikdisk.cpp
kwikdisk_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kwikdisk_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kwikdisk_LDADD = libkdf_common.la $(LIB_KFILE) kwikdisk_LDADD = libkdf_common.la $(LIB_KFILE)
kde_module_LTLIBRARIES = kcm_kdf.la kde_module_LTLIBRARIES = kcm_kdf.la

@ -27,7 +27,7 @@
/* compile with /* compile with
* gcc -I$TQTDIR/include -I$KDEDIR/include -L/opt/kde/lib -L/usr/X11R6/lib -lkfm -lkdeui -lkdecore -lqt -lX11 -lXext -fno-rtti kconftest.cpp * gcc -I$TQTDIR/include -I$KDEDIR/include -L/opt/kde/lib -L/usr/X11R6/lib -lkfm -ltdeui -ltdecore -lqt -lX11 -lXext -fno-rtti kconftest.cpp
*/ */

@ -9,10 +9,10 @@ INCLUDES = $(all_includes)
bin_PROGRAMS = bin_PROGRAMS =
lib_LTLIBRARIES = lib_LTLIBRARIES =
kdeinit_LTLIBRARIES = kedit.la tdeinit_LTLIBRARIES = kedit.la
kedit_la_SOURCES = kedit.cpp ktextfiledlg.cpp misc.ui color.ui prefs.kcfgc kedit_la_SOURCES = kedit.cpp ktextfiledlg.cpp misc.ui color.ui prefs.kcfgc
kedit_la_LIBADD = -lkdeprint $(LIB_KFILE) kedit_la_LIBADD = -ltdeprint $(LIB_KFILE)
kedit_la_LDFLAGS = -module -avoid-version $(KDE_PLUGIN) $(all_libraries) kedit_la_LDFLAGS = -module -avoid-version $(KDE_PLUGIN) $(all_libraries)
noinst_HEADERS = kedit.h ktextfiledlg.h\ noinst_HEADERS = kedit.h ktextfiledlg.h\

@ -1,4 +1,4 @@
kfloppy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kfloppy_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kfloppy_LDADD = $(LIB_KDEUI) -lm kfloppy_LDADD = $(LIB_KDEUI) -lm
INCLUDES = $(all_includes) INCLUDES = $(all_includes)

@ -11,7 +11,7 @@ kgpg_SOURCES = kgpgoptions.cpp listkeys.cpp popuppublic.cpp kgpgview.cpp \
keyproperties.ui conf_encryption.ui conf_decryption.ui conf_gpg.ui dcopiface.skel \ keyproperties.ui conf_encryption.ui conf_decryption.ui conf_gpg.ui dcopiface.skel \
keyinfowidget.cpp groupedit.ui kgpgrevokewidget.ui newkey.ui adduid.ui keyexport.ui \ keyinfowidget.cpp groupedit.ui kgpgrevokewidget.ui newkey.ui adduid.ui keyexport.ui \
sourceselect.ui kgpgsettings.kcfgc conf_servers.ui conf_ui2.ui conf_misc.ui sourceselect.ui kgpgsettings.kcfgc conf_servers.ui conf_ui2.ui conf_misc.ui
kgpg_LDADD = $(LIB_KIO) $(LIB_KABC) -lkutils -lkdeprint kgpg_LDADD = $(LIB_KIO) $(LIB_KABC) -lkutils -ltdeprint
pics_DATA= kgpg_anim.gif kgpg_docked.png kgpg_docked.gif kgpg_blank.png kgpg_fill.png pics_DATA= kgpg_anim.gif kgpg_docked.png kgpg_docked.gif kgpg_blank.png kgpg_fill.png
picsdir=$(kde_datadir)/kgpg/pics picsdir=$(kde_datadir)/kgpg/pics
@ -28,7 +28,7 @@ kde_kcfg_DATA = kgpg.kcfg
METASOURCES = AUTO METASOURCES = AUTO
# the library search path. # the library search path.
kgpg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kgpg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
appsdir = $(kde_datadir)/kgpg appsdir = $(kde_datadir)/kgpg
apps_DATA = kgpg.rc listkeys.rc tips apps_DATA = kgpg.rc listkeys.rc tips

@ -20,7 +20,7 @@ draglabel.h progress.h hexeditstate.h chartabledialog.h hexdrag.h \
exportdialog.h fileinfodialog.h converterdialog.h listview.h searchbar.h exportdialog.h fileinfodialog.h converterdialog.h listview.h searchbar.h
khexedit_METASOURCES = AUTO khexedit_METASOURCES = AUTO
khexedit_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor khexedit_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
khexedit_LDADD = $(LIB_KIO) $(LIB_KDEPRINT) khexedit_LDADD = $(LIB_KIO) $(LIB_KDEPRINT)
xdg_apps_DATA = khexedit.desktop xdg_apps_DATA = khexedit.desktop

@ -20,4 +20,4 @@ Installs the .desktop file describing the service and the module library.
usage: usage:
------ ------
Only official known usage is by KPilot (kdepim/kpilot) for now. Only official known usage is by KPilot (tdepim/kpilot) for now.

@ -27,7 +27,7 @@ class TQComboBox;
class TQLabel; class TQLabel;
class TQSpinBox; class TQSpinBox;
#include <kdeprint/kprintdialogpage.h> #include <tdeprint/kprintdialogpage.h>
#include <ksimpleconfig.h> #include <ksimpleconfig.h>
class LayoutDialogPage : public KPrintDialogPage class LayoutDialogPage : public KPrintDialogPage

@ -376,7 +376,7 @@ void KHexEdit::initialize( bool openFiles )
if ( openFiles && editor()->openFile() != SDisplayMisc::none ) if ( openFiles && editor()->openFile() != SDisplayMisc::none )
{ {
// Code modified from kdelibs/kdeui/kactionclasses.cpp KRecentFilesAction::loadEntries // Code modified from kdelibs/tdeui/kactionclasses.cpp KRecentFilesAction::loadEntries
KConfig* config = kapp->config(); KConfig* config = kapp->config();

@ -1,5 +1,5 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
LDADD = $(LIB_KFILE) $(LIB_KDEPRINT) LDADD = $(LIB_KFILE) $(LIB_KDEPRINT)
bin_PROGRAMS = kjots bin_PROGRAMS = kjots

@ -4,30 +4,30 @@ lib_LTLIBRARIES = libkcmlaptop.la
SUBDIRS = pics applnk SUBDIRS = pics applnk
libkcmlaptop_la_SOURCES = portable.cpp smapidev.c daemon_state.cpp wake_laptop.cpp krichtextlabel.cpp libkcmlaptop_la_SOURCES = portable.cpp smapidev.c daemon_state.cpp wake_laptop.cpp krichtextlabel.cpp
libkcmlaptop_la_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor libkcmlaptop_la_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
libkcmlaptop_la_LIBADD = $(LIB_KDEUI) libkcmlaptop_la_LIBADD = $(LIB_KDEUI)
MESSAGE_SOURCES = laptop_daemon.cpp kpcmcia.cpp xautolock.cc kpcmciainfo.cpp daemondock.cpp xautolock_diy.c xautolock_engine.c MESSAGE_SOURCES = laptop_daemon.cpp kpcmcia.cpp xautolock.cc kpcmciainfo.cpp daemondock.cpp xautolock_diy.c xautolock_engine.c
kded_klaptopdaemon_la_SOURCES = $(MESSAGE_SOURCES) laptop_daemon.skel kded_klaptopdaemon_la_SOURCES = $(MESSAGE_SOURCES) laptop_daemon.skel
kded_klaptopdaemon_la_LDFLAGS = $(all_libraries) -module -avoid-version -lXtst $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kded_klaptopdaemon_la_LDFLAGS = $(all_libraries) -module -avoid-version -lXtst $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kded_klaptopdaemon_la_LIBADD = $(LIB_KDEUI) $(LIB_XSS) libkcmlaptop.la kded_klaptopdaemon_la_LIBADD = $(LIB_KDEUI) $(LIB_XSS) libkcmlaptop.la
klaptop_acpi_helper_SOURCES = acpi_helper.cpp klaptop_acpi_helper_SOURCES = acpi_helper.cpp
klaptop_acpi_helper_LDADD = $(LIB_QT) klaptop_acpi_helper_LDADD = $(LIB_QT)
klaptop_check_SOURCES = laptop_check.cpp klaptop_check_SOURCES = laptop_check.cpp
klaptop_check_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor klaptop_check_LDFLAGS = $(all_libraries) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
klaptop_check_LDADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la klaptop_check_LDADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la
kcm_laptop_la_SOURCES = battery.cpp main.cpp pcmcia.cpp power.cpp warning.cpp \ kcm_laptop_la_SOURCES = battery.cpp main.cpp pcmcia.cpp power.cpp warning.cpp \
acpi.cpp sony.cpp profile.cpp buttons.cpp apm.cpp acpi.cpp sony.cpp profile.cpp buttons.cpp apm.cpp
kcm_laptop_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor -module kcm_laptop_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor -module
kcm_laptop_la_LIBADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la kcm_laptop_la_LIBADD = $(LIB_KFILE) $(LIB_KDEUI) libkcmlaptop.la
kcm_laptop_la_COMPILE_FIRST = crcresult.h kcm_laptop_la_COMPILE_FIRST = crcresult.h
AM_CPPFLAGS = $(all_includes) AM_CPPFLAGS = $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
KDE_OPTIONS = nofinal KDE_OPTIONS = nofinal

@ -166,8 +166,8 @@ void AcpiConfig::setupHelper()
TQString helper = KStandardDirs::findExe("klaptop_acpi_helper"); TQString helper = KStandardDirs::findExe("klaptop_acpi_helper");
checkcrc(TQFile::encodeName(helper), len, crc); checkcrc(TQFile::encodeName(helper), len, crc);
TQString kdesu = KStandardDirs::findExe("kdesu"); TQString tdesu = KStandardDirs::findExe("tdesu");
if (!kdesu.isEmpty()) { if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0, int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password " i18n("You will need to supply a root password "
"to allow the privileges of the klaptop_acpi_helper to change."), "to allow the privileges of the klaptop_acpi_helper to change."),
@ -175,14 +175,14 @@ void AcpiConfig::setupHelper()
""); "");
if (rc == KMessageBox::Continue) { if (rc == KMessageBox::Continue) {
KProcess proc; KProcess proc;
proc << kdesu; proc << tdesu;
proc << "-u"; proc << "-u";
proc << "root"; proc << "root";
proc << "dpkg-statoverride --update --add root root 6755 "+helper; proc << "dpkg-statoverride --update --add root root 6755 "+helper;
proc.start(KProcess::Block); // run it sync so has_acpi below sees the results proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
} }
} else { } else {
KMessageBox::sorry(0, i18n("The ACPI helper cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly."), KMessageBox::sorry(0, i18n("The ACPI helper cannot be enabled because tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon")); i18n("KLaptopDaemon"));
} }
laptop_portable::acpi_set_mask(enablestandby, enablesuspend, enablehibernate, enableperformance, enablethrottle); laptop_portable::acpi_set_mask(enablestandby, enablesuspend, enablehibernate, enableperformance, enablethrottle);

@ -154,8 +154,8 @@ ApmConfig::~ApmConfig()
void ApmConfig::setupHelper() void ApmConfig::setupHelper()
{ {
TQString kdesu = KStandardDirs::findExe("kdesu"); TQString tdesu = KStandardDirs::findExe("tdesu");
if (!kdesu.isEmpty()) { if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0, int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password " i18n("You will need to supply a root password "
"to allow the privileges of the %1 application to change.").tqarg(apm_name), "to allow the privileges of the %1 application to change.").tqarg(apm_name),
@ -163,14 +163,14 @@ void ApmConfig::setupHelper()
""); "");
if (rc == KMessageBox::Continue) { if (rc == KMessageBox::Continue) {
KProcess proc; KProcess proc;
proc << kdesu; proc << tdesu;
proc << "-u"; proc << "-u";
proc << "root"; proc << "root";
proc << TQString("dpkg-statoverride --update --add root root 6755 ")+apm_name; proc << TQString("dpkg-statoverride --update --add root root 6755 ")+apm_name;
proc.start(KProcess::Block); // run it sync so has_apm below sees the results proc.start(KProcess::Block); // run it sync so has_apm below sees the results
} }
} else { } else {
KMessageBox::sorry(0, i18n("%1 cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly.").tqarg(TQString(apm_name)), KMessageBox::sorry(0, i18n("%1 cannot be enabled because tdesu cannot be found. Please make sure that it is installed correctly.").tqarg(TQString(apm_name)),
i18n("KLaptopDaemon")); i18n("KLaptopDaemon"));
} }
laptop_portable::apm_set_mask(enablestandby, enablesuspend); laptop_portable::apm_set_mask(enablestandby, enablesuspend);
@ -188,8 +188,8 @@ void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend
TQString helper = KStandardDirs::findExe("klaptop_acpi_helper"); TQString helper = KStandardDirs::findExe("klaptop_acpi_helper");
checkcrc(helper.latin1(), len, crc); checkcrc(helper.latin1(), len, crc);
TQString kdesu = KStandardDirs::findExe("kdesu"); TQString tdesu = KStandardDirs::findExe("tdesu");
if (!kdesu.isEmpty()) { if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0, int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password " i18n("You will need to supply a root password "
"to allow the privileges of the klaptop_acpi_helper to change."), "to allow the privileges of the klaptop_acpi_helper to change."),
@ -197,14 +197,14 @@ void ApmConfig::setupHelper2() // we use the acpi helper to do software suspend
""); "");
if (rc == KMessageBox::Continue) { if (rc == KMessageBox::Continue) {
KProcess proc; KProcess proc;
proc << kdesu; proc << tdesu;
proc << "-u"; proc << "-u";
proc << "root"; proc << "root";
proc << "dpkg-statoverride --update --add root root 6755 "+helper; proc << "dpkg-statoverride --update --add root root 6755 "+helper;
proc.start(KProcess::Block); // run it sync so has_acpi below sees the results proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
} }
} else { } else {
KMessageBox::sorry(0, i18n("The Software Suspend helper cannot be enabled because kdesu cannot be found. Please make sure that it is installed correctly."), KMessageBox::sorry(0, i18n("The Software Suspend helper cannot be enabled because tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon")); i18n("KLaptopDaemon"));
} }
laptop_portable::software_suspend_set_mask(enablesoftwaresuspend); laptop_portable::software_suspend_set_mask(enablesoftwaresuspend);

@ -233,8 +233,8 @@ laptop_dock::invokeBrightness()
void laptop_dock::slotGoRoot(int /*id*/) { void laptop_dock::slotGoRoot(int /*id*/) {
#ifdef NOTDEF #ifdef NOTDEF
TQString kdesu = KStandardDirs::findExe("kdesu"); TQString tdesu = KStandardDirs::findExe("tdesu");
if (!kdesu.isEmpty()) { if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0, int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password " i18n("You will need to supply a root password "
"to allow KLaptopDaemon to restart " "to allow KLaptopDaemon to restart "
@ -246,7 +246,7 @@ void laptop_dock::slotGoRoot(int /*id*/) {
if (rc == KMessageBox::Continue) { if (rc == KMessageBox::Continue) {
KProcess *_rootProcess; KProcess *_rootProcess;
_rootProcess = new KProcess; _rootProcess = new KProcess;
*_rootProcess << kdesu; *_rootProcess << tdesu;
*_rootProcess << "-u"; *_rootProcess << "-u";
*_rootProcess << "root"; *_rootProcess << "root";
//*_rootProcess << "--nonewdcop"; //*_rootProcess << "--nonewdcop";
@ -257,7 +257,7 @@ void laptop_dock::slotGoRoot(int /*id*/) {
// We should disable this menu item here now. // We should disable this menu item here now.
} }
} else { } else {
KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since kdesu cannot be found. Please make sure that it is installed correctly."), KMessageBox::sorry(0, i18n("PCMCIA cannot be enabled since tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon")); i18n("KLaptopDaemon"));
} }
#else #else

@ -107,8 +107,8 @@ SonyConfig::SonyConfig(TQWidget * parent, const char *name)
void SonyConfig::setupHelper() void SonyConfig::setupHelper()
{ {
TQString kdesu = KStandardDirs::findExe("kdesu"); TQString tdesu = KStandardDirs::findExe("tdesu");
if (!kdesu.isEmpty()) { if (!tdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0, int rc = KMessageBox::warningContinueCancel(0,
i18n("You will need to supply a root password " i18n("You will need to supply a root password "
"to allow the protections of /dev/sonypi to be changed."), "to allow the protections of /dev/sonypi to be changed."),
@ -116,14 +116,14 @@ void SonyConfig::setupHelper()
""); "");
if (rc == KMessageBox::Continue) { if (rc == KMessageBox::Continue) {
KProcess proc; KProcess proc;
proc << kdesu; proc << tdesu;
proc << "-u"; proc << "-u";
proc << "root"; proc << "root";
proc << "chmod +r /dev/sonypi"; proc << "chmod +r /dev/sonypi";
proc.start(KProcess::Block); // run it sync so has_acpi below sees the results proc.start(KProcess::Block); // run it sync so has_acpi below sees the results
} }
} else { } else {
KMessageBox::sorry(0, i18n("The /dev/sonypi protections cannot be changed because kdesu cannot be found. Please make sure that it is installed correctly."), KMessageBox::sorry(0, i18n("The /dev/sonypi protections cannot be changed because tdesu cannot be found. Please make sure that it is installed correctly."),
i18n("KLaptopDaemon")); i18n("KLaptopDaemon"));
} }
bool enable = ::access("/dev/sonypi", R_OK) == 0; bool enable = ::access("/dev/sonypi", R_OK) == 0;

@ -46,7 +46,7 @@ libkregexpeditorgui_la_LIBADD = libkregexpeditorcommon.la
bin_PROGRAMS = kregexpeditor bin_PROGRAMS = kregexpeditor
kregexpeditor_SOURCES = main.cpp kregexpeditor_SOURCES = main.cpp
kregexpeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kregexpeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kregexpeditor_LDADD = libkregexpeditorcommon.la $(LIB_KIO) kregexpeditor_LDADD = libkregexpeditorcommon.la $(LIB_KIO)
kregexpeditor_INCLUDES = $(all_includes) kregexpeditor_INCLUDES = $(all_includes)

@ -31,14 +31,14 @@ KodeKnight
kdeadmin kdeadmin
kdebase kdebase
kdeedu kdeedu
kdegames tdegames
kdegraphics kdegraphics
kdeinstaller kdeinstaller
kdelibs kdelibs
kdemultimedia kdemultimedia
kdenetwork kdenetwork
kdenonbeta kdenonbeta
kdepim tdepim
kdesdk kdesdk
kdetoys kdetoys
kfte kfte

@ -1,5 +1,5 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
LDADD = $(LIB_KDEUI) $(LIB_KFILE) LDADD = $(LIB_KDEUI) $(LIB_KFILE)
bin_PROGRAMS = ktimer bin_PROGRAMS = ktimer
@ -19,6 +19,6 @@ messages: rc.cpp
srcdoc: srcdoc:
kdoc -a -p -H -d $$HOME/web/src/ktimer ktimer *.h -lkdecore -lkdeui -lqt kdoc -a -p -H -d $$HOME/web/src/ktimer ktimer *.h -ltdecore -ltdeui -lqt

@ -7,7 +7,7 @@ kwalletmanager_SOURCES = walletwidget.ui kwalletmanager.cpp \
kwalletmanager.skel main.cpp kwalletpopup.cpp \ kwalletmanager.skel main.cpp kwalletpopup.cpp \
kwalleteditor.cpp kwmapeditor.cpp allyourbase.cpp \ kwalleteditor.cpp kwmapeditor.cpp allyourbase.cpp \
kbetterthankdialogbase.ui kbetterthankdialogbase.ui
kwalletmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor kwalletmanager_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kwalletmanager_LDADD = $(LIB_KIO) -lkwalletclient kwalletmanager_LDADD = $(LIB_KIO) -lkwalletclient
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = kwalletmanager.h kwalletpopup.h walletwidget.h kwalleteditor.h\ noinst_HEADERS = kwalletmanager.h kwalletpopup.h walletwidget.h kwalleteditor.h\

@ -40,7 +40,7 @@ superkaramba_SOURCES = main.cpp karamba.cpp meter.cpp bar.cpp sensor.cpp \
# kde_cfg_DATA = superkaramba.kcfg # kde_cfg_DATA = superkaramba.kcfg
superkaramba_LDFLAGS = -Wl,-export-dynamic $(KDE_RPATH) $(all_libraries) $(PYTHONLIB) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor superkaramba_LDFLAGS = -Wl,-export-dynamic $(KDE_RPATH) $(all_libraries) $(PYTHONLIB) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
#superkaramba_LDADD = -lkio $(LIB_KDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF) #superkaramba_LDADD = -lkio $(LIB_KDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)
superkaramba_LDADD = -lkio $(LIB_KDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF) superkaramba_LDADD = -lkio $(LIB_KDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)

Loading…
Cancel
Save