Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/2/head
Timothy Pearson 11 years ago
parent 1e0a98b862
commit 1d061b286a

@ -68,10 +68,10 @@ void level1(int t)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData("crashtext", "Crash Test for DrKonqi", TDEAboutData aboutData("crashtext", "Crash Test for DrKonqi",
"1.1", "1.1",
"Crash Test for DrKonqi", "Crash Test for DrKonqi",
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 2000-2002 David Faure, Waldo Bastian"); "(c) 2000-2002 David Faure, Waldo Bastian");
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);

@ -35,7 +35,7 @@
#include "drbugreport.h" #include "drbugreport.h"
DrKBugReport::DrKBugReport(TQWidget *parent, bool modal, DrKBugReport::DrKBugReport(TQWidget *parent, bool modal,
const KAboutData *aboutData) const TDEAboutData *aboutData)
: KBugReport(parent, modal, aboutData) : KBugReport(parent, modal, aboutData)
{ {
} }

@ -28,7 +28,7 @@
#ifndef DRBUGREPORT_H #ifndef DRBUGREPORT_H
#define DRBUGREPORT_H #define DRBUGREPORT_H
class KAboutData; class TDEAboutData;
#include <kbugreport.h> #include <kbugreport.h>
@ -41,7 +41,7 @@ public:
* Constructor. * Constructor.
*/ */
DrKBugReport(TQWidget *parent = 0, bool modal = true, DrKBugReport(TQWidget *parent = 0, bool modal = true,
const KAboutData *aboutData = 0); const TDEAboutData *aboutData = 0);
public: public:
/** /**

@ -74,7 +74,7 @@ void KrashConfig :: readConfig()
programname.setStr(I18N_NOOP("unknown")); programname.setStr(I18N_NOOP("unknown"));
// leak some memory... Well. It's only done once anyway :-) // leak some memory... Well. It's only done once anyway :-)
const char * progname = tqstrdup(programname); const char * progname = tqstrdup(programname);
m_aboutData = new KAboutData(args->getOption("appname"), m_aboutData = new TDEAboutData(args->getOption("appname"),
progname, progname,
args->getOption("appversion"), args->getOption("appversion"),
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

@ -70,7 +70,7 @@ public:
bool showDebugger() const { return m_showdebugger && !m_debugger.isNull(); }; bool showDebugger() const { return m_showdebugger && !m_debugger.isNull(); };
bool showBugReport() const { return m_showbugreport; }; bool showBugReport() const { return m_showbugreport; };
bool disableChecks() const { return m_disablechecks; }; bool disableChecks() const { return m_disablechecks; };
const KAboutData *aboutData() const { return m_aboutData; } const TDEAboutData *aboutData() const { return m_aboutData; }
TQString execName() const { return m_execname; } TQString execName() const { return m_execname; }
void expandString(TQString &str, bool shell, const TQString &tempFile = TQString::null) const; void expandString(TQString &str, bool shell, const TQString &tempFile = TQString::null) const;
@ -84,7 +84,7 @@ private:
void readConfig(); void readConfig();
private: private:
KAboutData *m_aboutData; TDEAboutData *m_aboutData;
int m_pid; int m_pid;
int m_signalnum; int m_signalnum;
bool m_showdebugger; bool m_showdebugger;

@ -68,11 +68,11 @@ int main( int argc, char* argv[] )
setenv("TDE_DEBUG", "true", 1); setenv("TDE_DEBUG", "true", 1);
unsetenv("SESSION_MANAGER"); unsetenv("SESSION_MANAGER");
KAboutData aboutData( "drkonqi", TDEAboutData aboutData( "drkonqi",
I18N_NOOP("The TDE Crash Handler"), I18N_NOOP("The TDE Crash Handler"),
version, version,
description, description,
KAboutData::License_BSD, TDEAboutData::License_BSD,
"(C) 2012, The Trinity Desktop Project"); "(C) 2012, The Trinity Desktop Project");
aboutData.addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");
aboutData.addAuthor("Hans Petter Bieker", 0, "bieker@kde.org"); aboutData.addAuthor("Hans Petter Bieker", 0, "bieker@kde.org");

@ -30,7 +30,7 @@
#ifndef TOPLEVEL_H #ifndef TOPLEVEL_H
#define TOPLEVEL_H #define TOPLEVEL_H
class KAboutData; class TDEAboutData;
class KrashConfig; class KrashConfig;
class DrKBugReport; class DrKBugReport;

@ -33,8 +33,8 @@ static KCmdLineOptions options[] = {
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
KAboutData aboutData( "kappfinder", I18N_NOOP( "KAppfinder" ), TDEAboutData aboutData( "kappfinder", I18N_NOOP( "KAppfinder" ),
"1.0", description, KAboutData::License_GPL, "1.0", description, TDEAboutData::License_GPL,
"(c) 1998-2000, Matthias Hoelzer-Kluepfel" ); "(c) 1998-2000, Matthias Hoelzer-Kluepfel" );
aboutData.addAuthor( "Matthias Hoelzer-Kluepfel", 0, "hoelzer@kde.org" ); aboutData.addAuthor( "Matthias Hoelzer-Kluepfel", 0, "hoelzer@kde.org" );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -34,7 +34,7 @@
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
KInstance instance( "kappfinder_install" ); TDEInstance instance( "kappfinder_install" );
int added = 0; int added = 0;
if ( argc != 2 ) { if ( argc != 2 ) {

@ -60,8 +60,8 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
// here we go, construct the Kate version // here we go, construct the Kate version
TQString kateVersion = KateApp::kateVersion(); TQString kateVersion = KateApp::kateVersion();
KAboutData aboutData ("kate", I18N_NOOP("Kate"), kateVersion.latin1(), TDEAboutData aboutData ("kate", I18N_NOOP("Kate"), kateVersion.latin1(),
I18N_NOOP( "Kate - Advanced Text Editor" ), KAboutData::License_LGPL_V2, I18N_NOOP( "Kate - Advanced Text Editor" ), TDEAboutData::License_LGPL_V2,
I18N_NOOP( "(c) 2000-2005 The Kate Authors" ), 0, "http://kate.kde.org"); I18N_NOOP( "(c) 2000-2005 The Kate Authors" ), 0, "http://kate.kde.org");
aboutData.addAuthor ("Christoph Cullmann", I18N_NOOP("Maintainer"), "cullmann@kde.org", "http://www.babylon2k.de"); aboutData.addAuthor ("Christoph Cullmann", I18N_NOOP("Maintainer"), "cullmann@kde.org", "http://www.babylon2k.de");

@ -549,10 +549,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
We now hard-code the first two numbers to match the 3.5.x days and only update the last number. */ We now hard-code the first two numbers to match the 3.5.x days and only update the last number. */
TQString kWriteVersion = TQString ("4.5.%1").arg(KDE::versionMajor()); TQString kWriteVersion = TQString ("4.5.%1").arg(KDE::versionMajor());
KAboutData aboutData ( "kwrite", TDEAboutData aboutData ( "kwrite",
I18N_NOOP("KWrite"), I18N_NOOP("KWrite"),
kWriteVersion.latin1(), kWriteVersion.latin1(),
I18N_NOOP( "KWrite - Text Editor" ), KAboutData::License_LGPL_V2, I18N_NOOP( "KWrite - Text Editor" ), TDEAboutData::License_LGPL_V2,
I18N_NOOP( "(c) 2000-2005 The Kate Authors" ), 0, "http://kate.kde.org" ); I18N_NOOP( "(c) 2000-2005 The Kate Authors" ), 0, "http://kate.kde.org" );
aboutData.addAuthor ("Christoph Cullmann", I18N_NOOP("Maintainer"), "cullmann@kde.org", "http://www.babylon2k.de"); aboutData.addAuthor ("Christoph Cullmann", I18N_NOOP("Maintainer"), "cullmann@kde.org", "http://www.babylon2k.de");

@ -234,7 +234,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
startup = ( strcmp( argv[ 0 ], "kcminit_startup" ) == 0 ); // started from starttde? startup = ( strcmp( argv[ 0 ], "kcminit_startup" ) == 0 ); // started from starttde?
KLocale::setMainCatalogue("kcontrol"); KLocale::setMainCatalogue("kcontrol");
KAboutData aboutData( "kcminit", I18N_NOOP("KCMInit"), TDEAboutData aboutData( "kcminit", I18N_NOOP("KCMInit"),
"", "",
I18N_NOOP("KCMInit - runs startups initialization for Control Modules.")); I18N_NOOP("KCMInit - runs startups initialization for Control Modules."));

@ -225,9 +225,9 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *)
: KCModule(parent, "kcmaccess") : KCModule(parent, "kcmaccess")
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kaccess"), I18N_NOOP("TDE Accessibility Tool"), new TDEAboutData(I18N_NOOP("kaccess"), I18N_NOOP("TDE Accessibility Tool"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel")); I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel"));
about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org"); about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org");
@ -563,7 +563,7 @@ KAccessConfig::~KAccessConfig()
void KAccessConfig::configureKNotify() void KAccessConfig::configureKNotify()
{ {
KAboutData about(I18N_NOOP("kaccess"), TDEAboutData about(I18N_NOOP("kaccess"),
I18N_NOOP("TDE Accessibility Tool"), I18N_NOOP("TDE Accessibility Tool"),
0); 0);
KNotifyDialog::configure (this, 0, &about); KNotifyDialog::configure (this, 0, &about);

@ -22,7 +22,7 @@ class TQRadioButton;
class KColorButton; class KColorButton;
class TQSlider; class TQSlider;
class KNumInput; class KNumInput;
class KAboutData; class TDEAboutData;
class ExtendedIntNumInput : public KIntNumInput class ExtendedIntNumInput : public KIntNumInput
{ {

@ -6,8 +6,8 @@
extern "C" KDE_EXPORT int kdemain(int argc, char * argv[] ) extern "C" KDE_EXPORT int kdemain(int argc, char * argv[] )
{ {
KAboutData about(I18N_NOOP("kaccess"), I18N_NOOP("TDE Accessibility Tool"), TDEAboutData about(I18N_NOOP("kaccess"), I18N_NOOP("TDE Accessibility Tool"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel")); I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel"));
about.addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org"); about.addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org");

@ -56,9 +56,9 @@ K_EXPORT_COMPONENT_FACTORY( kcm_accessibility, AccessibilityFactory("kcmaccessib
AccessibilityConfig::AccessibilityConfig(TQWidget *parent, const char *name, const TQStringList &) AccessibilityConfig::AccessibilityConfig(TQWidget *parent, const char *name, const TQStringList &)
: AccessibilityConfigWidget( parent, name){ : AccessibilityConfigWidget( parent, name){
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmaccessiblity"), I18N_NOOP("TDE Accessibility Tool"), new TDEAboutData(I18N_NOOP("kcmaccessiblity"), I18N_NOOP("TDE Accessibility Tool"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel")); I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel"));
about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org"); about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org");

@ -242,9 +242,9 @@ KArtsModule::KArtsModule(TQWidget *parent, const char *name)
connect(hardware->midiMapper, TQT_SIGNAL( textChanged( const TQString& ) ), connect(hardware->midiMapper, TQT_SIGNAL( textChanged( const TQString& ) ),
this, TQT_SLOT( slotChanged() ) ); this, TQT_SLOT( slotChanged() ) );
KAboutData *about = new KAboutData(I18N_NOOP("kcmarts"), TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmarts"),
I18N_NOOP("The Sound Server Control Module"), I18N_NOOP("The Sound Server Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999 - 2001, Stefan Westerfeld")); I18N_NOOP("(c) 1999 - 2001, Stefan Westerfeld"));
about->addAuthor("Stefan Westerfeld",I18N_NOOP("aRts Author") , "stw@kde.org"); about->addAuthor("Stefan Westerfeld",I18N_NOOP("aRts Author") , "stw@kde.org");
setAboutData(about); setAboutData(about);

@ -67,9 +67,9 @@ KBackground::KBackground(TQWidget *parent, const char *name, const TQStringList
connect(m_base, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool))); connect(m_base, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmbackground"), I18N_NOOP("TDE Background Control Module"), new TDEAboutData(I18N_NOOP("kcmbackground"), I18N_NOOP("TDE Background Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2009,2010 Timothy Pearson")); I18N_NOOP("(c) 2009,2010 Timothy Pearson"));
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");

@ -132,9 +132,9 @@ KBellConfig::KBellConfig(TQWidget *parent, const char *name):
connect(m_pitch, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); connect(m_pitch, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
connect(m_duration, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed())); connect(m_duration, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmbell"), I18N_NOOP("TDE Bell Control Module"), new TDEAboutData(I18N_NOOP("kcmbell"), I18N_NOOP("TDE Bell Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1997 - 2001 Christian Czezatke, Matthias Elter")); I18N_NOOP("(c) 1997 - 2001 Christian Czezatke, Matthias Elter"));
about->addAuthor("Christian Czezatke", I18N_NOOP("Original author"), "e9025461@student.tuwien.ac.at"); about->addAuthor("Christian Czezatke", I18N_NOOP("Original author"), "e9025461@student.tuwien.ac.at");

@ -42,9 +42,9 @@ K_EXPORT_COMPONENT_FACTORY( kcm_clock, KlockModuleFactory("kcmkclock"))
KclockModule::KclockModule(TQWidget *parent, const char *name, const TQStringList &) KclockModule::KclockModule(TQWidget *parent, const char *name, const TQStringList &)
: KCModule(KlockModuleFactory::instance(), parent, name) : KCModule(KlockModuleFactory::instance(), parent, name)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmclock"), I18N_NOOP("TDE Clock Control Module"), new TDEAboutData(I18N_NOOP("kcmclock"), I18N_NOOP("TDE Clock Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
"(c) 1996 - 2001 Luca Montecchiani"); "(c) 1996 - 2001 Luca Montecchiani");
about->addAuthor("Luca Montecchiani", I18N_NOOP("Original author"), "m.luca@usa.net"); about->addAuthor("Luca Montecchiani", I18N_NOOP("Original author"), "m.luca@usa.net");

@ -279,8 +279,8 @@ KColorScheme::KColorScheme(TQWidget *parent, const char *name, const TQStringLis
load(); load();
KAboutData* about = new KAboutData("kcmcolors", I18N_NOOP("Colors"), 0, 0, TDEAboutData* about = new TDEAboutData("kcmcolors", I18N_NOOP("Colors"), 0, 0,
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1997-2005 Colors Developers"), 0, 0); I18N_NOOP("(c) 1997-2005 Colors Developers"), 0, 0);
about->addAuthor("Mark Donohoe", 0, 0); about->addAuthor("Mark Donohoe", 0, 0);
about->addAuthor("Matthias Hoelzer", 0, 0); about->addAuthor("Matthias Hoelzer", 0, 0);

@ -30,9 +30,9 @@ KCMComponentChooser::KCMComponentChooser( TQWidget *parent, const char *name ):
connect(m_chooser,TQT_SIGNAL(changed(bool)),this,TQT_SIGNAL(changed(bool))); connect(m_chooser,TQT_SIGNAL(changed(bool)),this,TQT_SIGNAL(changed(bool)));
setButtons( Help | Apply ); setButtons( Help | Apply );
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmcomponentchooser"), I18N_NOOP("Component Chooser"), new TDEAboutData(I18N_NOOP("kcmcomponentchooser"), I18N_NOOP("Component Chooser"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c), 2002 Joseph Wenninger")); I18N_NOOP("(c), 2002 Joseph Wenninger"));
about->addAuthor("Joseph Wenninger", 0 , "jowenn@kde.org"); about->addAuthor("Joseph Wenninger", 0 , "jowenn@kde.org");

@ -20,7 +20,7 @@
#include "componentchooser.h" #include "componentchooser.h"
class KAboutData; class TDEAboutData;
class KCMComponentChooser : public KCModule class KCMComponentChooser : public KCModule
{ {

@ -235,9 +235,9 @@ TQString whatstr;
_signers = new KSSLSigners; _signers = new KSSLSigners;
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmcrypto"), I18N_NOOP("TDE Crypto Control Module"), new TDEAboutData(I18N_NOOP("kcmcrypto"), I18N_NOOP("TDE Crypto Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000 - 2001 George Staikos")); I18N_NOOP("(c) 2000 - 2001 George Staikos"));
about->addAuthor("George Staikos", 0, "staikos@kde.org"); about->addAuthor("George Staikos", 0, "staikos@kde.org");
about->addAuthor("Carsten Pfeiffer", 0, "pfeiffer@kde.org"); about->addAuthor("Carsten Pfeiffer", 0, "pfeiffer@kde.org");

@ -757,9 +757,9 @@ KDisplayConfig::KDisplayConfig(TQWidget *parent, const char *name, const TQStrin
systemconfig->setFileWriteMode(0644); systemconfig->setFileWriteMode(0644);
} }
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmdisplayconfig"), I18N_NOOP("TDE Display Profile Control Module"), new TDEAboutData(I18N_NOOP("kcmdisplayconfig"), I18N_NOOP("TDE Display Profile Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2011 Timothy Pearson")); I18N_NOOP("(c) 2011 Timothy Pearson"));
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");

@ -56,8 +56,8 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kdnssd, KCMDnssdFactory("kcmkdnssd"))
KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&) KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&)
: ConfigDialog(parent, name), m_wdchanged(false) : ConfigDialog(parent, name), m_wdchanged(false)
{ {
setAboutData(new KAboutData(I18N_NOOP("kcm_kdnssd"), setAboutData(new TDEAboutData(I18N_NOOP("kcm_kdnssd"),
I18N_NOOP("ZeroConf configuration"),0,0,KAboutData::License_GPL, I18N_NOOP("ZeroConf configuration"),0,0,TDEAboutData::License_GPL,
I18N_NOOP("(C) 2004,2005 Jakub Stachowski"))); I18N_NOOP("(C) 2004,2005 Jakub Stachowski")));
setQuickHelp(i18n("Setup services browsing with ZeroConf")); setQuickHelp(i18n("Setup services browsing with ZeroConf"));
if (geteuid()!=0) tabs->removePage(tab_2); // normal user cannot change wide-area settings if (geteuid()!=0) tabs->removePage(tab_2); // normal user cannot change wide-area settings

@ -75,7 +75,7 @@ private:
SearchProvider *m_provider; SearchProvider *m_provider;
}; };
FilterOptions::FilterOptions(KInstance *instance, TQWidget *parent, const char *name) FilterOptions::FilterOptions(TDEInstance *instance, TQWidget *parent, const char *name)
:KCModule(instance, parent, name) :KCModule(instance, parent, name)
{ {
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, KDialog::marginHint(), TQVBoxLayout *mainLayout = new TQVBoxLayout( this, KDialog::marginHint(),

@ -35,7 +35,7 @@ class FilterOptions : public KCModule
Q_OBJECT Q_OBJECT
public: public:
FilterOptions(KInstance *instance, TQWidget *parent = 0, const char *name = 0); FilterOptions(TDEInstance *instance, TQWidget *parent = 0, const char *name = 0);
void load(); void load();
void load( bool useDefaults ); void load( bool useDefaults );

@ -27,7 +27,7 @@
#include <kurifilter.h> #include <kurifilter.h>
class KInstance; class TDEInstance;
class KAutoWebSearch : public KURIFilterPlugin, public DCOPObject class KAutoWebSearch : public KURIFilterPlugin, public DCOPObject
{ {

@ -27,7 +27,7 @@
#include <kurifilter.h> #include <kurifilter.h>
class KInstance; class TDEInstance;
class KURISearchFilter : public KURIFilterPlugin, public DCOPObject class KURISearchFilter : public KURIFilterPlugin, public DCOPObject
{ {

@ -28,7 +28,7 @@
#include <kurifilter.h> #include <kurifilter.h>
#include <tqregexp.h> #include <tqregexp.h>
class KInstance; class TDEInstance;
class KProcess; class KProcess;
/* /*

@ -27,7 +27,7 @@
#include <kgenericfactory.h> #include <kgenericfactory.h>
#include <kurifilter.h> #include <kurifilter.h>
class KInstance; class TDEInstance;
/** /**
* This is short URL filter class. * This is short URL filter class.

@ -111,9 +111,9 @@ static KCmdLineOptions options[] =
int main(int argc, char ** argv) int main(int argc, char ** argv)
{ {
KLocale::setMainCatalogue("filetypes"); KLocale::setMainCatalogue("filetypes");
KAboutData aboutData( "keditfiletype", I18N_NOOP("KEditFileType"), "1.0", TDEAboutData aboutData( "keditfiletype", I18N_NOOP("KEditFileType"), "1.0",
I18N_NOOP("TDE file type editor - simplified version for editing a single file type"), I18N_NOOP("TDE file type editor - simplified version for editing a single file type"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000, KDE developers") ); I18N_NOOP("(c) 2000, KDE developers") );
aboutData.addAuthor("Preston Brown",0, "pbrown@kde.org"); aboutData.addAuthor("Preston Brown",0, "pbrown@kde.org");
aboutData.addAuthor("David Faure",0, "faure@kde.org"); aboutData.addAuthor("David Faure",0, "faure@kde.org");

@ -67,9 +67,9 @@ TDEHWManager::TDEHWManager(TQWidget *parent, const char *name, const TQStringLis
config = new KSimpleConfig( TQString::fromLatin1( "hwmanagerrc" )); config = new KSimpleConfig( TQString::fromLatin1( "hwmanagerrc" ));
systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdehw/hwmanagerrc" )); systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdehw/hwmanagerrc" ));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmhwmanager"), I18N_NOOP("TDE Hardware Device Manager"), new TDEAboutData(I18N_NOOP("kcmhwmanager"), I18N_NOOP("TDE Hardware Device Manager"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2012 Timothy Pearson")); I18N_NOOP("(c) 2012 Timothy Pearson"));
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");

@ -73,9 +73,9 @@ KICCConfig::KICCConfig(TQWidget *parent, const char *name, const TQStringList &)
} }
systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" )); systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" ));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmiccconfig"), I18N_NOOP("TDE ICC Profile Control Module"), new TDEAboutData(I18N_NOOP("kcmiccconfig"), I18N_NOOP("TDE ICC Profile Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2009,2010 Timothy Pearson")); I18N_NOOP("(c) 2009,2010 Timothy Pearson"));
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net"); about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");

@ -51,9 +51,9 @@ IconModule::IconModule(TQWidget *parent, const char *name, const TQStringList &)
tab->addTab(tab2, i18n("Ad&vanced")); tab->addTab(tab2, i18n("Ad&vanced"));
connect(tab2, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); connect(tab2, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool)));
KAboutData* about = new KAboutData("kcmicons", I18N_NOOP("Icons"), "3.0", TDEAboutData* about = new TDEAboutData("kcmicons", I18N_NOOP("Icons"), "3.0",
I18N_NOOP("Icons Control Panel Module"), I18N_NOOP("Icons Control Panel Module"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000-2003 Geert Jansen"), 0, 0); I18N_NOOP("(c) 2000-2003 Geert Jansen"), 0, 0);
about->addAuthor("Geert Jansen", 0, "jansen@kde.org"); about->addAuthor("Geert Jansen", 0, "jansen@kde.org");
about->addAuthor("Antonio Larrosa Jimenez", 0, "larrosa@kde.org"); about->addAuthor("Antonio Larrosa Jimenez", 0, "larrosa@kde.org");

@ -402,10 +402,10 @@ KInfoListWidget::KInfoListWidget(const TQString &_title, TQWidget *parent, const
: KCModule(parent, name), : KCModule(parent, name),
title(_title) title(_title)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcminfo"), new TDEAboutData(I18N_NOOP("kcminfo"),
I18N_NOOP("TDE Panel System Information Control Module"), I18N_NOOP("TDE Panel System Information Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1998 - 2002 Helge Deller")); I18N_NOOP("(c) 1998 - 2002 Helge Deller"));
about->addAuthor("Helge Deller", 0, "deller@kde.org"); about->addAuthor("Helge Deller", 0, "deller@kde.org");

@ -91,10 +91,10 @@ KMemoryWidget::KMemoryWidget(TQWidget * parent, const char *name)
: KCModule(parent, name) : KCModule(parent, name)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcminfo"), new TDEAboutData(I18N_NOOP("kcminfo"),
I18N_NOOP("TDE Panel Memory Information Control Module"), I18N_NOOP("TDE Panel Memory Information Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1998 - 2002 Helge Deller")); I18N_NOOP("(c) 1998 - 2002 Helge Deller"));
about->addAuthor("Helge Deller", 0, "deller@gmx.de"); about->addAuthor("Helge Deller", 0, "deller@gmx.de");

@ -404,8 +404,8 @@ MouseConfig::MouseConfig (TQWidget * parent, const char *name)
load(); load();
KAboutData* about = new KAboutData("kcmmouse", I18N_NOOP("Mouse"), 0, 0, TDEAboutData* about = new TDEAboutData("kcmmouse", I18N_NOOP("Mouse"), 0, 0,
KAboutData::License_GPL, I18N_NOOP("(c) 1997 - 2005 Mouse developers")); TDEAboutData::License_GPL, I18N_NOOP("(c) 1997 - 2005 Mouse developers"));
about->addAuthor("Patrick Dowler", 0, 0); about->addAuthor("Patrick Dowler", 0, 0);
about->addAuthor("Dirk A. Mueller", 0, 0); about->addAuthor("Dirk A. Mueller", 0, 0);
about->addAuthor("David Faure", 0, 0); about->addAuthor("David Faure", 0, 0);

@ -82,10 +82,10 @@ KCMIOSlaveInfo::KCMIOSlaveInfo(TQWidget *parent, const char *name, const TQStrin
setButtons(KCModule::Help); setButtons(KCModule::Help);
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmioslaveinfo"), new TDEAboutData(I18N_NOOP("kcmioslaveinfo"),
I18N_NOOP("TDE Panel System Information Control Module"), I18N_NOOP("TDE Panel System Information Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 - 2002 Alexander Neundorf")); I18N_NOOP("(c) 2001 - 2002 Alexander Neundorf"));
about->addAuthor("Alexander Neundorf", 0, "neundorf@kde.org"); about->addAuthor("Alexander Neundorf", 0, "neundorf@kde.org");

@ -69,9 +69,9 @@ extern "C"
joystick::joystick(TQWidget *parent, const char *name, const TQStringList &) joystick::joystick(TQWidget *parent, const char *name, const TQStringList &)
: KCModule(JoystickFactory::instance(), parent, name) : KCModule(JoystickFactory::instance(), parent, name)
{ {
setAboutData( new KAboutData("kcmjoystick", I18N_NOOP("TDE Joystick Control Module"), "1.0", setAboutData( new TDEAboutData("kcmjoystick", I18N_NOOP("TDE Joystick Control Module"), "1.0",
I18N_NOOP("TDE Control Center Module to test Joysticks"), I18N_NOOP("TDE Control Center Module to test Joysticks"),
KAboutData::License_GPL, "(c) 2004, Martin Koller", TDEAboutData::License_GPL, "(c) 2004, Martin Koller",
0, "m.koller@surfeu.at")); 0, "m.koller@surfeu.at"));
setQuickHelp( i18n("<h1>Joystick</h1>" setQuickHelp( i18n("<h1>Joystick</h1>"

@ -101,16 +101,16 @@ KControlApp::~KControlApp()
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{ {
KLocale::setMainCatalogue("kcontrol"); KLocale::setMainCatalogue("kcontrol");
KAboutData aboutKControl( "kcontrol", I18N_NOOP("Trinity Control Center"), TDEAboutData aboutKControl( "kcontrol", I18N_NOOP("Trinity Control Center"),
KCONTROL_VERSION, I18N_NOOP("The Trinity Control Center"), KAboutData::License_GPL, KCONTROL_VERSION, I18N_NOOP("The Trinity Control Center"), TDEAboutData::License_GPL,
I18N_NOOP("(c) 1998-2004, The TDE Control Center Developers")); I18N_NOOP("(c) 1998-2004, The TDE Control Center Developers"));
KAboutData aboutKInfoCenter( "kinfocenter", I18N_NOOP("Trinity Info Center"), TDEAboutData aboutKInfoCenter( "kinfocenter", I18N_NOOP("Trinity Info Center"),
KCONTROL_VERSION, I18N_NOOP("The Trinity Info Center"), KAboutData::License_GPL, KCONTROL_VERSION, I18N_NOOP("The Trinity Info Center"), TDEAboutData::License_GPL,
I18N_NOOP("(c) 1998-2004, The TDE Control Center Developers")); I18N_NOOP("(c) 1998-2004, The TDE Control Center Developers"));
TQCString argv_0 = argv[0]; TQCString argv_0 = argv[0];
KAboutData *aboutData; TDEAboutData *aboutData;
if (argv_0.right(11) == "kinfocenter") if (argv_0.right(11) == "kinfocenter")
{ {
aboutData = &aboutKInfoCenter; aboutData = &aboutKInfoCenter;

@ -253,7 +253,7 @@ void ConfigModule::embedded()
_embedStack->raiseWidget(_embedWidget); // put it above the busy label _embedStack->raiseWidget(_embedWidget); // put it above the busy label
} }
const KAboutData *ConfigModule::aboutData() const const TDEAboutData *ConfigModule::aboutData() const
{ {
if (!_module) return 0; if (!_module) return 0;
return _module->aboutData(); return _module->aboutData();

@ -27,7 +27,7 @@
template<class ConfigModule> class TQPtrList; template<class ConfigModule> class TQPtrList;
class TQStringList; class TQStringList;
class KAboutData; class TDEAboutData;
class KCModule; class KCModule;
class ProxyWidget; class ProxyWidget;
class KProcess; class KProcess;
@ -50,7 +50,7 @@ public:
bool isActive() { return _module != 0; }; bool isActive() { return _module != 0; };
ProxyWidget *module(); ProxyWidget *module();
const KAboutData *aboutData() const; const TDEAboutData *aboutData() const;
public slots: public slots:

@ -320,7 +320,7 @@ void ProxyWidget::clientChanged(bool state)
emit changed(state); emit changed(state);
} }
const KAboutData *ProxyWidget::aboutData() const const TDEAboutData *ProxyWidget::aboutData() const
{ {
return _client->aboutData(); return _client->aboutData();
} }

@ -29,7 +29,7 @@ class TQPushButton;
class TQFrame; class TQFrame;
class KCModule; class KCModule;
class KAboutData; class TDEAboutData;
#include "dockcontainer.h" #include "dockcontainer.h"
#include <tqscrollview.h> #include <tqscrollview.h>
@ -46,7 +46,7 @@ public:
~ProxyWidget(); ~ProxyWidget();
TQString quickHelp() const; TQString quickHelp() const;
const KAboutData *aboutData() const; const TDEAboutData *aboutData() const;
public slots: public slots:

@ -486,15 +486,15 @@ void TopLevel::reportBug()
bool deleteit = false; bool deleteit = false;
if (!_active) // report against kcontrol if (!_active) // report against kcontrol
dummyAbout = const_cast<KAboutData*>(KGlobal::instance()->aboutData()); dummyAbout = const_cast<TDEAboutData*>(KGlobal::instance()->aboutData());
else else
{ {
if (_active->aboutData()) if (_active->aboutData())
dummyAbout = const_cast<KAboutData*>(_active->aboutData()); dummyAbout = const_cast<TDEAboutData*>(_active->aboutData());
else else
{ {
snprintf(buffer, sizeof(buffer), "kcm%s", _active->library().latin1()); snprintf(buffer, sizeof(buffer), "kcm%s", _active->library().latin1());
dummyAbout = new KAboutData(buffer, _active->moduleName().utf8(), "2.0"); dummyAbout = new TDEAboutData(buffer, _active->moduleName().utf8(), "2.0");
deleteit = true; deleteit = true;
} }
} }

@ -100,7 +100,7 @@ private:
* against a module with no about data * against a module with no about data
* we construct one for him * we construct one for him
**/ **/
KAboutData *dummyAbout; TDEAboutData *dummyAbout;
}; };
#endif #endif

@ -49,9 +49,9 @@ K_EXPORT_COMPONENT_FACTORY( kcm_kded, KDEDFactory( "kcmkded" ) )
KDEDConfig::KDEDConfig(TQWidget* parent, const char* name, const TQStringList &) : KDEDConfig::KDEDConfig(TQWidget* parent, const char* name, const TQStringList &) :
KCModule( KDEDFactory::instance(), parent, name ) KCModule( KDEDFactory::instance(), parent, name )
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData( I18N_NOOP( "kcmkded" ), I18N_NOOP( "TDE Service Manager" ), new TDEAboutData( I18N_NOOP( "kcmkded" ), I18N_NOOP( "TDE Service Manager" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2002 Daniel Molkentin" ) ); I18N_NOOP( "(c) 2002 Daniel Molkentin" ) );
about->addAuthor("Daniel Molkentin",0,"molkentin@kde.org"); about->addAuthor("Daniel Molkentin",0,"molkentin@kde.org");
setAboutData( about ); setAboutData( about );

@ -84,10 +84,10 @@ CKCmFontInst::CKCmFontInst(TQWidget *parent, const char *, const TQStringList&)
{ {
KGlobal::locale()->insertCatalogue(KFI_CATALOGUE); KGlobal::locale()->insertCatalogue(KFI_CATALOGUE);
KAboutData* about = new KAboutData("kcmfontinst", TDEAboutData* about = new TDEAboutData("kcmfontinst",
I18N_NOOP("TDE Font Installer"), I18N_NOOP("TDE Font Installer"),
0, 0, 0, 0,
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("GUI front end to the fonts:/ ioslave.\n" I18N_NOOP("GUI front end to the fonts:/ ioslave.\n"
"(c) Craig Drummond, 2000 - 2004")); "(c) Craig Drummond, 2000 - 2004"));
about->addAuthor("Craig Drummond", I18N_NOOP("Developer and maintainer"), "craig@kde.org"); about->addAuthor("Craig Drummond", I18N_NOOP("Developer and maintainer"), "craig@kde.org");

@ -110,7 +110,7 @@ int kdemain(int argc, char **argv)
KLocale::setMainCatalogue(KFI_CATALOGUE); KLocale::setMainCatalogue(KFI_CATALOGUE);
KInstance instance("kio_" KFI_KIO_FONTS_PROTOCOL); TDEInstance instance("kio_" KFI_KIO_FONTS_PROTOCOL);
KFI::CKioFonts slave(argv[2], argv[3]); KFI::CKioFonts slave(argv[2], argv[3]);
slave.dispatchLoop(); slave.dispatchLoop();

@ -85,7 +85,7 @@ CFontViewPart::CFontViewPart(TQWidget *parent, const char *name)
itsToolsFrame->setFrameShape(TQFrame::NoFrame); itsToolsFrame->setFrameShape(TQFrame::NoFrame);
previewFrame->setFrameShadow(kcm ? TQFrame::Sunken : TQFrame::Raised); previewFrame->setFrameShadow(kcm ? TQFrame::Sunken : TQFrame::Raised);
previewFrame->setFrameShape(TQFrame::Panel); previewFrame->setFrameShape(TQFrame::Panel);
setInstance(new KInstance("kfontview")); setInstance(new TDEInstance("kfontview"));
itsPreview=new CFontPreview(previewFrame, "FontViewPart::Preview"); itsPreview=new CFontPreview(previewFrame, "FontViewPart::Preview");
itsPreview->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding); itsPreview->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);

@ -45,8 +45,8 @@ extern "C"
namespace KFI namespace KFI
{ {
KInstance * CFontViewPartFactory::theirInstance=NULL; TDEInstance * CFontViewPartFactory::theirInstance=NULL;
KAboutData * CFontViewPartFactory::theirAbout=NULL; TDEAboutData * CFontViewPartFactory::theirAbout=NULL;
CFontViewPartFactory::CFontViewPartFactory() CFontViewPartFactory::CFontViewPartFactory()
{ {
@ -71,12 +71,12 @@ TQObject * CFontViewPartFactory::createObject(TQObject *parent, const char *name
return new CFontViewPart((TQWidget*) parent, name); return new CFontViewPart((TQWidget*) parent, name);
} }
KInstance* CFontViewPartFactory::instance() TDEInstance* CFontViewPartFactory::instance()
{ {
if(!theirInstance) if(!theirInstance)
{ {
theirAbout = new KAboutData("fontviewpart", I18N_NOOP("CFontViewPart"), "0.1"); theirAbout = new TDEAboutData("fontviewpart", I18N_NOOP("CFontViewPart"), "0.1");
theirInstance = new KInstance(theirAbout); theirInstance = new TDEInstance(theirAbout);
} }
return theirInstance; return theirInstance;
} }

@ -31,8 +31,8 @@
#include <klibloader.h> #include <klibloader.h>
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
namespace KFI namespace KFI
{ {
@ -47,12 +47,12 @@ class CFontViewPartFactory : public KLibFactory
virtual ~CFontViewPartFactory(); virtual ~CFontViewPartFactory();
virtual TQObject *createObject(TQObject *parent = 0, const char *name = 0, const char *classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList()); virtual TQObject *createObject(TQObject *parent = 0, const char *name = 0, const char *classname = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList());
static KInstance * instance(); static TDEInstance * instance();
private: private:
static KInstance *theirInstance; static TDEInstance *theirInstance;
static KAboutData *theirAbout; static TDEAboutData *theirAbout;
}; };
} }

@ -112,8 +112,8 @@ static KCmdLineOptions options[] =
KCmdLineLastOption KCmdLineLastOption
}; };
static KAboutData aboutData("kfontview", I18N_NOOP("Font Viewer"), 0, I18N_NOOP("Simple font viewer"), static TDEAboutData aboutData("kfontview", I18N_NOOP("Font Viewer"), 0, I18N_NOOP("Simple font viewer"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) Craig Drummond, 2004")); I18N_NOOP("(c) Craig Drummond, 2004"));
int main(int argc, char **argv) int main(int argc, char **argv)

@ -32,9 +32,9 @@ LookAndFeelConfig::LookAndFeelConfig(TQWidget *parent, const char *name)
: KCModule(parent, name) : KCModule(parent, name)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmkicker"), I18N_NOOP("TDE Panel Control Module"), new TDEAboutData(I18N_NOOP("kcmkicker"), I18N_NOOP("TDE Panel Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999 - 2001 Matthias Elter\n(c) 2002 Aaron J. Seigo")); I18N_NOOP("(c) 1999 - 2001 Matthias Elter\n(c) 2002 Aaron J. Seigo"));
about->addAuthor("Matthias Elter", 0, "elter@kde.org"); about->addAuthor("Matthias Elter", 0, "elter@kde.org");

@ -351,13 +351,13 @@ TQString KickerConfig::quickHelp() const
" manipulation of the panel's buttons and applets."); " manipulation of the panel's buttons and applets.");
} }
KAboutData *KickerConfig::aboutData() TDEAboutData *KickerConfig::aboutData()
{ {
// the KAboutDatas are deleted by the KCModules // the TDEAboutDatas are deleted by the KCModules
KAboutData *about TDEAboutData *about
= new KAboutData(I18N_NOOP("kcmkicker"), = new TDEAboutData(I18N_NOOP("kcmkicker"),
I18N_NOOP("TDE Panel Control Module"), I18N_NOOP("TDE Panel Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2009 - 2010 Timothy Pearson\n" I18N_NOOP("(c) 2009 - 2010 Timothy Pearson\n"
"(c) 1999 - 2001 Matthias Elter\n" "(c) 1999 - 2001 Matthias Elter\n"
"(c) 2002 - 2003 Aaron J. Seigo")); "(c) 2002 - 2003 Aaron J. Seigo"));

@ -24,7 +24,7 @@
#include "extensionInfo.h" #include "extensionInfo.h"
class TQComboBox; class TQComboBox;
class KAboutData; class TDEAboutData;
class KDirWatch; class KDirWatch;
class KickerConfig : public TQObject, public DCOPObject class KickerConfig : public TQObject, public DCOPObject
@ -46,7 +46,7 @@ public:
void restartKicker(); void restartKicker();
TQString quickHelp() const; TQString quickHelp() const;
KAboutData *aboutData(); TDEAboutData *aboutData();
int currentPanelIndex() const { return m_currentPanelIndex; } int currentPanelIndex() const { return m_currentPanelIndex; }

@ -38,9 +38,9 @@ KSocksConfig::KSocksConfig(TQWidget *parent)
: KCModule(parent, "kcmkio") : KCModule(parent, "kcmkio")
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmsocks"), I18N_NOOP("TDE SOCKS Control Module"), new TDEAboutData(I18N_NOOP("kcmsocks"), I18N_NOOP("TDE SOCKS Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 George Staikos")); I18N_NOOP("(c) 2001 George Staikos"));
about->addAuthor("George Staikos", 0, "staikos@kde.org"); about->addAuthor("George Staikos", 0, "staikos@kde.org");

@ -84,10 +84,10 @@ KCMKNotify::KCMKNotify(TQWidget *parent, const char *name, const TQStringList &
connect( m_notifyWidget->m_playerButton, TQT_SIGNAL( clicked() ), connect( m_notifyWidget->m_playerButton, TQT_SIGNAL( clicked() ),
TQT_SLOT( slotPlayerSettings())); TQT_SLOT( slotPlayerSettings()));
KAboutData* ab = new KAboutData( TDEAboutData* ab = new TDEAboutData(
"kcmknotify", I18N_NOOP("KNotify"), "3.0", "kcmknotify", I18N_NOOP("KNotify"), "3.0",
I18N_NOOP("System Notification Control Panel Module"), I18N_NOOP("System Notification Control Panel Module"),
KAboutData::License_GPL, "(c) 2002 Carsten Pfeiffer", 0, 0 ); TDEAboutData::License_GPL, "(c) 2002 Carsten Pfeiffer", 0, 0 );
ab->addAuthor( "Carsten Pfeiffer", 0, "pfeiffer@kde.org" ); ab->addAuthor( "Carsten Pfeiffer", 0, "pfeiffer@kde.org" );
ab->addCredit( "Charles Samuels", I18N_NOOP("Original implementation"), ab->addCredit( "Charles Samuels", I18N_NOOP("Original implementation"),
"charles@altair.dhs.org" ); "charles@altair.dhs.org" );

@ -32,7 +32,7 @@ class TQCheckBox;
class TQLabel; class TQLabel;
class TQSlider; class TQSlider;
class KAboutData; class TDEAboutData;
class KComboBox; class KComboBox;
class KURLRequester; class KURLRequester;
class PlayerSettingsDialog; class PlayerSettingsDialog;

@ -78,9 +78,9 @@ extern "C"
KJSParts::KJSParts(KConfig *config, TQWidget *parent, const char *name) KJSParts::KJSParts(KConfig *config, TQWidget *parent, const char *name)
: KCModule(parent, name), mConfig(config) : KCModule(parent, name), mConfig(config)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmkonqhtml"), I18N_NOOP("Konqueror Browsing Control Module"), new TDEAboutData(I18N_NOOP("kcmkonqhtml"), I18N_NOOP("Konqueror Browsing Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999 - 2001 The Konqueror Developers")); I18N_NOOP("(c) 1999 - 2001 The Konqueror Developers"));
about->addAuthor("Waldo Bastian",0,"bastian@kde.org"); about->addAuthor("Waldo Bastian",0,"bastian@kde.org");

@ -53,8 +53,8 @@ KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&)
topLayout->add(dialog); topLayout->add(dialog);
load(); load();
KAboutData *ab=new KAboutData( "kcmkonsole", I18N_NOOP("KCM Konsole"), TDEAboutData *ab=new TDEAboutData( "kcmkonsole", I18N_NOOP("KCM Konsole"),
"0.2",I18N_NOOP("KControl module for Konsole configuration"), KAboutData::License_GPL, "0.2",I18N_NOOP("KControl module for Konsole configuration"), TDEAboutData::License_GPL,
"(c) 2001, Andrea Rizzi", 0, 0, "rizzi@kde.org"); "(c) 2001, Andrea Rizzi", 0, 0, "rizzi@kde.org");
ab->addAuthor("Andrea Rizzi",0, "rizzi@kde.org"); ab->addAuthor("Andrea Rizzi",0, "rizzi@kde.org");

@ -46,10 +46,10 @@ kthememanager::kthememanager( TQWidget *parent, const char *name )
: KCModule( parent, name ), m_theme( 0 ), m_origTheme( 0 ) : KCModule( parent, name ), m_theme( 0 ), m_origTheme( 0 )
{ {
KAboutData *about = new KAboutData("kthememanager", I18N_NOOP("TDE Theme Manager"), TDEAboutData *about = new TDEAboutData("kthememanager", I18N_NOOP("TDE Theme Manager"),
"0.4", I18N_NOOP("This control module handles installing, removing and " "0.4", I18N_NOOP("This control module handles installing, removing and "
"creating visual TDE themes."), "creating visual TDE themes."),
KAboutData::License_GPL, "(c) 2003, 2004, 2006 Lukáš Tinkl", 0, TDEAboutData::License_GPL, "(c) 2003, 2004, 2006 Lukáš Tinkl", 0,
"http://developer.kde.org/~lukas/kthememanager"); "http://developer.kde.org/~lukas/kthememanager");
setAboutData( about ); setAboutData( about );

@ -29,7 +29,7 @@
class TQString; class TQString;
class KAboutData; class TDEAboutData;
#define ORIGINAL_THEME "original" // no i18n() here!!! #define ORIGINAL_THEME "original" // no i18n() here!!!

@ -49,11 +49,11 @@ KLocaleApplication::KLocaleApplication(TQWidget *parent, const char* /*name*/,
const TQStringList &args) const TQStringList &args)
: KCModule( KLocaleFactory::instance(), parent, args) : KCModule( KLocaleFactory::instance(), parent, args)
{ {
KAboutData* aboutData = new KAboutData("kcmlocale", TDEAboutData* aboutData = new TDEAboutData("kcmlocale",
I18N_NOOP("KCMLocale"), I18N_NOOP("KCMLocale"),
"3.0", "3.0",
I18N_NOOP("Regional settings"), I18N_NOOP("Regional settings"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(C) 1998 Matthias Hoelzer, " "(C) 1998 Matthias Hoelzer, "
"(C) 1999-2003 Hans Petter Bieker", "(C) 1999-2003 Hans Petter Bieker",
0, 0, "bieker@kde.org"); 0, 0, "bieker@kde.org");

@ -106,10 +106,10 @@ KCMNic::KCMNic(TQWidget *parent, const char * name, const TQStringList &)
connect(m_updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(update())); connect(m_updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(update()));
connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(update())); connect(timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(update()));
update(); update();
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcminfo"), new TDEAboutData(I18N_NOOP("kcminfo"),
I18N_NOOP("TDE Panel System Information Control Module"), I18N_NOOP("TDE Panel System Information Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 - 2002 Alexander Neundorf")); I18N_NOOP("(c) 2001 - 2002 Alexander Neundorf"));
about->addAuthor("Alexander Neundorf", 0, "neundorf@kde.org"); about->addAuthor("Alexander Neundorf", 0, "neundorf@kde.org");

@ -45,9 +45,9 @@ Privacy::Privacy(TQWidget *parent, const char *name)
setButtons( KCModule::Default|KCModule::Apply|KCModule::Help ); setButtons( KCModule::Default|KCModule::Apply|KCModule::Help );
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcm_privacy"), I18N_NOOP("TDE Privacy Control Module"), new TDEAboutData(I18N_NOOP("kcm_privacy"), I18N_NOOP("TDE Privacy Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2003 Ralf Hoelzer")); I18N_NOOP("(c) 2003 Ralf Hoelzer"));
about->addAuthor("Ralf Hoelzer", 0, "ralf@well.com"); about->addAuthor("Ralf Hoelzer", 0, "ralf@well.com");

@ -35,7 +35,7 @@ static const KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData aboutData("randr", I18N_NOOP("Resize and Rotate"), krandrtrayVersion, I18N_NOOP("Resize and Rotate System Tray App"), KAboutData::License_GPL, "(c) 2009,2010 Timothy Pearson", 0L, ""); TDEAboutData aboutData("randr", I18N_NOOP("Resize and Rotate"), krandrtrayVersion, I18N_NOOP("Resize and Rotate System Tray App"), TDEAboutData::License_GPL, "(c) 2009,2010 Timothy Pearson", 0L, "");
aboutData.addAuthor("Timothy Pearson",I18N_NOOP("Developer and maintainer"), "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Timothy Pearson",I18N_NOOP("Developer and maintainer"), "kb9vqf@pearsoncomputing.net");
aboutData.addAuthor("Hamish Rodda",I18N_NOOP("Original developer and maintainer"), "rodda@kde.org"); aboutData.addAuthor("Hamish Rodda",I18N_NOOP("Original developer and maintainer"), "rodda@kde.org");
aboutData.addCredit("Lubos Lunak",I18N_NOOP("Many fixes"), "l.lunak@suse.cz"); aboutData.addCredit("Lubos Lunak",I18N_NOOP("Many fixes"), "l.lunak@suse.cz");

@ -81,10 +81,10 @@ SambaContainer::SambaContainer(TQWidget *parent, const char* name, const TQStrin
" is parsed. On some systems showmount is in /usr/sbin, check if you have" " is parsed. On some systems showmount is in /usr/sbin, check if you have"
" showmount in your PATH.")); " showmount in your PATH."));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmsamba"), new TDEAboutData(I18N_NOOP("kcmsamba"),
I18N_NOOP("TDE Panel System Information Control Module"), I18N_NOOP("TDE Panel System Information Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2002 KDE Information Control Module Samba Team")); I18N_NOOP("(c) 2002 KDE Information Control Module Samba Team"));
about->addAuthor("Michael Glauche", 0, "glauche@isa.rwth-aachen.de"); about->addAuthor("Michael Glauche", 0, "glauche@isa.rwth-aachen.de");
about->addAuthor("Matthias Hoelzer", 0, "hoelzer@kde.org"); about->addAuthor("Matthias Hoelzer", 0, "hoelzer@kde.org");

@ -281,9 +281,9 @@ KScreenSaver::KScreenSaver(TQWidget *parent, const char *name, const TQStringLis
mChanged = false; mChanged = false;
emit changed(false); emit changed(false);
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmscreensaver"), I18N_NOOP("TDE Screen Saver Control Module"), new TDEAboutData(I18N_NOOP("kcmscreensaver"), I18N_NOOP("TDE Screen Saver Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1997-2002 Martin R. Jones\n" I18N_NOOP("(c) 1997-2002 Martin R. Jones\n"
"(c) 2003-2004 Chris Howells")); "(c) 2003-2004 Chris Howells"));
about->addAuthor("Chris Howells", 0, "howells@kde.org"); about->addAuthor("Chris Howells", 0, "howells@kde.org");

@ -55,9 +55,9 @@ KSmartcardConfig::KSmartcardConfig(TQWidget *parent, const char *name)
_ok = false; _ok = false;
dc->remoteInterfaces("kded", "kardsvc", &_ok); dc->remoteInterfaces("kded", "kardsvc", &_ok);
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmsmartcard"), I18N_NOOP("TDE Smartcard Control Module"), new TDEAboutData(I18N_NOOP("kcmsmartcard"), I18N_NOOP("TDE Smartcard Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 George Staikos")); I18N_NOOP("(c) 2001 George Staikos"));
about->addAuthor("George Staikos", 0, "staikos@kde.org"); about->addAuthor("George Staikos", 0, "staikos@kde.org");

@ -130,10 +130,10 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name )
KGlobal::dirs()->addResourceType("themes", KGlobal::dirs()->addResourceType("themes",
KStandardDirs::kde_default("data") + "kstyle/themes"); KStandardDirs::kde_default("data") + "kstyle/themes");
KAboutData *about = TDEAboutData *about =
new KAboutData( I18N_NOOP("kcmstyle"), new TDEAboutData( I18N_NOOP("kcmstyle"),
I18N_NOOP("TDE Style Module"), I18N_NOOP("TDE Style Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2002 Karol Szwed, Daniel Molkentin")); I18N_NOOP("(c) 2002 Karol Szwed, Daniel Molkentin"));
about->addAuthor("Karol Szwed", 0, "gallium@kde.org"); about->addAuthor("Karol Szwed", 0, "gallium@kde.org");

@ -237,9 +237,9 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL
} }
connect( m_widget->showAllScreens, TQT_SIGNAL( stateChanged( int )), TQT_SLOT( changed())); connect( m_widget->showAllScreens, TQT_SIGNAL( stateChanged( int )), TQT_SLOT( changed()));
KAboutData *about = new KAboutData(I18N_NOOP("kcmtaskbar"), TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmtaskbar"),
I18N_NOOP("TDE Taskbar Control Module"), I18N_NOOP("TDE Taskbar Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000 - 2001 Matthias Elter")); I18N_NOOP("(c) 2000 - 2001 Matthias Elter"));
about->addAuthor("Matthias Elter", 0, "elter@kde.org"); about->addAuthor("Matthias Elter", 0, "elter@kde.org");

@ -84,9 +84,9 @@ TDModule::TDModule(TQWidget *parent, const char *name, const TQStringList &)
, maxshowuid(0) , maxshowuid(0)
, updateOK(false) , updateOK(false)
{ {
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmtdm"), I18N_NOOP("TDE Login Manager Config Module"), new TDEAboutData(I18N_NOOP("kcmtdm"), I18N_NOOP("TDE Login Manager Config Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1996 - 2005 The TDM Authors")); I18N_NOOP("(c) 1996 - 2005 The TDM Authors"));
about->addAuthor("Thomas Tanghus", I18N_NOOP("Original author"), "tanghus@earthling.net"); about->addAuthor("Thomas Tanghus", I18N_NOOP("Original author"), "tanghus@earthling.net");

@ -67,9 +67,9 @@ USBViewer::USBViewer(TQWidget *parent, const char *name, const TQStringList &)
connect(_devices, TQT_SIGNAL(selectionChanged(TQListViewItem*)), connect(_devices, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
this, TQT_SLOT(selectionChanged(TQListViewItem*))); this, TQT_SLOT(selectionChanged(TQListViewItem*)));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmusb"), I18N_NOOP("TDE USB Viewer"), new TDEAboutData(I18N_NOOP("kcmusb"), I18N_NOOP("TDE USB Viewer"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 Matthias Hoelzer-Kluepfel")); I18N_NOOP("(c) 2001 Matthias Hoelzer-Kluepfel"));
about->addAuthor("Matthias Hoelzer-Kluepfel", 0, "mhk@kde.org"); about->addAuthor("Matthias Hoelzer-Kluepfel", 0, "mhk@kde.org");

@ -44,10 +44,10 @@ KCMXinerama::KCMXinerama(TQWidget *parent, const char *name)
: KCModule(parent, name) { : KCModule(parent, name) {
_indicators.setAutoDelete(true); _indicators.setAutoDelete(true);
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmxinerama"), new TDEAboutData(I18N_NOOP("kcmxinerama"),
I18N_NOOP("TDE Multiple Monitor Configurator"), I18N_NOOP("TDE Multiple Monitor Configurator"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2002-2003 George Staikos")); I18N_NOOP("(c) 2002-2003 George Staikos"));
about->addAuthor("George Staikos", 0, "staikos@kde.org"); about->addAuthor("George Staikos", 0, "staikos@kde.org");

@ -17,9 +17,9 @@ static const KCmdLineOptions options[] =
int main( int argc, char ** argv ) int main( int argc, char ** argv )
{ {
KAboutData aboutData( "kdcop", I18N_NOOP("KDCOP"), TDEAboutData aboutData( "kdcop", I18N_NOOP("KDCOP"),
"0.1", I18N_NOOP( "A graphical DCOP browser/client" ), "0.1", I18N_NOOP( "A graphical DCOP browser/client" ),
KAboutData::License_Artistic, TDEAboutData::License_Artistic,
"(c) 2000, Matthias Kalle Dalheimer"); "(c) 2000, Matthias Kalle Dalheimer");
aboutData.addAuthor("Matthias Kalle Dalheimer",0, "kalle@kde.org"); aboutData.addAuthor("Matthias Kalle Dalheimer",0, "kalle@kde.org");
aboutData.addAuthor("Rik Hemsley",0, "rik@kde.org"); aboutData.addAuthor("Rik Hemsley",0, "rik@kde.org");

@ -77,9 +77,9 @@ static KCmdLineOptions options[] =
int main(int argc, char ** argv) int main(int argc, char ** argv)
{ {
KAboutData data( "kdebugdialog", I18N_NOOP( "KDebugDialog"), TDEAboutData data( "kdebugdialog", I18N_NOOP( "KDebugDialog"),
"1.0", I18N_NOOP("A dialog box for setting preferences for debug output"), "1.0", I18N_NOOP("A dialog box for setting preferences for debug output"),
KAboutData::License_GPL, "(c) 2009,2010, Timothy Pearson <kb9vqf@pearsoncomputing.net>"); TDEAboutData::License_GPL, "(c) 2009,2010, Timothy Pearson <kb9vqf@pearsoncomputing.net>");
data.addAuthor("Timothy Pearson", I18N_NOOP("Maintainer"), "kb9vqf@pearsoncomputing.net"); data.addAuthor("Timothy Pearson", I18N_NOOP("Maintainer"), "kb9vqf@pearsoncomputing.net");
data.addAuthor("David Faure", I18N_NOOP("Original maintainer/developer"), "faure@kde.org"); data.addAuthor("David Faure", I18N_NOOP("Original maintainer/developer"), "faure@kde.org");
TDECmdLineArgs::init( argc, argv, &data ); TDECmdLineArgs::init( argc, argv, &data );

@ -78,9 +78,9 @@ KCMUserAccount::KCMUserAccount( TQWidget *parent, const char *name,
_mw->lblUsername->setText( _ku->loginName() ); _mw->lblUsername->setText( _ku->loginName() );
_mw->lblUID->setText( TQString().number(_ku->uid()) ); _mw->lblUID->setText( TQString().number(_ku->uid()) );
KAboutData *about = new KAboutData(I18N_NOOP("kcm_useraccount"), TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcm_useraccount"),
I18N_NOOP("Password & User Information"), 0, 0, I18N_NOOP("Password & User Information"), 0, 0,
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(C) 2002, Braden MacDonald, " I18N_NOOP("(C) 2002, Braden MacDonald, "
"(C) 2004 Ravikiran Rajagopal")); "(C) 2004 Ravikiran Rajagopal"));

@ -23,7 +23,7 @@
#include "main_widget.h" #include "main_widget.h"
class KAboutData; class TDEAboutData;
class KUser; class KUser;
class KEmailSettings; class KEmailSettings;
class TQEvent; class TQEvent;

@ -28,9 +28,9 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData aboutData("kdepasswd", I18N_NOOP("TDE passwd"), TDEAboutData aboutData("kdepasswd", I18N_NOOP("TDE passwd"),
VERSION, I18N_NOOP("Changes a UNIX password."), VERSION, I18N_NOOP("Changes a UNIX password."),
KAboutData::License_Artistic, "Copyright (c) 2000 Geert Jansen"); TDEAboutData::License_Artistic, "Copyright (c) 2000 Geert Jansen");
aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"), aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"),
"jansen@kde.org", "http://www.stack.nl/~geertj/"); "jansen@kde.org", "http://www.stack.nl/~geertj/");

@ -86,10 +86,10 @@ void KWebDesktopRun::slotFinished( KIO::Job * job )
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData data( "kwebdesktop", I18N_NOOP("TDE Web Desktop"), TDEAboutData data( "kwebdesktop", I18N_NOOP("TDE Web Desktop"),
VERSION, VERSION,
I18N_NOOP("Displays an HTML page as the background of the desktop"), I18N_NOOP("Displays an HTML page as the background of the desktop"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 2000, David Faure <faure@kde.org>" ); "(c) 2000, David Faure <faure@kde.org>" );
data.addAuthor( "David Faure", I18N_NOOP("developer and maintainer"), "faure@kde.org" ); data.addAuthor( "David Faure", I18N_NOOP("developer and maintainer"), "faure@kde.org" );

@ -168,8 +168,8 @@ extern "C" KDE_EXPORT int kdemain( int argc, char **argv )
twin_name.sprintf("twin-screen-%d", kdesktop_screen_number); twin_name.sprintf("twin-screen-%d", kdesktop_screen_number);
} }
KAboutData aboutData( kdesktop_name, I18N_NOOP("KDesktop"), TDEAboutData aboutData( kdesktop_name, I18N_NOOP("KDesktop"),
version, description, KAboutData::License_GPL, version, description, TDEAboutData::License_GPL,
"(c) 1998-2000, The KDesktop Authors"); "(c) 1998-2000, The KDesktop Authors");
aboutData.addAuthor("David Faure", 0, "faure@kde.org"); aboutData.addAuthor("David Faure", 0, "faure@kde.org");
aboutData.addAuthor("Martin Koller", 0, "m.koller@surfeu.at"); aboutData.addAuthor("Martin Koller", 0, "m.koller@surfeu.at");

@ -676,9 +676,9 @@ static int directCommand(TDECmdLineArgs *args)
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData( "kdialog", I18N_NOOP("KDialog"), TDEAboutData aboutData( "kdialog", I18N_NOOP("KDialog"),
"1.0", I18N_NOOP( "KDialog can be used to show nice dialog boxes from shell scripts" ), "1.0", I18N_NOOP( "KDialog can be used to show nice dialog boxes from shell scripts" ),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(C) 2000, Nick Thompson"); "(C) 2000, Nick Thompson");
aboutData.addAuthor("David Faure", I18N_NOOP("Current maintainer"),"faure@kde.org"); aboutData.addAuthor("David Faure", I18N_NOOP("Current maintainer"),"faure@kde.org");
aboutData.addAuthor("Brad Hards", 0, "bradh@frogmouth.net"); aboutData.addAuthor("Brad Hards", 0, "bradh@frogmouth.net");

@ -76,9 +76,9 @@ KFindPart::~KFindPart()
{ {
} }
KAboutData *KFindPart::createAboutData() TDEAboutData *KFindPart::createAboutData()
{ {
return new KAboutData( "kfindpart", I18N_NOOP( "Find Component" ), "1.0" ); return new TDEAboutData( "kfindpart", I18N_NOOP( "Find Component" ), "1.0" );
} }
bool KFindPart::doOpenURL( const KURL &url ) bool KFindPart::doOpenURL( const KURL &url )

@ -28,7 +28,7 @@
#include <konq_dirpart.h> #include <konq_dirpart.h>
class KQuery; class KQuery;
class KAboutData; class TDEAboutData;
//added //added
class KonqPropsView; class KonqPropsView;
class KAction; class KAction;
@ -48,7 +48,7 @@ public:
TQObject *parent, const char *name, const TQStringList & /*args*/ ); TQObject *parent, const char *name, const TQStringList & /*args*/ );
virtual ~KFindPart(); virtual ~KFindPart();
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
virtual bool doOpenURL( const KURL &url ); virtual bool doOpenURL( const KURL &url );
virtual bool doCloseURL() { return true; } virtual bool doCloseURL() { return true; }

@ -22,8 +22,8 @@ static KCmdLineOptions options[] =
int main( int argc, char ** argv ) int main( int argc, char ** argv )
{ {
KLocale::setMainCatalogue("kfindpart"); KLocale::setMainCatalogue("kfindpart");
KAboutData aboutData( "kfind", I18N_NOOP("KFind"), TDEAboutData aboutData( "kfind", I18N_NOOP("KFind"),
KFIND_VERSION, description, KAboutData::License_GPL, KFIND_VERSION, description, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1998-2003, The KDE Developers")); I18N_NOOP("(c) 1998-2003, The KDE Developers"));
aboutData.addAuthor("Eric Coquelle", I18N_NOOP("Current Maintainer"), "coquelle@caramail.com"); aboutData.addAuthor("Eric Coquelle", I18N_NOOP("Current Maintainer"), "coquelle@caramail.com");

@ -60,10 +60,10 @@ static KCmdLineOptions options[] =
extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KAboutData aboutData( "khelpcenter", I18N_NOOP("Trinity Help Center"), TDEAboutData aboutData( "khelpcenter", I18N_NOOP("Trinity Help Center"),
HELPCENTER_VERSION, HELPCENTER_VERSION,
I18N_NOOP("The Trinity Help Center"), I18N_NOOP("The Trinity Help Center"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2003, The KHelpCenter developers") ); I18N_NOOP("(c) 1999-2003, The KHelpCenter developers") );
aboutData.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" ); aboutData.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" );

@ -15,7 +15,7 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData( "khtmlindex", I18N_NOOP("KHtmlIndex"), TDEAboutData aboutData( "khtmlindex", I18N_NOOP("KHtmlIndex"),
"", "",
I18N_NOOP("TDE Index generator for help files.")); I18N_NOOP("TDE Index generator for help files."));

@ -34,7 +34,7 @@ class TQLabel;
class KProcess; class KProcess;
class KConfig; class KConfig;
class KAboutData; class TDEAboutData;
class KTempFile; class KTempFile;
class KURLRequester; class KURLRequester;
class KListView; class KListView;
@ -164,7 +164,7 @@ class KCMHelpCenter : public KDialogBase, virtual public KCMHelpCenterIface
KConfig *mConfig; KConfig *mConfig;
KAboutData *mAboutData; TDEAboutData *mAboutData;
KHC::HtmlSearchConfig *mHtmlSearchTab; KHC::HtmlSearchConfig *mHtmlSearchTab;
TQWidget *mScopeTab; TQWidget *mScopeTab;

@ -170,11 +170,11 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "khc_indexbuilder", TDEAboutData aboutData( "khc_indexbuilder",
I18N_NOOP("KHelpCenter Index Builder"), I18N_NOOP("KHelpCenter Index Builder"),
HELPCENTER_VERSION, HELPCENTER_VERSION,
I18N_NOOP("The TDE Help Center"), I18N_NOOP("The TDE Help Center"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2003, The KHelpCenter developers") ); I18N_NOOP("(c) 2003, The KHelpCenter developers") );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );

@ -88,7 +88,7 @@ class AsyncTraverser : public DocEntryTraverser
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testmetainfo","TestDocMetaInfo","0.1"); TDEAboutData aboutData("testmetainfo","TestDocMetaInfo","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -86,9 +86,9 @@ Module::Module( TQWidget* parent_P, const char* )
connect( buttons_widget, TQT_SIGNAL( global_settings_pressed()), TQT_SLOT( global_settings())); connect( buttons_widget, TQT_SIGNAL( global_settings_pressed()), TQT_SLOT( global_settings()));
// listview_current_action_changed(); // init // listview_current_action_changed(); // init
KAboutData* about = new KAboutData("kcmkhotkeys", I18N_NOOP("KHotKeys"), KHOTKEYS_VERSION, TDEAboutData* about = new TDEAboutData("kcmkhotkeys", I18N_NOOP("KHotKeys"), KHOTKEYS_VERSION,
0, 0,
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2005 Lubos Lunak"), 0, 0); I18N_NOOP("(c) 1999-2005 Lubos Lunak"), 0, 0);
about->addAuthor("Lubos Lunak", I18N_NOOP("Maintainer"), "l.lunak@kde.org"); about->addAuthor("Lubos Lunak", I18N_NOOP("Maintainer"), "l.lunak@kde.org");
setAboutData( about ); setAboutData( about );

@ -496,9 +496,9 @@ void QuickLauncher::addAppBeforeManually(TQString url, TQString sender)
void QuickLauncher::about() void QuickLauncher::about()
{ {
KAboutData about("quicklauncher", I18N_NOOP("Quick Launcher"), "2.0", TDEAboutData about("quicklauncher", I18N_NOOP("Quick Launcher"), "2.0",
I18N_NOOP("A simple application launcher"), I18N_NOOP("A simple application launcher"),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(C) 2000 Bill Nagel\n(C) 2004 Dan Bullok\n(C) 2005 Fred Schaettgen"); "(C) 2000 Bill Nagel\n(C) 2004 Dan Bullok\n(C) 2005 Fred Schaettgen");
KAboutApplication a(&about, this); KAboutApplication a(&about, this);
a.exec(); a.exec();

@ -89,11 +89,11 @@ MediaApplet::~MediaApplet()
void MediaApplet::about() void MediaApplet::about()
{ {
KAboutData data("mediaapplet", TDEAboutData data("mediaapplet",
I18N_NOOP("Media Applet"), I18N_NOOP("Media Applet"),
"1.0", "1.0",
I18N_NOOP("\"media:/\" ioslave frontend applet"), I18N_NOOP("\"media:/\" ioslave frontend applet"),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(c) 2004, Kevin Ottens"); "(c) 2004, Kevin Ottens");
data.addAuthor("Kevin \'ervin\' Ottens", data.addAuthor("Kevin \'ervin\' Ottens",

@ -156,13 +156,13 @@ NaughtyApplet::slotLoad(uint l)
void void
NaughtyApplet::about() NaughtyApplet::about()
{ {
KAboutData about TDEAboutData about
( (
"naughtyapplet", "naughtyapplet",
I18N_NOOP("Naughty applet"), I18N_NOOP("Naughty applet"),
"1.0", "1.0",
I18N_NOOP("Runaway process catcher"), I18N_NOOP("Runaway process catcher"),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(C) 2000 Rik Hemsley (rikkus) <rik@kde.org>" "(C) 2000 Rik Hemsley (rikkus) <rik@kde.org>"
); );

@ -75,11 +75,11 @@ TrashApplet::~TrashApplet()
void TrashApplet::about() void TrashApplet::about()
{ {
KAboutData data("trashapplet", TDEAboutData data("trashapplet",
I18N_NOOP("Trash Applet"), I18N_NOOP("Trash Applet"),
"1.0", "1.0",
I18N_NOOP("\"trash:/\" ioslave frontend applet"), I18N_NOOP("\"trash:/\" ioslave frontend applet"),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(c) 2004, Kevin Ottens"); "(c) 2004, Kevin Ottens");
data.addAuthor("Kevin \'ervin\' Ottens", data.addAuthor("Kevin \'ervin\' Ottens",

@ -107,8 +107,8 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
else else
appname.sprintf("kicker-screen-%d", kicker_screen_number); appname.sprintf("kicker-screen-%d", kicker_screen_number);
KAboutData aboutData( appname.data(), I18N_NOOP("TDE Panel"), TDEAboutData aboutData( appname.data(), I18N_NOOP("TDE Panel"),
version, description, KAboutData::License_GPL_V2, version, description, TDEAboutData::License_GPL_V2,
I18N_NOOP("(c) 1999-2010, The KDE Team") ); I18N_NOOP("(c) 1999-2010, The KDE Team") );
aboutData.addAuthor("Timothy Pearson", I18N_NOOP("Current maintainer"), "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Timothy Pearson", I18N_NOOP("Current maintainer"), "kb9vqf@pearsoncomputing.net");

@ -70,10 +70,10 @@ static KCmdLineOptions options[] =
extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
{ {
KAboutData aboutData( "kicker", I18N_NOOP("Panel applet proxy.") TDEAboutData aboutData( "kicker", I18N_NOOP("Panel applet proxy.")
, "v0.1.0" , "v0.1.0"
,I18N_NOOP("Panel applet proxy.") ,I18N_NOOP("Panel applet proxy.")
, KAboutData::License_BSD , TDEAboutData::License_BSD
, "(c) 2000, The KDE Developers"); , "(c) 2000, The KDE Developers");
TDECmdLineArgs::init(argc, argv, &aboutData ); TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org"); aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");

@ -74,10 +74,10 @@ KPanelExtension* loadExtension(const AppletInfo& info)
int main( int argc, char ** argv ) int main( int argc, char ** argv )
{ {
KAboutData aboutData( "extensionproxy", I18N_NOOP("Panel extension proxy.") TDEAboutData aboutData( "extensionproxy", I18N_NOOP("Panel extension proxy.")
, "v0.1.0" , "v0.1.0"
,I18N_NOOP("Panel extension proxy.") ,I18N_NOOP("Panel extension proxy.")
, KAboutData::License_BSD , TDEAboutData::License_BSD
, "(c) 2000, The KDE Developers"); , "(c) 2000, The KDE Developers");
TDECmdLineArgs::init(argc, argv, &aboutData ); TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org"); aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");

@ -56,10 +56,10 @@ static KCmdLineOptions options[] =
extern "C" KDE_EXPORT int kdemain( int argc, char ** argv ) extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
{ {
KAboutData aboutData( "extensionproxy", I18N_NOOP("Panel Extension Proxy") TDEAboutData aboutData( "extensionproxy", I18N_NOOP("Panel Extension Proxy")
, "v0.1.0" , "v0.1.0"
,I18N_NOOP("Panel extension proxy") ,I18N_NOOP("Panel extension proxy")
, KAboutData::License_BSD , TDEAboutData::License_BSD
, "(c) 2000, The KDE Developers"); , "(c) 2000, The KDE Developers");
TDECmdLineArgs::init(argc, argv, &aboutData ); TDECmdLineArgs::init(argc, argv, &aboutData );
aboutData.addAuthor("Matthias Elter",0, "elter@kde.org"); aboutData.addAuthor("Matthias Elter",0, "elter@kde.org");

@ -59,7 +59,7 @@ extern "C"
{ {
int KDE_EXPORT kdemain( int argc, char **argv ) { int KDE_EXPORT kdemain( int argc, char **argv ) {
KInstance instance("kio_about"); TDEInstance instance("kio_about");
if (argc != 4) if (argc != 4)
{ {

@ -257,7 +257,7 @@ extern "C" { int KDE_EXPORT kdemain( int argc, char **argv ); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_cgi" ); TDEInstance instance( "kio_cgi" );
kdDebug(7124) << "kio_cgi starting " << getpid() << endl; kdDebug(7124) << "kio_cgi starting " << getpid() << endl;

@ -67,10 +67,10 @@ KCMCgi::KCMCgi(TQWidget *parent, const char *name)
load(); load();
updateButton(); updateButton();
KAboutData *about = TDEAboutData *about =
new KAboutData( I18N_NOOP("kcmcgi"), new TDEAboutData( I18N_NOOP("kcmcgi"),
I18N_NOOP("CGI KIO Slave Control Module"), I18N_NOOP("CGI KIO Slave Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2002 Cornelius Schumacher") ); I18N_NOOP("(c) 2002 Cornelius Schumacher") );
about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );

@ -36,7 +36,7 @@ extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char ** argv) int kdemain( int argc, char ** argv)
{ {
KInstance instance( "kio_filter" ); TDEInstance instance( "kio_filter" );
kdDebug(7110) << "Starting " << getpid() << endl; kdDebug(7110) << "Starting " << getpid() << endl;

@ -45,7 +45,7 @@ extern "C"
{ {
KDE_EXPORT int kdemain( int argc, char **argv ) KDE_EXPORT int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_finger" ); TDEInstance instance( "kio_finger" );
//kdDebug() << "*** Starting kio_finger " << getpid() << endl; //kdDebug() << "*** Starting kio_finger " << getpid() << endl;

@ -127,7 +127,7 @@ static void ripper(int)
int KDE_EXPORT kdemain( int argc, char **argv ) int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KLocale::setMainCatalogue("kio_fish"); KLocale::setMainCatalogue("kio_fish");
KInstance instance("fish"); TDEInstance instance("fish");
myDebug( << "*** Starting fish " << endl); myDebug( << "*** Starting fish " << endl);
if (argc != 4) { if (argc != 4) {

@ -53,7 +53,7 @@ extern "C" { KDE_EXPORT int kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_floppy" ); TDEInstance instance( "kio_floppy" );
if (argc != 4) if (argc != 4)
{ {

@ -244,7 +244,7 @@ extern "C" { int KDE_EXPORT kdemain( int argc, char **argv ); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_info" ); TDEInstance instance( "kio_info" );
kdDebug() << "kio_info starting " << getpid() << endl; kdDebug() << "kio_info starting " << getpid() << endl;

@ -34,7 +34,7 @@ extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); }
*/ */
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_ldap" ); TDEInstance instance( "kio_ldap" );
kdDebug(7125) << "Starting " << getpid() << endl; kdDebug(7125) << "Starting " << getpid() << endl;

@ -36,7 +36,7 @@ using namespace KIO;
extern "C" { extern "C" {
int KDE_EXPORT kdemain(int, char **argv) { int KDE_EXPORT kdemain(int, char **argv) {
KInstance instance("kio_mac"); TDEInstance instance("kio_mac");
MacProtocol slave(argv[2], argv[3]); MacProtocol slave(argv[2], argv[3]);
slave.dispatchLoop(); slave.dispatchLoop();
return 0; return 0;

@ -692,7 +692,7 @@ extern "C"
int KDE_EXPORT kdemain( int argc, char **argv ) { int KDE_EXPORT kdemain( int argc, char **argv ) {
KInstance instance("kio_man"); TDEInstance instance("kio_man");
kdDebug(7107) << "STARTING " << getpid() << endl; kdDebug(7107) << "STARTING " << getpid() << endl;

@ -36,8 +36,8 @@ extern "C"
} }
} }
KInstance* KManPartFactory::s_instance = 0L; TDEInstance* KManPartFactory::s_instance = 0L;
KAboutData* KManPartFactory::s_about = 0L; TDEAboutData* KManPartFactory::s_about = 0L;
KManPartFactory::KManPartFactory( TQObject* parent, const char* name ) KManPartFactory::KManPartFactory( TQObject* parent, const char* name )
: KParts::Factory( parent, name ) : KParts::Factory( parent, name )
@ -57,13 +57,13 @@ KParts::Part* KManPartFactory::createPartObject( TQWidget * parentWidget, const
return part; return part;
} }
KInstance* KManPartFactory::instance() TDEInstance* KManPartFactory::instance()
{ {
if( !s_instance ) if( !s_instance )
{ {
s_about = new KAboutData( "kmanpart", s_about = new TDEAboutData( "kmanpart",
I18N_NOOP( "KMan" ), TDE_VERSION_STRING ); I18N_NOOP( "KMan" ), TDE_VERSION_STRING );
s_instance = new KInstance( s_about ); s_instance = new TDEInstance( s_about );
} }
return s_instance; return s_instance;
} }
@ -73,7 +73,7 @@ KManPart::KManPart( TQWidget * parent, const char * name )
: KHTMLPart( parent, name ) : KHTMLPart( parent, name )
,m_job(0) ,m_job(0)
{ {
KInstance * instance = new KInstance( "kmanpart" ); TDEInstance * instance = new TDEInstance( "kmanpart" );
setInstance( instance ); setInstance( instance );
m_extension=new KParts::BrowserExtension(this); m_extension=new KParts::BrowserExtension(this);
} }

@ -30,8 +30,8 @@
#include <tqcstring.h> #include <tqcstring.h>
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
/** /**
* Man Page Viewer * Man Page Viewer
@ -48,11 +48,11 @@ class KManPartFactory: public KParts::Factory
TQObject* parent, const char* name, const char * classname, TQObject* parent, const char* name, const char * classname,
const TQStringList &args); const TQStringList &args);
static KInstance * instance(); static TDEInstance * instance();
private: private:
static KInstance * s_instance; static TDEInstance * s_instance;
static KAboutData * s_about; static TDEAboutData * s_about;
}; };
@ -70,7 +70,7 @@ class KManPart : public KHTMLPart
void jobDone( KIO::Job *); void jobDone( KIO::Job *);
protected: protected:
virtual bool openFile(); virtual bool openFile();
KInstance *m_instance; TDEInstance *m_instance;
KParts::BrowserExtension * m_extension; KParts::BrowserExtension * m_extension;
KIO::TransferJob *m_job; KIO::TransferJob *m_job;
}; };

@ -59,11 +59,11 @@ MediaModule::MediaModule( TQWidget *parent, const char *name, const TQStringList
KAboutData * about = new KAboutData("kcmmedia", TDEAboutData * about = new TDEAboutData("kcmmedia",
I18N_NOOP("Storage Media"), I18N_NOOP("Storage Media"),
"0.6", "0.6",
I18N_NOOP("Storage Media Control Panel Module"), I18N_NOOP("Storage Media Control Panel Module"),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
I18N_NOOP("(c) 2005 Jean-Remy Falleri")); I18N_NOOP("(c) 2005 Jean-Remy Falleri"));
about->addAuthor("Jean-Remy Falleri", I18N_NOOP("Maintainer"), "jr.falleri@laposte.net"); about->addAuthor("Jean-Remy Falleri", I18N_NOOP("Maintainer"), "jr.falleri@laposte.net");
about->addAuthor("Kevin Ottens", 0, "ervin ipsquad net"); about->addAuthor("Kevin Ottens", 0, "ervin ipsquad net");

@ -113,7 +113,7 @@ extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_nfs" ); TDEInstance instance( "kio_nfs" );
if (argc != 4) if (argc != 4)
{ {

@ -39,7 +39,7 @@ extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); }
int kdemain(int argc, char **argv) { int kdemain(int argc, char **argv) {
KInstance instance ("kio_nntp"); TDEInstance instance ("kio_nntp");
if (argc != 4) { if (argc != 4) {
fprintf(stderr, "Usage: kio_nntp protocol domain-socket1 domain-socket2\n"); fprintf(stderr, "Usage: kio_nntp protocol domain-socket1 domain-socket2\n");
exit(-1); exit(-1);

@ -104,7 +104,7 @@ int kdemain(int argc, char **argv)
} }
#endif #endif
KInstance instance("kio_pop3"); TDEInstance instance("kio_pop3");
POP3Protocol *slave; POP3Protocol *slave;
// Are we looking to use SSL? // Are we looking to use SSL?

@ -52,7 +52,7 @@ extern "C" {
KDE_EXPORT int kdemain( int, char **argv ) KDE_EXPORT int kdemain( int, char **argv )
{ {
kdDebug() << "kdemain for settings kioslave" << endl; kdDebug() << "kdemain for settings kioslave" << endl;
KInstance instance( "kio_settings" ); TDEInstance instance( "kio_settings" );
SettingsProtocol slave(argv[1], argv[2], argv[3]); SettingsProtocol slave(argv[1], argv[2], argv[3]);
slave.dispatchLoop(); slave.dispatchLoop();
return 0; return 0;

@ -79,7 +79,7 @@ extern "C"
{ {
int KDE_EXPORT kdemain( int argc, char **argv ) int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_sftp" ); TDEInstance instance( "kio_sftp" );
kdDebug(KIO_SFTP_DB) << "*** Starting kio_sftp " << endl; kdDebug(KIO_SFTP_DB) << "*** Starting kio_sftp " << endl;

@ -59,7 +59,7 @@ SMBSlave* G_TheSlave;
int KDE_EXPORT kdemain( int argc, char **argv ) int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_smb" ); TDEInstance instance( "kio_smb" );
if( argc != 4 ) if( argc != 4 )
{ {
kdDebug(KIO_SMB) << "Usage: kio_smb protocol domain-socket1 domain-socket2" kdDebug(KIO_SMB) << "Usage: kio_smb protocol domain-socket1 domain-socket2"

@ -95,7 +95,7 @@ extern "C" {
int kdemain(int argc, char **argv) int kdemain(int argc, char **argv)
{ {
KInstance instance("kio_smtp"); TDEInstance instance("kio_smtp");
if (argc != 4) { if (argc != 4) {
fprintf(stderr, fprintf(stderr,

@ -35,7 +35,7 @@ int main( int argc, char** argv )
usage(); usage();
return 1; return 1;
} }
KInstance instance("ktartest"); TDEInstance instance("ktartest");
TQString command = argv[1]; TQString command = argv[1];
kdDebug() << "main: command=" << command << endl; kdDebug() << "main: command=" << command << endl;

@ -32,7 +32,7 @@ extern "C" { int KDE_EXPORT kdemain(int argc, char **argv); }
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_tar" ); TDEInstance instance( "kio_tar" );
kdDebug(7109) << "Starting " << getpid() << endl; kdDebug(7109) << "Starting " << getpid() << endl;

@ -53,7 +53,7 @@
#include "thumbnail.h" #include "thumbnail.h"
#include <kio/thumbcreator.h> #include <kio/thumbcreator.h>
// Use correctly KInstance instead of TDEApplication (but then no TQPixmap) // Use correctly TDEInstance instead of TDEApplication (but then no TQPixmap)
#undef USE_KINSTANCE #undef USE_KINSTANCE
// Fix thumbnail: protocol // Fix thumbnail: protocol
#define THUMBNAIL_HACK (1) #define THUMBNAIL_HACK (1)
@ -96,7 +96,7 @@ int kdemain(int argc, char **argv)
#endif #endif
#ifdef USE_KINSTANCE #ifdef USE_KINSTANCE
KInstance instance("kio_thumbnail"); TDEInstance instance("kio_thumbnail");
#else #else
// creating TDEApplication in a slave in not a very good idea, // creating TDEApplication in a slave in not a very good idea,
// as dispatchLoop() doesn't allow it to process its messages, // as dispatchLoop() doesn't allow it to process its messages,

@ -52,7 +52,7 @@ static const KCmdLineOptions options[] =
extern "C" { extern "C" {
int KDE_EXPORT kdemain( int argc, char **argv ) int KDE_EXPORT kdemain( int argc, char **argv )
{ {
//KInstance instance( "kio_trash" ); //TDEInstance instance( "kio_trash" );
// TDEApplication is necessary to use kio_file // TDEApplication is necessary to use kio_file
putenv(strdup("SESSION_MANAGER=")); putenv(strdup("SESSION_MANAGER="));
TDEApplication::disableAutoDcopRegistration(); TDEApplication::disableAutoDcopRegistration();

@ -1102,8 +1102,8 @@ static const char * const description =
void KlipperWidget::createAboutData() void KlipperWidget::createAboutData()
{ {
about_data = new KAboutData("klipper", I18N_NOOP("Klipper"), about_data = new TDEAboutData("klipper", I18N_NOOP("Klipper"),
klipper_version, description, KAboutData::License_GPL, klipper_version, description, TDEAboutData::License_GPL,
"(c) 1998, Andrew Stanley-Jones\n" "(c) 1998, Andrew Stanley-Jones\n"
"1998-2002, Carsten Pfeiffer\n" "1998-2002, Carsten Pfeiffer\n"
"2001, Patrick Dubroy"); "2001, Patrick Dubroy");
@ -1135,9 +1135,9 @@ void KlipperWidget::destroyAboutData()
about_data = NULL; about_data = NULL;
} }
KAboutData* KlipperWidget::about_data; TDEAboutData* KlipperWidget::about_data;
KAboutData* KlipperWidget::aboutData() TDEAboutData* KlipperWidget::aboutData()
{ {
return about_data; return about_data;
} }

@ -31,7 +31,7 @@
class TQClipboard; class TQClipboard;
class KToggleAction; class KToggleAction;
class KAboutData; class TDEAboutData;
class URLGrabber; class URLGrabber;
class ClipboardPoll; class ClipboardPoll;
class TQTime; class TQTime;
@ -69,7 +69,7 @@ public:
static void updateTimestamp(); static void updateTimestamp();
static void createAboutData(); static void createAboutData();
static void destroyAboutData(); static void destroyAboutData();
static KAboutData* aboutData(); static TDEAboutData* aboutData();
public slots: public slots:
void saveSession(); void saveSession();
@ -204,7 +204,7 @@ private:
TQTimer m_pendingCheckTimer; TQTimer m_pendingCheckTimer;
bool m_pendingContentsCheck; bool m_pendingContentsCheck;
ClipboardPoll* poll; ClipboardPoll* poll;
static KAboutData* about_data; static TDEAboutData* about_data;
bool blockFetchingNewData(); bool blockFetchingNewData();
KlipperSessionManaged* session_managed; KlipperSessionManaged* session_managed;

@ -35,8 +35,8 @@ static const char version[] = "1.0";
extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KLocale::setMainCatalogue("kmenuedit"); KLocale::setMainCatalogue("kmenuedit");
KAboutData aboutData("kcontroledit", I18N_NOOP("TDE Control Center Editor"), TDEAboutData aboutData("kcontroledit", I18N_NOOP("TDE Control Center Editor"),
version, description, KAboutData::License_GPL, version, description, TDEAboutData::License_GPL,
"(C) 2000-2004, Waldo Bastian, Raffaele Sandrini, Matthias Elter"); "(C) 2000-2004, Waldo Bastian, Raffaele Sandrini, Matthias Elter");
aboutData.addAuthor("Waldo Bastian", I18N_NOOP("Maintainer"), "bastian@kde.org"); aboutData.addAuthor("Waldo Bastian", I18N_NOOP("Maintainer"), "bastian@kde.org");
aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org"); aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org");

@ -64,8 +64,8 @@ public:
extern "C" int KDE_EXPORT kdemain( int argc, char **argv ) extern "C" int KDE_EXPORT kdemain( int argc, char **argv )
{ {
KAboutData aboutData("kmenuedit", I18N_NOOP("TDE Menu Editor"), TDEAboutData aboutData("kmenuedit", I18N_NOOP("TDE Menu Editor"),
version, description, KAboutData::License_GPL, version, description, TDEAboutData::License_GPL,
"(C) 2000-2003, Waldo Bastian, Raffaele Sandrini, Matthias Elter"); "(C) 2000-2003, Waldo Bastian, Raffaele Sandrini, Matthias Elter");
aboutData.addAuthor("Waldo Bastian", I18N_NOOP("Maintainer"), "bastian@kde.org"); aboutData.addAuthor("Waldo Bastian", I18N_NOOP("Maintainer"), "bastian@kde.org");
aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org"); aboutData.addAuthor("Raffaele Sandrini", I18N_NOOP("Previous Maintainer"), "sandrini@kde.org");

@ -26,9 +26,9 @@
#include "knetattach.h" #include "knetattach.h"
int main(int argc, char **argv) { int main(int argc, char **argv) {
KAboutData about("knetattach", I18N_NOOP("TDE Network Wizard"), "1.0", TDEAboutData about("knetattach", I18N_NOOP("TDE Network Wizard"), "1.0",
I18N_NOOP("TDE Network Wizard"), I18N_NOOP("TDE Network Wizard"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2004 George Staikos"), 0, I18N_NOOP("(c) 2004 George Staikos"), 0,
"http://www.kde.org/"); "http://www.kde.org/");

@ -21,7 +21,7 @@
K_EXPORT_COMPONENT_FACTORY( konq_aboutpage, KonqAboutPageFactory ) K_EXPORT_COMPONENT_FACTORY( konq_aboutpage, KonqAboutPageFactory )
KInstance *KonqAboutPageFactory::s_instance = 0; TDEInstance *KonqAboutPageFactory::s_instance = 0;
TQString *KonqAboutPageFactory::s_launch_html = 0; TQString *KonqAboutPageFactory::s_launch_html = 0;
TQString *KonqAboutPageFactory::s_intro_html = 0; TQString *KonqAboutPageFactory::s_intro_html = 0;
TQString *KonqAboutPageFactory::s_specs_html = 0; TQString *KonqAboutPageFactory::s_specs_html = 0;
@ -31,7 +31,7 @@ TQString *KonqAboutPageFactory::s_plugins_html = 0;
KonqAboutPageFactory::KonqAboutPageFactory( TQObject *parent, const char *name ) KonqAboutPageFactory::KonqAboutPageFactory( TQObject *parent, const char *name )
: KParts::Factory( parent, name ) : KParts::Factory( parent, name )
{ {
s_instance = new KInstance( "konqaboutpage" ); s_instance = new TDEInstance( "konqaboutpage" );
} }
KonqAboutPageFactory::~KonqAboutPageFactory() KonqAboutPageFactory::~KonqAboutPageFactory()

@ -5,7 +5,7 @@
#include <khtml_part.h> #include <khtml_part.h>
class KHTMLPart; class KHTMLPart;
class KInstance; class TDEInstance;
class KonqAboutPageFactory : public KParts::Factory class KonqAboutPageFactory : public KParts::Factory
{ {
@ -17,7 +17,7 @@ public:
TQObject *parent, const char *name, TQObject *parent, const char *name,
const char *classname, const TQStringList &args ); const char *classname, const TQStringList &args );
static KInstance *instance() { return s_instance; } static TDEInstance *instance() { return s_instance; }
static TQString launch(); static TQString launch();
static TQString intro(); static TQString intro();
@ -28,7 +28,7 @@ public:
private: private:
static TQString loadFile( const TQString& file ); static TQString loadFile( const TQString& file );
static KInstance *s_instance; static TDEInstance *s_instance;
static TQString *s_launch_html, *s_intro_html, *s_specs_html, *s_tips_html, *s_plugins_html; static TQString *s_launch_html, *s_intro_html, *s_specs_html, *s_tips_html, *s_plugins_html;
}; };

@ -459,7 +459,7 @@ bool clientApp::doIt()
if ( command == "openURL" || command == "newTab" ) if ( command == "openURL" || command == "newTab" )
{ {
KInstance inst(appName); TDEInstance inst(appName);
if( !TDEApplication::dcopClient()->attach()) if( !TDEApplication::dcopClient()->attach())
{ {
TDEApplication::startKdeinit(); TDEApplication::startKdeinit();
@ -484,7 +484,7 @@ bool clientApp::doIt()
} }
else if ( command == "openProfile" ) else if ( command == "openProfile" )
{ {
KInstance inst(appName); TDEInstance inst(appName);
if( !TDEApplication::dcopClient()->attach()) if( !TDEApplication::dcopClient()->attach())
{ {
TDEApplication::startKdeinit(); TDEApplication::startKdeinit();

@ -82,10 +82,10 @@ public:
return obj; return obj;
} }
static KInstance *instance() static TDEInstance *instance()
{ {
if ( !s_instance ) if ( !s_instance )
s_instance = new KInstance( "konqiconview" ); s_instance = new TDEInstance( "konqiconview" );
return s_instance; return s_instance;
} }
@ -98,11 +98,11 @@ public:
} }
private: private:
static KInstance *s_instance; static TDEInstance *s_instance;
static KonqPropsView *s_defaultViewProps; static KonqPropsView *s_defaultViewProps;
}; };
KInstance *KonqIconViewFactory::s_instance = 0; TDEInstance *KonqIconViewFactory::s_instance = 0;
KonqPropsView *KonqIconViewFactory::s_defaultViewProps = 0; KonqPropsView *KonqIconViewFactory::s_defaultViewProps = 0;

@ -59,9 +59,9 @@ int main( int argc, char**argv )
{ {
const bool kdeRunning = kdeIsRunning(); const bool kdeRunning = kdeIsRunning();
KAboutData aboutData( "kbookmarkmerger", I18N_NOOP( "KBookmarkMerger" ), TDEAboutData aboutData( "kbookmarkmerger", I18N_NOOP( "KBookmarkMerger" ),
"1.0", I18N_NOOP( "Merges bookmarks installed by 3rd parties into the user's bookmarks" ), "1.0", I18N_NOOP( "Merges bookmarks installed by 3rd parties into the user's bookmarks" ),
KAboutData::License_BSD, TDEAboutData::License_BSD,
I18N_NOOP( "Copyright © 2005 Frerich Raabe" ) ); I18N_NOOP( "Copyright © 2005 Frerich Raabe" ) );
aboutData.addAuthor( "Frerich Raabe", I18N_NOOP( "Original author" ), aboutData.addAuthor( "Frerich Raabe", I18N_NOOP( "Original author" ),
"raabe@kde.org" ); "raabe@kde.org" );

@ -114,9 +114,9 @@ static int askUser(TDEApplication &app, TQString filename, bool &readonly) {
extern "C" KDE_EXPORT int kdemain(int argc, char **argv) { extern "C" KDE_EXPORT int kdemain(int argc, char **argv) {
KLocale::setMainCatalogue("konqueror"); KLocale::setMainCatalogue("konqueror");
KAboutData aboutData("keditbookmarks", I18N_NOOP("Bookmark Editor"), VERSION, TDEAboutData aboutData("keditbookmarks", I18N_NOOP("Bookmark Editor"), VERSION,
I18N_NOOP("Konqueror Bookmarks Editor"), I18N_NOOP("Konqueror Bookmarks Editor"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000 - 2003, KDE developers") ); I18N_NOOP("(c) 2000 - 2003, KDE developers") );
aboutData.addAuthor("David Faure", I18N_NOOP("Initial author"), "faure@kde.org"); aboutData.addAuthor("David Faure", I18N_NOOP("Initial author"), "faure@kde.org");
aboutData.addAuthor("Alexander Kellett", I18N_NOOP("Author"), "lypanov@kde.org"); aboutData.addAuthor("Alexander Kellett", I18N_NOOP("Author"), "lypanov@kde.org");

@ -63,7 +63,7 @@ KonqExtensionManager::KonqExtensionManager(TQWidget *parent, KonqMainWindow *mai
// have their config in the same KConfig[Group]. So we can't show konqueror extensions and khtml extensions in the same tab. // have their config in the same KConfig[Group]. So we can't show konqueror extensions and khtml extensions in the same tab.
d->pluginSelector->addPlugins("konqueror", i18n("Extensions"), "Extensions", KGlobal::config()); d->pluginSelector->addPlugins("konqueror", i18n("Extensions"), "Extensions", KGlobal::config());
if ( activePart ) { if ( activePart ) {
KInstance* instance = activePart->instance(); TDEInstance* instance = activePart->instance();
d->pluginSelector->addPlugins(instance->instanceName(), i18n("Tools"), "Tools", instance->config()); d->pluginSelector->addPlugins(instance->instanceName(), i18n("Tools"), "Tools", instance->config());
d->pluginSelector->addPlugins(instance->instanceName(), i18n("Statusbar"), "Statusbar", instance->config()); d->pluginSelector->addPlugins(instance->instanceName(), i18n("Statusbar"), "Statusbar", instance->config());
} }

@ -35,7 +35,7 @@
#include <assert.h> #include <assert.h>
KAboutData *KonqFactory::s_aboutData = 0; TDEAboutData *KonqFactory::s_aboutData = 0;
KonqViewFactory::KonqViewFactory( KLibFactory *factory, const TQStringList &args, KonqViewFactory::KonqViewFactory( KLibFactory *factory, const TQStringList &args,
bool createBrowser ) bool createBrowser )
@ -211,14 +211,14 @@ void KonqFactory::getOffers( const TQString & serviceType,
} }
const KAboutData *KonqFactory::aboutData() const TDEAboutData *KonqFactory::aboutData()
{ {
if (!s_aboutData) if (!s_aboutData)
{ {
s_aboutData = new KAboutData( "konqueror", I18N_NOOP("Konqueror"), s_aboutData = new TDEAboutData( "konqueror", I18N_NOOP("Konqueror"),
KONQUEROR_VERSION, KONQUEROR_VERSION,
I18N_NOOP("Web browser, file manager, ..."), I18N_NOOP("Web browser, file manager, ..."),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2010, The Konqueror developers"), I18N_NOOP("(c) 1999-2010, The Konqueror developers"),
0, 0,
I18N_NOOP("http://konqueror.kde.org") ); I18N_NOOP("http://konqueror.kde.org") );

@ -32,7 +32,7 @@
class BrowserView; class BrowserView;
class KonqMainWindow; class KonqMainWindow;
class KAboutData; class TDEAboutData;
class KonqViewFactory class KonqViewFactory
{ {
@ -77,10 +77,10 @@ public:
KTrader::OfferList *partServiceOffers = 0, KTrader::OfferList *partServiceOffers = 0,
KTrader::OfferList *appServiceOffers = 0); KTrader::OfferList *appServiceOffers = 0);
static const KAboutData* aboutData(); static const TDEAboutData* aboutData();
private: private:
static KAboutData *s_aboutData; static TDEAboutData *s_aboutData;
}; };
#endif #endif

@ -33,7 +33,7 @@ PopupMenuGUIClient::PopupMenuGUIClient( KonqMainWindow *mainWindow,
{ {
//giving a name to each guiclient: just for debugging //giving a name to each guiclient: just for debugging
// (needs delete instance() in the dtor if enabled for good) // (needs delete instance() in the dtor if enabled for good)
//setInstance( new KInstance( "PopupMenuGUIClient" ) ); //setInstance( new TDEInstance( "PopupMenuGUIClient" ) );
m_mainWindow = mainWindow; m_mainWindow = mainWindow;

@ -313,7 +313,7 @@ protected:
const TQString &name, const KURL & defaultURL, bool openURL, bool openAfterCurrentPage = false ); const TQString &name, const KURL & defaultURL, bool openURL, bool openAfterCurrentPage = false );
// Disabled - we do it ourselves // Disabled - we do it ourselves
virtual void setActiveInstance( KInstance * ) {} virtual void setActiveInstance( TDEInstance * ) {}
private: private:

@ -20,7 +20,7 @@
#include <kparts/plugin.h> #include <kparts/plugin.h>
class KURL; class KURL;
class KInstance; class TDEInstance;
/** /**
* KHTML KParts Plugin * KHTML KParts Plugin

@ -72,10 +72,10 @@ KParts::Part* KonqListViewFactory::createPartObject( TQWidget *parentWidget, con
return obj; return obj;
} }
KInstance *KonqListViewFactory::instance() TDEInstance *KonqListViewFactory::instance()
{ {
if ( !s_instance ) if ( !s_instance )
s_instance = new KInstance( "konqlistview" ); s_instance = new TDEInstance( "konqlistview" );
return s_instance; return s_instance;
} }
@ -88,7 +88,7 @@ KonqPropsView *KonqListViewFactory::defaultViewProps()
return s_defaultViewProps; return s_defaultViewProps;
} }
KInstance *KonqListViewFactory::s_instance = 0; TDEInstance *KonqListViewFactory::s_instance = 0;
KonqPropsView *KonqListViewFactory::s_defaultViewProps = 0; KonqPropsView *KonqListViewFactory::s_defaultViewProps = 0;
K_EXPORT_COMPONENT_FACTORY( konq_listview, KonqListViewFactory ) K_EXPORT_COMPONENT_FACTORY( konq_listview, KonqListViewFactory )

@ -46,11 +46,11 @@ public:
virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *, TQObject *parent, const char *name, const char*, const TQStringList &args ); virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *, TQObject *parent, const char *name, const char*, const TQStringList &args );
static KInstance *instance(); static TDEInstance *instance();
static KonqPropsView *defaultViewProps(); static KonqPropsView *defaultViewProps();
private: private:
static KInstance *s_instance; static TDEInstance *s_instance;
static KonqPropsView *s_defaultViewProps; static KonqPropsView *s_defaultViewProps;
}; };

@ -41,7 +41,7 @@ KonqSidebar::KonqSidebar( TQWidget *parentWidget, const char *widgetName,
setWidget(TQT_TQWIDGET(m_widget)); setWidget(TQT_TQWIDGET(m_widget));
} }
KInstance *KonqSidebar::getInstance() TDEInstance *KonqSidebar::getInstance()
{ {
kdDebug() << "KonqSidebar::getInstance()" << endl; kdDebug() << "KonqSidebar::getInstance()" << endl;
return KonqSidebarFactory::instance(); return KonqSidebarFactory::instance();
@ -76,13 +76,13 @@ void KonqSidebar::customEvent(TQCustomEvent* ev)
// It's usually safe to leave the factory code alone.. with the // It's usually safe to leave the factory code alone.. with the
// notable exception of the KAboutData data // notable exception of the TDEAboutData data
#include <kaboutdata.h> #include <kaboutdata.h>
#include <klocale.h> #include <klocale.h>
#include <kinstance.h> #include <kinstance.h>
KInstance* KonqSidebarFactory::s_instance = 0L; TDEInstance* KonqSidebarFactory::s_instance = 0L;
KAboutData* KonqSidebarFactory::s_about = 0L; TDEAboutData* KonqSidebarFactory::s_about = 0L;
KonqSidebarFactory::KonqSidebarFactory() KonqSidebarFactory::KonqSidebarFactory()
: KParts::Factory() : KParts::Factory()
@ -111,13 +111,13 @@ KParts::Part* KonqSidebarFactory::createPartObject( TQWidget *parentWidget, cons
return obj; return obj;
} }
KInstance* KonqSidebarFactory::instance() TDEInstance* KonqSidebarFactory::instance()
{ {
if( !s_instance ) if( !s_instance )
{ {
s_about = new KAboutData("konqsidebartng", I18N_NOOP("Extended Sidebar"), "0.1"); s_about = new TDEAboutData("konqsidebartng", I18N_NOOP("Extended Sidebar"), "0.1");
s_about->addAuthor("Joseph WENNINGER", 0, "jowenn@bigfoot.com"); s_about->addAuthor("Joseph WENNINGER", 0, "jowenn@bigfoot.com");
s_instance = new KInstance(s_about); s_instance = new TDEInstance(s_about);
} }
return s_instance; return s_instance;
} }

@ -90,7 +90,7 @@ public:
virtual bool openURL(const KURL &url); virtual bool openURL(const KURL &url);
KonqSidebarBrowserExtension* extension() const KonqSidebarBrowserExtension* extension() const
{ return m_extension; } { return m_extension; }
KInstance *getInstance(); TDEInstance *getInstance();
virtual bool universalMode() {return m_universalMode;} virtual bool universalMode() {return m_universalMode;}
protected: protected:
/** /**
@ -106,8 +106,8 @@ private:
bool m_universalMode; bool m_universalMode;
}; };
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
class KonqSidebarFactory : public KParts::Factory class KonqSidebarFactory : public KParts::Factory
{ {
@ -119,11 +119,11 @@ public:
virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name, TQObject *parent, const char *name,
const char *classname, const TQStringList &args ); const char *classname, const TQStringList &args );
static KInstance* instance(); static TDEInstance* instance();
private: private:
static KInstance* s_instance; static TDEInstance* s_instance;
static KAboutData* s_about; static TDEAboutData* s_about;
}; };
#endif // KPARTAPPPART_H #endif // KPARTAPPPART_H

@ -22,7 +22,7 @@
#include <kdebug.h> #include <kdebug.h>
KonqSidebarPlugin::KonqSidebarPlugin(KInstance *instance,TQObject *parent, KonqSidebarPlugin::KonqSidebarPlugin(TDEInstance *instance,TQObject *parent,
TQWidget * /*widgetParent*/, TQString &desktopName_, const char* name) TQWidget * /*widgetParent*/, TQString &desktopName_, const char* name)
: TQObject(parent,name), desktopName(desktopName_) : TQObject(parent,name), desktopName(desktopName_)
{ {
@ -31,7 +31,7 @@ KonqSidebarPlugin::KonqSidebarPlugin(KInstance *instance,TQObject *parent,
KonqSidebarPlugin::~KonqSidebarPlugin() { } KonqSidebarPlugin::~KonqSidebarPlugin() { }
KInstance *KonqSidebarPlugin::parentInstance(){return m_parentInstance;} TDEInstance *KonqSidebarPlugin::parentInstance(){return m_parentInstance;}
void KonqSidebarPlugin::openURL(const KURL& url){handleURL(url);} void KonqSidebarPlugin::openURL(const KURL& url){handleURL(url);}

@ -34,17 +34,17 @@ class KDE_EXPORT KonqSidebarPlugin : public TQObject
{ {
Q_OBJECT Q_OBJECT
public: public:
KonqSidebarPlugin(KInstance *instance,TQObject *parent,TQWidget *widgetParent,TQString &desktopName_, const char* name=0); KonqSidebarPlugin(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent,TQString &desktopName_, const char* name=0);
~KonqSidebarPlugin(); ~KonqSidebarPlugin();
virtual TQWidget *getWidget()=0; virtual TQWidget *getWidget()=0;
virtual void *provides(const TQString &)=0; virtual void *provides(const TQString &)=0;
KInstance *parentInstance(); TDEInstance *parentInstance();
protected: protected:
virtual void handleURL(const KURL &url)=0; virtual void handleURL(const KURL &url)=0;
virtual void handlePreview(const KFileItemList & items); virtual void handlePreview(const KFileItemList & items);
virtual void handlePreviewOnMouseOver(const KFileItem &items); //not used yet, perhaps in KDE 3.1 virtual void handlePreviewOnMouseOver(const KFileItem &items); //not used yet, perhaps in KDE 3.1
TQString desktopName; TQString desktopName;
KInstance* m_parentInstance; TDEInstance* m_parentInstance;
private: private:
KonqSidebarPluginPrivate *d; KonqSidebarPluginPrivate *d;

@ -903,8 +903,8 @@ KonqSidebarPlugin *Sidebar_Widget::loadModule(TQWidget *par,TQString &desktopNam
{ {
// create the module // create the module
KonqSidebarPlugin* (*func)(KInstance*,TQObject *, TQWidget*, TQString&, const char *); KonqSidebarPlugin* (*func)(TDEInstance*,TQObject *, TQWidget*, TQString&, const char *);
func = (KonqSidebarPlugin* (*)(KInstance*,TQObject *, TQWidget *, TQString&, const char *)) create; func = (KonqSidebarPlugin* (*)(TDEInstance*,TQObject *, TQWidget *, TQString&, const char *)) create;
TQString fullPath(m_path+desktopName); TQString fullPath(m_path+desktopName);
return (KonqSidebarPlugin*)func(getInstance(),bi,par,fullPath,0); return (KonqSidebarPlugin*)func(getInstance(),bi,par,fullPath,0);
} }
@ -1084,7 +1084,7 @@ void Sidebar_Widget::dockWidgetHasUndocked(KDockWidget* wid)
} }
} }
KInstance *Sidebar_Widget::getInstance() TDEInstance *Sidebar_Widget::getInstance()
{ {
return ((KonqSidebar*)m_partParent)->getInstance(); return ((KonqSidebar*)m_partParent)->getInstance();
} }

@ -137,7 +137,7 @@ signals:
public: public:
/* interface KonqSidebar_PluginInterface*/ /* interface KonqSidebar_PluginInterface*/
KInstance *getInstance(); TDEInstance *getInstance();
// virtual void showError(TQString &); for later extension // virtual void showError(TQString &); for later extension
// virtual void showMessage(TQString &); for later extension // virtual void showMessage(TQString &); for later extension
/* end of interface implementation */ /* end of interface implementation */

@ -19,7 +19,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void* create_konq_sidebartest(KInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) KDE_EXPORT void* create_konq_sidebartest(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{ {
return new SidebarTest(instance,par,widp,desktopname,name); return new SidebarTest(instance,par,widp,desktopname,name);
} }

@ -24,7 +24,7 @@ class SidebarTest : public KonqSidebarPlugin
{ {
Q_OBJECT Q_OBJECT
public: public:
SidebarTest(KInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0): SidebarTest(TDEInstance *inst,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0):
KonqSidebarPlugin(inst,parent,widgetParent,desktopName_,name) KonqSidebarPlugin(inst,parent,widgetParent,desktopName_,name)
{ {
widget=new TQLabel("Init Value",widgetParent); widget=new TQLabel("Init Value",widgetParent);

@ -14,7 +14,7 @@
#include <tqvbox.h> #include <tqvbox.h>
#include <tqapplication.h> #include <tqapplication.h>
KonqSidebar_Tree::KonqSidebar_Tree(KInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name): KonqSidebar_Tree::KonqSidebar_Tree(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name):
KonqSidebarPlugin(instance,parent,widgetParent,desktopName_,name) KonqSidebarPlugin(instance,parent,widgetParent,desktopName_,name)
{ {
KSimpleConfig ksc(desktopName_); KSimpleConfig ksc(desktopName_);
@ -124,7 +124,7 @@ void KonqSidebar_Tree::rename()
extern "C" extern "C"
{ {
KDE_EXPORT void* create_konqsidebar_tree(KInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) KDE_EXPORT void* create_konqsidebar_tree(TDEInstance *inst,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name)
{ {
return new KonqSidebar_Tree(inst,par,widp,desktopname,name); return new KonqSidebar_Tree(inst,par,widp,desktopname,name);
} }

@ -18,7 +18,7 @@ class KonqSidebar_Tree: public KonqSidebarPlugin
{ {
Q_OBJECT Q_OBJECT
public: public:
KonqSidebar_Tree(KInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0); KonqSidebar_Tree(TDEInstance *instance,TQObject *parent,TQWidget *widgetParent, TQString &desktopName_, const char* name=0);
~KonqSidebar_Tree(); ~KonqSidebar_Tree();
virtual void *provides(const TQString &); virtual void *provides(const TQString &);
// void emitStatusBarText (const TQString &); // void emitStatusBarText (const TQString &);

@ -32,7 +32,7 @@
#include <kstandarddirs.h> #include <kstandarddirs.h>
KonqSideBarWebModule::KonqSideBarWebModule(KInstance *instance, TQObject *parent, TQWidget *widgetParent, TQString &desktopName, const char* name) KonqSideBarWebModule::KonqSideBarWebModule(TDEInstance *instance, TQObject *parent, TQWidget *widgetParent, TQString &desktopName, const char* name)
: KonqSidebarPlugin(instance, parent, widgetParent, desktopName, name) : KonqSidebarPlugin(instance, parent, widgetParent, desktopName, name)
{ {
_htmlPart = new KHTMLSideBar(universalMode()); _htmlPart = new KHTMLSideBar(universalMode());
@ -182,7 +182,7 @@ void KonqSideBarWebModule::pageLoaded() {
extern "C" { extern "C" {
KDE_EXPORT KonqSidebarPlugin* create_konqsidebar_web(KInstance *instance, TQObject *parent, TQWidget *widget, TQString &desktopName, const char *name) { KDE_EXPORT KonqSidebarPlugin* create_konqsidebar_web(TDEInstance *instance, TQObject *parent, TQWidget *widget, TQString &desktopName, const char *name) {
return new KonqSideBarWebModule(instance, parent, widget, desktopName, name); return new KonqSideBarWebModule(instance, parent, widget, desktopName, name);
} }
} }

@ -166,7 +166,7 @@ class KonqSideBarWebModule : public KonqSidebarPlugin
{ {
Q_OBJECT Q_OBJECT
public: public:
KonqSideBarWebModule(KInstance *instance, TQObject *parent, KonqSideBarWebModule(TDEInstance *instance, TQObject *parent,
TQWidget *widgetParent, TQString &desktopName, TQWidget *widgetParent, TQString &desktopName,
const char *name); const char *name);
virtual ~KonqSideBarWebModule(); virtual ~KonqSideBarWebModule();

@ -57,8 +57,8 @@ K_EXPORT_COMPONENT_FACTORY( libkonsolepart, konsoleFactory )
/** /**
* We need one static instance of the factory for our C 'main' function * We need one static instance of the factory for our C 'main' function
*/ */
KInstance *konsoleFactory::s_instance = 0L; TDEInstance *konsoleFactory::s_instance = 0L;
KAboutData *konsoleFactory::s_aboutData = 0; TDEAboutData *konsoleFactory::s_aboutData = 0;
konsoleFactory::konsoleFactory() konsoleFactory::konsoleFactory()
{ {
@ -85,12 +85,12 @@ KParts::Part *konsoleFactory::createPartObject(TQWidget *parentWidget, const cha
return obj; return obj;
} }
KInstance *konsoleFactory::instance() TDEInstance *konsoleFactory::instance()
{ {
if ( !s_instance ) if ( !s_instance )
{ {
s_aboutData = new KAboutData("konsole", I18N_NOOP("Konsole"), "1.5"); s_aboutData = new TDEAboutData("konsole", I18N_NOOP("Konsole"), "1.5");
s_instance = new KInstance( s_aboutData ); s_instance = new TDEInstance( s_aboutData );
} }
return s_instance; return s_instance;
} }

@ -32,7 +32,7 @@
#include "schema.h" #include "schema.h"
#include "session.h" #include "session.h"
class KInstance; class TDEInstance;
class konsoleBrowserExtension; class konsoleBrowserExtension;
class TQPushButton; class TQPushButton;
class TQSpinBox; class TQSpinBox;
@ -57,11 +57,11 @@ public:
const char* classname = "KParts::Part", const char* classname = "KParts::Part",
const TQStringList &args = TQStringList()); const TQStringList &args = TQStringList());
static KInstance *instance(); static TDEInstance *instance();
private: private:
static KInstance *s_instance; static TDEInstance *s_instance;
static KAboutData *s_aboutData; static TDEAboutData *s_aboutData;
}; };
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

@ -162,8 +162,8 @@ extern "C" int KDE_EXPORT kdemain(int argc, char* argv[])
bool scrollbaron = true; bool scrollbaron = true;
bool showtip = true; bool showtip = true;
KAboutData aboutData( "konsole", I18N_NOOP("Konsole"), TDEAboutData aboutData( "konsole", I18N_NOOP("Konsole"),
KONSOLE_VERSION, description, KAboutData::License_GPL_V2, KONSOLE_VERSION, description, TDEAboutData::License_GPL_V2,
"Copyright (c) 1997-2006, Lars Doelle"); "Copyright (c) 1997-2006, Lars Doelle");
aboutData.addAuthor("Robert Knight",I18N_NOOP("Maintainer"), "robertknight@gmail.com"); aboutData.addAuthor("Robert Knight",I18N_NOOP("Maintainer"), "robertknight@gmail.com");
aboutData.addAuthor("Lars Doelle",I18N_NOOP("Author"), "lars.doelle@on-line.de"); aboutData.addAuthor("Lars Doelle",I18N_NOOP("Author"), "lars.doelle@on-line.de");

@ -64,8 +64,8 @@ public:
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData *aboutdata = new KAboutData("kpager", "KPager", "1.5", TDEAboutData *aboutdata = new TDEAboutData("kpager", "KPager", "1.5",
I18N_NOOP("Desktop Overview"), KAboutData::License_GPL, I18N_NOOP("Desktop Overview"), TDEAboutData::License_GPL,
"(C) 1998-2002, Antonio Larrosa Jimenez","", "(C) 1998-2002, Antonio Larrosa Jimenez","",
"http://developer.kde.org/~larrosa/kpager.html"); "http://developer.kde.org/~larrosa/kpager.html");

@ -35,8 +35,8 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData( "kpersonalizer", I18N_NOOP("KPersonalizer"), TDEAboutData aboutData( "kpersonalizer", I18N_NOOP("KPersonalizer"),
VERSION, description, KAboutData::License_GPL, VERSION, description, TDEAboutData::License_GPL,
"(c) 2001, Ralf Nolden", 0, 0, "nolden@kde.org"); "(c) 2001, Ralf Nolden", 0, 0, "nolden@kde.org");
aboutData.addAuthor("Ralf Nolden",0, "nolden@kde.org"); aboutData.addAuthor("Ralf Nolden",0, "nolden@kde.org");
aboutData.addAuthor("Carsten Wolff",0, "wolff@kde.org"); aboutData.addAuthor("Carsten Wolff",0, "wolff@kde.org");

@ -43,10 +43,10 @@ static KCmdLineOptions options[] =
}; };
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData aboutData("kreadconfig", I18N_NOOP("KReadConfig"), TDEAboutData aboutData("kreadconfig", I18N_NOOP("KReadConfig"),
"1.0.1", "1.0.1",
I18N_NOOP("Read KConfig entries - for use in shell scripts"), I18N_NOOP("Read KConfig entries - for use in shell scripts"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 2001 Red Hat, Inc."); "(c) 2001 Red Hat, Inc.");
aboutData.addAuthor("Bernhard Rosenkraenzer", 0, "bero@redhat.com"); aboutData.addAuthor("Bernhard Rosenkraenzer", 0, "bero@redhat.com");
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
@ -64,7 +64,7 @@ int main(int argc, char **argv)
return 1; return 1;
} }
KInstance inst(&aboutData); TDEInstance inst(&aboutData);
KGlobal::config(); KGlobal::config();
KConfig *konfig; KConfig *konfig;

@ -25,10 +25,10 @@ static KCmdLineOptions options[] =
}; };
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData aboutData("kwriteconfig", I18N_NOOP("KWriteConfig"), TDEAboutData aboutData("kwriteconfig", I18N_NOOP("KWriteConfig"),
"1.0.0", "1.0.0",
I18N_NOOP("Write KConfig entries - for use in shell scripts"), I18N_NOOP("Write KConfig entries - for use in shell scripts"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 2001 Red Hat, Inc. & Lu<4C>s Pedro Coelho"); "(c) 2001 Red Hat, Inc. & Lu<4C>s Pedro Coelho");
aboutData.addAuthor("Lu<EFBFBD>s Pedro Coelho", 0, "luis_pedro@netcabo.pt"); aboutData.addAuthor("Lu<EFBFBD>s Pedro Coelho", 0, "luis_pedro@netcabo.pt");
aboutData.addAuthor("Bernhard Rosenkraenzer", "Wrote kreadconfig on which this is based", "bero@redhat.com"); aboutData.addAuthor("Bernhard Rosenkraenzer", "Wrote kreadconfig on which this is based", "bero@redhat.com");
@ -48,7 +48,7 @@ int main(int argc, char **argv)
} }
TQCString value = args->arg( 0 ); TQCString value = args->arg( 0 );
KInstance inst(&aboutData); TDEInstance inst(&aboutData);
KConfig *konfig; KConfig *konfig;
if (file.isEmpty()) if (file.isEmpty())

@ -46,8 +46,8 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData about("krootbacking", I18N_NOOP("krootbacking"), version, description, TDEAboutData about("krootbacking", I18N_NOOP("krootbacking"), version, description,
KAboutData::License_GPL, "(C) 2011 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net"); TDEAboutData::License_GPL, "(C) 2011 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net");
about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" ); about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -180,8 +180,8 @@ extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] )
{ {
sanity_check(argc, argv); sanity_check(argc, argv);
KAboutData aboutData( "ksmserver", I18N_NOOP("The TDE Session Manager"), TDEAboutData aboutData( "ksmserver", I18N_NOOP("The TDE Session Manager"),
version, description, KAboutData::License_BSD, version, description, TDEAboutData::License_BSD,
"(C) 2000, The KDE Developers"); "(C) 2000, The KDE Developers");
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org"); aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
aboutData.addAuthor("Luboš Luňák", I18N_NOOP( "Maintainer" ), "l.lunak@kde.org" ); aboutData.addAuthor("Luboš Luňák", I18N_NOOP( "Maintainer" ), "l.lunak@kde.org" );

@ -7,7 +7,7 @@
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
KAboutData about("kapptest", "kapptest", "version"); TDEAboutData about("kapptest", "kapptest", "version");
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDEApplication a; TDEApplication a;

@ -60,11 +60,11 @@ KSplashThemeMgr::KSplashThemeMgr( TQWidget *parent, const char *name, const TQSt
box->addWidget(mInstaller); box->addWidget(mInstaller);
#endif #endif
connect( mInstaller, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) ); connect( mInstaller, TQT_SIGNAL(changed(bool)), TQT_SIGNAL(changed(bool)) );
KAboutData *about = new KAboutData( "kcmksplash" TDEAboutData *about = new TDEAboutData( "kcmksplash"
,I18N_NOOP("TDE splash screen theme manager") ,I18N_NOOP("TDE splash screen theme manager")
,"0.1" ,"0.1"
,0 ,0
,KAboutData::License_GPL ,TDEAboutData::License_GPL
,I18N_NOOP("(c) 2003 KDE developers") ); ,I18N_NOOP("(c) 2003 KDE developers") );
about->addAuthor("Ravikiran Rajagopal", 0, "ravi@ee.eng.ohio-state.edu"); about->addAuthor("Ravikiran Rajagopal", 0, "ravi@ee.eng.ohio-state.edu");
about->addCredit("Brian Ledbetter", I18N_NOOP("Original KSplash/ML author"), "brian@shadowcom.net"); about->addCredit("Brian Ledbetter", I18N_NOOP("Original KSplash/ML author"), "brian@shadowcom.net");

@ -39,12 +39,12 @@ static KCmdLineOptions options[] = {
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData about( TDEAboutData about(
"ksplash", "ksplash",
I18N_NOOP("KSplash"), I18N_NOOP("KSplash"),
VERSION, VERSION,
I18N_NOOP("Trinity splash screen"), I18N_NOOP("Trinity splash screen"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 - 2003, Flaming Sword Productions\n (c) 2003 KDE developers"), I18N_NOOP("(c) 2001 - 2003, Flaming Sword Productions\n (c) 2003 KDE developers"),
"http://www.kde.org"); "http://www.kde.org");
about.addAuthor( "Ravikiran Rajagopal", I18N_NOOP("Author and maintainer"), "ravi@ee.eng.ohio-state.edu" ); about.addAuthor( "Ravikiran Rajagopal", I18N_NOOP("Author and maintainer"), "ravi@ee.eng.ohio-state.edu" );

@ -286,12 +286,12 @@ static KCmdLineOptions options[] =
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
// David, 05/03/2000 // David, 05/03/2000
KAboutData aboutData( "kstart", I18N_NOOP("KStart"), KSTART_VERSION, TDEAboutData aboutData( "kstart", I18N_NOOP("KStart"), KSTART_VERSION,
I18N_NOOP("" I18N_NOOP(""
"Utility to launch applications with special window properties \n" "Utility to launch applications with special window properties \n"
"such as iconified, maximized, a certain virtual desktop, a special decoration\n" "such as iconified, maximized, a certain virtual desktop, a special decoration\n"
"and so on." ), "and so on." ),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(C) 1997-2000 Matthias Ettrich (ettrich@kde.org)" ); "(C) 1997-2000 Matthias Ettrich (ettrich@kde.org)" );
aboutData.addAuthor( "Matthias Ettrich", 0, "ettrich@kde.org" ); aboutData.addAuthor( "Matthias Ettrich", 0, "ettrich@kde.org" );

@ -553,8 +553,8 @@ int main( int argc, char** argv )
close( initpipe[ 0 ] ); close( initpipe[ 0 ] );
setsid(); setsid();
KAboutData aboutData( "ksysguard", I18N_NOOP( "TDE System Guard" ), TDEAboutData aboutData( "ksysguard", I18N_NOOP( "TDE System Guard" ),
KSYSGUARD_VERSION, Description, KAboutData::License_GPL, KSYSGUARD_VERSION, Description, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 1996-2002 The KSysGuard Developers" ) ); I18N_NOOP( "(c) 1996-2002 The KSysGuard Developers" ) );
aboutData.addAuthor( "Chris Schlaeger", "Current Maintainer", "cs@kde.org" ); aboutData.addAuthor( "Chris Schlaeger", "Current Maintainer", "cs@kde.org" );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -48,10 +48,10 @@ static KCmdLineOptions options[] =
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
KAboutData aboutData( "ksystraycmd", I18N_NOOP( "KSysTrayCmd" ), TDEAboutData aboutData( "ksystraycmd", I18N_NOOP( "KSysTrayCmd" ),
"KSysTrayCmd 0.1", "KSysTrayCmd 0.1",
I18N_NOOP( "Allows any application to be kept in the system tray" ), I18N_NOOP( "Allows any application to be kept in the system tray" ),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(C) 2001-2002 Richard Moore (rich@kde.org)" ); "(C) 2001-2002 Richard Moore (rich@kde.org)" );
aboutData.addAuthor( "Richard Moore", 0, "rich@kde.org" ); aboutData.addAuthor( "Richard Moore", 0, "rich@kde.org" );

@ -33,8 +33,8 @@ static const char description[] = I18N_NOOP("Useful tips");
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData("ktip", I18N_NOOP("KTip"), TDEAboutData aboutData("ktip", I18N_NOOP("KTip"),
"0.3", description, KAboutData::License_GPL, "0.3", description, TDEAboutData::License_GPL,
"(c) 1998-2002, KDE Developers"); "(c) 1998-2002, KDE Developers");
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
KUniqueApplication::addCmdLineOptions(); KUniqueApplication::addCmdLineOptions();

@ -374,8 +374,8 @@ const char * DESCRIPTION =
extern "C" KDE_EXPORT int kdemain(int argc, char *argv[]) extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
{ {
KAboutData about("kxkb", I18N_NOOP("TDE Keyboard Tool"), "1.0", TDEAboutData about("kxkb", I18N_NOOP("TDE Keyboard Tool"), "1.0",
DESCRIPTION, KAboutData::License_LGPL, DESCRIPTION, TDEAboutData::License_LGPL,
"Copyright (C) 2001, S.R.Haque\n(C) 2002-2003, 2006 Andriy Rysin"); "Copyright (C) 2001, S.R.Haque\n(C) 2002-2003, 2006 Andriy Rysin");
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
KXKBApp::addCmdLineOptions(); KXKBApp::addCmdLineOptions();

@ -72,7 +72,7 @@ struct KonqPropsView::Private
TQString sortcriterion; TQString sortcriterion;
}; };
KonqPropsView::KonqPropsView( KInstance * instance, KonqPropsView * defaultProps ) KonqPropsView::KonqPropsView( TDEInstance * instance, KonqPropsView * defaultProps )
: m_bSaveViewPropertiesLocally( false ), // will be overridden by setSave... anyway : m_bSaveViewPropertiesLocally( false ), // will be overridden by setSave... anyway
// if this is the default properties instance, then keep config object for saving // if this is the default properties instance, then keep config object for saving
m_dotDirExists( true ), // HACK so that enterDir returns true initially m_dotDirExists( true ), // HACK so that enterDir returns true initially

@ -26,7 +26,7 @@
#include <kurl.h> #include <kurl.h>
#include <libkonq_export.h> #include <libkonq_export.h>
class KInstance; class TDEInstance;
class KConfigBase; class KConfigBase;
class KConfig; class KConfig;
@ -51,7 +51,7 @@ public:
* is the one used by a view, and its value can differ from the default ones. * is the one used by a view, and its value can differ from the default ones.
* The instance parameter should be the same for both... * The instance parameter should be the same for both...
*/ */
KonqPropsView( KInstance * instance, KonqPropsView * defaultProps /*= 0L*/ ); KonqPropsView( TDEInstance * instance, KonqPropsView * defaultProps /*= 0L*/ );
/** Destructor */ /** Destructor */
virtual ~KonqPropsView(); virtual ~KonqPropsView();

@ -145,7 +145,7 @@ void NSPluginCallback::evalJavaScript( int id, TQString script )
* We need one static instance of the factory for our C 'main' * We need one static instance of the factory for our C 'main'
* function * function
*/ */
KInstance *PluginFactory::s_instance = 0L; TDEInstance *PluginFactory::s_instance = 0L;
PluginFactory::PluginFactory() PluginFactory::PluginFactory()
@ -182,18 +182,18 @@ KParts::Part * PluginFactory::createPartObject(TQWidget *parentWidget, const cha
} }
KInstance *PluginFactory::instance() TDEInstance *PluginFactory::instance()
{ {
kdDebug(1432) << "PluginFactory::instance" << endl; kdDebug(1432) << "PluginFactory::instance" << endl;
if ( !s_instance ) if ( !s_instance )
s_instance = new KInstance( aboutData() ); s_instance = new TDEInstance( aboutData() );
return s_instance; return s_instance;
} }
KAboutData *PluginFactory::aboutData() TDEAboutData *PluginFactory::aboutData()
{ {
KAboutData *about = new KAboutData("plugin", I18N_NOOP("plugin"), "1.99"); TDEAboutData *about = new TDEAboutData("plugin", I18N_NOOP("plugin"), "1.99");
return about; return about;
} }

@ -31,8 +31,8 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqguardedptr.h> #include <tqguardedptr.h>
class KAboutData; class TDEAboutData;
class KInstance; class TDEInstance;
class PluginBrowserExtension; class PluginBrowserExtension;
class PluginLiveConnectExtension; class PluginLiveConnectExtension;
class TQLabel; class TQLabel;
@ -72,12 +72,12 @@ public:
const char *classname = "KParts::Part", const char *classname = "KParts::Part",
const TQStringList &args = TQStringList()); const TQStringList &args = TQStringList());
static KInstance *instance(); static TDEInstance *instance();
static KAboutData *aboutData(); static TDEAboutData *aboutData();
private: private:
static KInstance *s_instance; static TDEInstance *s_instance;
class NSPluginLoader *_loader; class NSPluginLoader *_loader;
}; };

@ -525,8 +525,8 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "nspluginscan", I18N_NOOP("nspluginscan"), TDEAboutData aboutData( "nspluginscan", I18N_NOOP("nspluginscan"),
"0.3", "nspluginscan", KAboutData::License_GPL, "0.3", "nspluginscan", TDEAboutData::License_GPL,
"(c) 2000,2001 by Stefan Schimanski" ); "(c) 2000,2001 by Stefan Schimanski" );
KLocale::setMainCatalogue("nsplugin"); KLocale::setMainCatalogue("nsplugin");

@ -51,8 +51,8 @@ int main(int argc, char **argv)
{ {
int return_code = -1; int return_code = -1;
KAboutData about("tdeinit_displayconfig", I18N_NOOP("tdeinit_displayconfig"), version, description, TDEAboutData about("tdeinit_displayconfig", I18N_NOOP("tdeinit_displayconfig"), version, description,
KAboutData::License_GPL, "(C) 2013 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net"); TDEAboutData::License_GPL, "(C) 2013 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net");
about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" ); about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -47,8 +47,8 @@ int main(int argc, char **argv)
{ {
int return_code = -1; int return_code = -1;
KAboutData about("tdeinit_phase1", I18N_NOOP("tdeinit_phase1"), version, description, TDEAboutData about("tdeinit_phase1", I18N_NOOP("tdeinit_phase1"), version, description,
KAboutData::License_GPL, "(C) 2012 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net"); TDEAboutData::License_GPL, "(C) 2012 Timothy Pearson", 0, 0, "kb9vqf@pearsoncomputing.net");
about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" ); about.addAuthor( "Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -35,7 +35,7 @@ static KCmdLineOptions options[] = {
extern "C" int KDE_EXPORT kdemain(int argc, char *argv[]) extern "C" int KDE_EXPORT kdemain(int argc, char *argv[])
{ {
KAboutData aboutData("kjobviewer",I18N_NOOP("KJobViewer"),"0.1",I18N_NOOP("A print job viewer"),KAboutData::License_GPL,"(c) 2001, Michael Goffioul", 0, "http://printing.kde.org"); TDEAboutData aboutData("kjobviewer",I18N_NOOP("KJobViewer"),"0.1",I18N_NOOP("A print job viewer"),TDEAboutData::License_GPL,"(c) 2001, Michael Goffioul", 0, "http://printing.kde.org");
aboutData.addAuthor("Michael Goffioul",0,"tdeprint@swing.be"); aboutData.addAuthor("Michael Goffioul",0,"tdeprint@swing.be");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions(options); TDECmdLineArgs::addCmdLineOptions(options);

@ -47,9 +47,9 @@ KCMPrintMgr::KCMPrintMgr(TQWidget *parent, const char *name, const TQStringList
main_->addWidget(m_mainview); main_->addWidget(m_mainview);
main_->activate(); main_->activate();
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmprintmgr"), I18N_NOOP("TDE Printing Management"), new TDEAboutData(I18N_NOOP("kcmprintmgr"), I18N_NOOP("TDE Printing Management"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2000 - 2002 Michael Goffioul")); I18N_NOOP("(c) 2000 - 2002 Michael Goffioul"));
about->addAuthor("Michael Goffioul", 0, "tdeprint@swing.be"); about->addAuthor("Michael Goffioul", 0, "tdeprint@swing.be");
setAboutData(about); setAboutData(about);

@ -135,7 +135,7 @@ TQString buildGroupTable(DrGroup *grp, bool showHeader = true)
int kdemain(int argc, char **argv) int kdemain(int argc, char **argv)
{ {
KInstance instance("kio_print"); TDEInstance instance("kio_print");
PRINT_DEBUG << "starting ioslave" << endl; PRINT_DEBUG << "starting ioslave" << endl;
if (argc != 4) if (argc != 4)
@ -145,8 +145,8 @@ int kdemain(int argc, char **argv)
} }
/* create fake KApplicatiom object, needed for job stuffs */ /* create fake KApplicatiom object, needed for job stuffs */
KAboutData about( "kio_print", "kio_print", "fake_version", TDEAboutData about( "kio_print", "kio_print", "fake_version",
"TDEPrint IO slave", KAboutData::License_GPL, "(c) 2003, Michael Goffioul" ); "TDEPrint IO slave", TDEAboutData::License_GPL, "(c) 2003, Michael Goffioul" );
TDECmdLineArgs::init( &about ); TDECmdLineArgs::init( &about );
TDEApplication app; TDEApplication app;

@ -54,9 +54,9 @@ PrintPart::~PrintPart()
{ {
} }
KAboutData *PrintPart::createAboutData() TDEAboutData *PrintPart::createAboutData()
{ {
return new KAboutData(I18N_NOOP("tdeprint_part"), I18N_NOOP("A Konqueror Plugin for Print Management"), "0.1"); return new TDEAboutData(I18N_NOOP("tdeprint_part"), I18N_NOOP("A Konqueror Plugin for Print Management"), "0.1");
} }
bool PrintPart::openFile() bool PrintPart::openFile()

@ -25,7 +25,7 @@
class PrintPartExtension; class PrintPartExtension;
class KMMainView; class KMMainView;
class KAboutData; class TDEAboutData;
class PrintPart : public KParts::ReadOnlyPart class PrintPart : public KParts::ReadOnlyPart
{ {
@ -36,7 +36,7 @@ public:
const TQStringList & ); const TQStringList & );
virtual ~PrintPart(); virtual ~PrintPart();
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
protected: protected:
bool openFile(); bool openFile();

@ -47,8 +47,8 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData( "tdeprintfax", I18N_NOOP("KdeprintFax"), TDEAboutData aboutData( "tdeprintfax", I18N_NOOP("KdeprintFax"),
"1.0", description, KAboutData::License_GPL, "1.0", description, TDEAboutData::License_GPL,
"(c), 2001 Michael Goffioul", 0, "http://printing.kde.org"); "(c), 2001 Michael Goffioul", 0, "http://printing.kde.org");
aboutData.addAuthor("Michael Goffioul",0, "tdeprint@swing.be"); aboutData.addAuthor("Michael Goffioul",0, "tdeprint@swing.be");
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -97,9 +97,9 @@ int main(int argc, char *argv[])
if (duser && duser[0]) if (duser && duser[0])
options[3].def = duser; options[3].def = duser;
KAboutData aboutData("tdesu", I18N_NOOP("TDE su"), TDEAboutData aboutData("tdesu", I18N_NOOP("TDE su"),
Version, I18N_NOOP("Runs a program with elevated privileges."), Version, I18N_NOOP("Runs a program with elevated privileges."),
KAboutData::License_Artistic, TDEAboutData::License_Artistic,
"Copyright (c) 1998-2000 Geert Jansen, Pietro Iglio"); "Copyright (c) 1998-2000 Geert Jansen, Pietro Iglio");
aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"), aboutData.addAuthor("Geert Jansen", I18N_NOOP("Maintainer"),
"jansen@kde.org", "http://www.stack.nl/~geertj/"); "jansen@kde.org", "http://www.stack.nl/~geertj/");

@ -251,14 +251,14 @@ int main(int argc, char *argv[])
{ {
prctl(PR_SET_DUMPABLE, 0); prctl(PR_SET_DUMPABLE, 0);
KAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"), TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"),
Version, I18N_NOOP("Daemon used by tdesu"), Version, I18N_NOOP("Daemon used by tdesu"),
KAboutData::License_Artistic, TDEAboutData::License_Artistic,
"Copyright (c) 1999,2000 Geert Jansen"); "Copyright (c) 1999,2000 Geert Jansen");
aboutData.addAuthor("Geert Jansen", I18N_NOOP("Author"), aboutData.addAuthor("Geert Jansen", I18N_NOOP("Author"),
"jansen@kde.org", "http://www.stack.nl/~geertj/"); "jansen@kde.org", "http://www.stack.nl/~geertj/");
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
KInstance instance(&aboutData); TDEInstance instance(&aboutData);
// Set core dump size to 0 // Set core dump size to 0
struct rlimit rlim; struct rlimit rlim;

@ -20,7 +20,7 @@ int main( int argc, char* argv[] )
{ {
if( argc != 2 ) if( argc != 2 )
return 1; return 1;
KInstance inst( "twin_update_default_rules" ); TDEInstance inst( "twin_update_default_rules" );
TQString file = locate( "data", TQString( "twin/default_rules/" ) + argv[ 1 ] ); TQString file = locate( "data", TQString( "twin/default_rules/" ) + argv[ 1 ] );
if( file.isEmpty()) if( file.isEmpty())
{ {

@ -155,7 +155,7 @@ void writeRules( KConfig& cfg )
int main() int main()
{ {
KInstance inst( "twin_update_window_settings" ); TDEInstance inst( "twin_update_window_settings" );
KConfig src_cfg( "twinrc" ); KConfig src_cfg( "twinrc" );
KConfig dest_cfg( "twinrulesrc" ); KConfig dest_cfg( "twinrulesrc" );
loadFakeSessionInfo( &src_cfg ); loadFakeSessionInfo( &src_cfg );

@ -378,10 +378,10 @@ KWinDecorationModule::KWinDecorationModule(TQWidget* parent, const char* name, c
// Allow twin dcop signal to update our selection list // Allow twin dcop signal to update our selection list
connectDCOPSignal("twin", 0, "dcopResetAllClients()", "dcopUpdateClientList()", false); connectDCOPSignal("twin", 0, "dcopResetAllClients()", "dcopUpdateClientList()", false);
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmtwindecoration"), new TDEAboutData(I18N_NOOP("kcmtwindecoration"),
I18N_NOOP("Window Decoration Control Module"), I18N_NOOP("Window Decoration Control Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 2001 Karol Szwed")); I18N_NOOP("(c) 2001 Karol Szwed"));
about->addAuthor("Karol Szwed", 0, "gallium@kde.org"); about->addAuthor("Karol Szwed", 0, "gallium@kde.org");
setAboutData(about); setAboutData(about);

@ -122,9 +122,9 @@ KWinOptions::KWinOptions(TQWidget *parent, const char *name)
tab->addTab(mTranslucency, i18n("&Translucency")); tab->addTab(mTranslucency, i18n("&Translucency"));
connect(mTranslucency, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool))); connect(mTranslucency, TQT_SIGNAL(changed(bool)), this, TQT_SLOT(moduleChanged(bool)));
KAboutData *about = TDEAboutData *about =
new KAboutData(I18N_NOOP("kcmtwinoptions"), I18N_NOOP("Window Behavior Configuration Module"), new TDEAboutData(I18N_NOOP("kcmtwinoptions"), I18N_NOOP("Window Behavior Configuration Module"),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1997 - 2002 KWin and KControl Authors")); I18N_NOOP("(c) 1997 - 2002 KWin and KControl Authors"));
about->addAuthor("Matthias Ettrich",0,"ettrich@kde.org"); about->addAuthor("Matthias Ettrich",0,"ettrich@kde.org");

@ -46,9 +46,9 @@ KCMRules::KCMRules( TQWidget *parent, const char *name )
widget = new KCMRulesList( this ); widget = new KCMRulesList( this );
layout->addWidget( TQT_TQWIDGET(widget) ); layout->addWidget( TQT_TQWIDGET(widget) );
connect( widget, TQT_SIGNAL( changed( bool )), TQT_SLOT( moduleChanged( bool ))); connect( widget, TQT_SIGNAL( changed( bool )), TQT_SLOT( moduleChanged( bool )));
KAboutData *about = new KAboutData(I18N_NOOP( "kcmtwinrules" ), TDEAboutData *about = new TDEAboutData(I18N_NOOP( "kcmtwinrules" ),
I18N_NOOP( "Window-Specific Settings Configuration Module" ), I18N_NOOP( "Window-Specific Settings Configuration Module" ),
0, 0, KAboutData::License_GPL, I18N_NOOP( "(c) 2004 KWin and KControl Authors" )); 0, 0, TDEAboutData::License_GPL, I18N_NOOP( "(c) 2004 KWin and KControl Authors" ));
about->addAuthor("Lubos Lunak",0,"l.lunak@kde.org"); about->addAuthor("Lubos Lunak",0,"l.lunak@kde.org");
setAboutData(about); setAboutData(about);
} }

@ -24,7 +24,7 @@
#include <kconfig.h> #include <kconfig.h>
class KConfig; class KConfig;
class KAboutData; class TDEAboutData;
namespace KWinInternal namespace KWinInternal
{ {

@ -309,8 +309,8 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
KGlobal::locale()->setMainCatalogue("twin"); KGlobal::locale()->setMainCatalogue("twin");
KAboutData aboutData( "twin", I18N_NOOP("TWin"), TDEAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, KAboutData::License_GPL, version, description, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2005, The KDE Developers")); I18N_NOOP("(c) 1999-2005, The KDE Developers"));
aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org"); aboutData.addAuthor("Matthias Ettrich",0, "ettrich@kde.org");
aboutData.addAuthor("Cristian Tibirna",0, "tibirna@kde.org"); aboutData.addAuthor("Cristian Tibirna",0, "tibirna@kde.org");

@ -101,7 +101,7 @@ int main(int argc, char** argv)
{ {
TQString style = "keramik"; TQString style = "keramik";
// TDEApplication app(argc, argv); // TDEApplication app(argc, argv);
KAboutData about("decobenchmark", "DecoBenchmark", "0.1", "twin decoration performance tester...", KAboutData::License_LGPL, "(C) 2005 Sandro Giessl"); TDEAboutData about("decobenchmark", "DecoBenchmark", "0.1", "twin decoration performance tester...", TDEAboutData::License_LGPL, "(C) 2005 Sandro Giessl");
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

Loading…
Cancel
Save