Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/21/head
Timothy Pearson 11 years ago
parent 12c8a23fe7
commit 5fc6f26e12

@ -29,7 +29,7 @@
namespace Akregator { namespace Akregator {
AboutData::AboutData() AboutData::AboutData()
: KAboutData("akregator", I18N_NOOP("Akregator"), AKREGATOR_VERSION, I18N_NOOP("A TDE Feed Aggregator"), : TDEAboutData("akregator", I18N_NOOP("Akregator"), AKREGATOR_VERSION, I18N_NOOP("A TDE Feed Aggregator"),
License_GPL, I18N_NOOP("(C) 2004, 2005 Akregator developers"), 0, License_GPL, I18N_NOOP("(C) 2004, 2005 Akregator developers"), 0,
"http://akregator.kde.org/") "http://akregator.kde.org/")
{ {

@ -34,7 +34,7 @@ namespace Akregator {
/** /**
@author Teemu Rytilahti @author Teemu Rytilahti
*/ */
class KDE_EXPORT AboutData : public KAboutData class KDE_EXPORT AboutData : public TDEAboutData
{ {
public: public:
AboutData(); AboutData();

@ -766,14 +766,14 @@ void Part::addFeed()
m_view->slotFeedAdd(); m_view->slotFeedAdd();
} }
KAboutData *Part::createAboutData() TDEAboutData *Part::createAboutData()
{ {
return new Akregator::AboutData; return new Akregator::AboutData;
} }
void Part::showKNotifyOptions() void Part::showKNotifyOptions()
{ {
KAboutData* about = new Akregator::AboutData; TDEAboutData* about = new Akregator::AboutData;
KNotifyDialog::configure(m_view, "akregator_knotify_config", about); KNotifyDialog::configure(m_view, "akregator_knotify_config", about);
delete about; delete about;
} }
@ -934,7 +934,7 @@ bool Part::tryToLock(const TQString& backendName)
appName = "akregator"; appName = "akregator";
TQString programName; TQString programName;
const KAboutData *about = kapp->aboutData(); const TDEAboutData *about = kapp->aboutData();
if ( about ) if ( about )
programName = about->programName(); programName = about->programName();
if ( programName.isEmpty() ) if ( programName.isEmpty() )

@ -37,7 +37,7 @@
class TQDomDocument; class TQDomDocument;
class TQTimer; class TQTimer;
class KAboutData; class TDEAboutData;
class KConfig; class KConfig;
class KURL; class KURL;
@ -88,8 +88,8 @@ namespace Akregator
/** Destructor. */ /** Destructor. */
virtual ~Part(); virtual ~Part();
/** Create KAboutData for this KPart. */ /** Create TDEAboutData for this KPart. */
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
/** /**
Opens feedlist Opens feedlist

@ -58,7 +58,7 @@ void Tester::slotLoadingComplete( Loader *loader, Document doc, Status status )
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testlibrss", "testlibrss", "0.1" ); TDEAboutData aboutData( "testlibrss", "testlibrss", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication app; TDEApplication app;

@ -52,7 +52,7 @@ NotificationManager::~NotificationManager()
m_self = 0; m_self = 0;
} }
void NotificationManager::setWidget(TQWidget* widget, KInstance* inst) void NotificationManager::setWidget(TQWidget* widget, TDEInstance* inst)
{ {
m_widget = widget; m_widget = widget;
m_instance = inst != NULL ? inst : KGlobal::instance(); m_instance = inst != NULL ? inst : KGlobal::instance();

@ -44,7 +44,7 @@ class NotificationManager : public TQObject
~NotificationManager(); ~NotificationManager();
/** the widget used for notification, normally either the mainwindow or the tray icon */ /** the widget used for notification, normally either the mainwindow or the tray icon */
void setWidget(TQWidget* widget, KInstance* inst=0); void setWidget(TQWidget* widget, TDEInstance* inst=0);
public slots: public slots:
@ -74,7 +74,7 @@ class NotificationManager : public TQObject
bool m_running; bool m_running;
bool m_addedInLastInterval; bool m_addedInLastInterval;
TQWidget* m_widget; TQWidget* m_widget;
KInstance* m_instance; TDEInstance* m_instance;
TQValueList<Article> m_articles; TQValueList<Article> m_articles;

@ -76,7 +76,7 @@ static const about_data credits[] = {
AboutData::AboutData() AboutData::AboutData()
: KAboutData( "kleopatra", I18N_NOOP("Kleopatra"), : TDEAboutData( "kleopatra", I18N_NOOP("Kleopatra"),
kleopatra_version, description, License_GPL, kleopatra_version, description, License_GPL,
"(c) 2002 Steffen Hansen, Jesper Pedersen,\n" "(c) 2002 Steffen Hansen, Jesper Pedersen,\n"
"Kalle Dalheimer, Klar\xC3\xA4lvdalens Datakonsult AB\n\n" "Kalle Dalheimer, Klar\xC3\xA4lvdalens Datakonsult AB\n\n"

@ -35,7 +35,7 @@
#include <kaboutdata.h> #include <kaboutdata.h>
class AboutData : public KAboutData { class AboutData : public TDEAboutData {
public: public:
AboutData(); AboutData();
}; };

@ -56,7 +56,7 @@ static const about_data credits[] = {
#endif #endif
AboutData::AboutData() AboutData::AboutData()
: KAboutData( "kwatchgnupg", I18N_NOOP("KWatchGnuPG"), : TDEAboutData( "kwatchgnupg", I18N_NOOP("KWatchGnuPG"),
kwatchgnupg_version, description, License_GPL, kwatchgnupg_version, description, License_GPL,
"(c) 2004 Klar\xC3\xA4lvdalens Datakonsult AB\n" ) "(c) 2004 Klar\xC3\xA4lvdalens Datakonsult AB\n" )
{ {

@ -35,7 +35,7 @@
#include <kaboutdata.h> #include <kaboutdata.h>
class AboutData : public KAboutData { class AboutData : public TDEAboutData {
public: public:
AboutData(); AboutData();
}; };

@ -42,7 +42,7 @@ using namespace std;
int main( int argc, char** argv ) { int main( int argc, char** argv ) {
KAboutData aboutData( "test_cryptoconfig", "CryptoConfig Test", "0.1" ); TDEAboutData aboutData( "test_cryptoconfig", "CryptoConfig Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app( false, false ); TDEApplication app( false, false );

@ -119,7 +119,7 @@ int main( int argc, char** argv ) {
kdDebug() << "Need at least two arguments" << endl; kdDebug() << "Need at least two arguments" << endl;
return 1; return 1;
} }
KAboutData aboutData( "test_gnupgprocessbase", "GnuPGProcessBase Test", "0.1" ); TDEAboutData aboutData( "test_gnupgprocessbase", "GnuPGProcessBase Test", "0.1" );
TDECmdLineArgs::init( &aboutData ); TDECmdLineArgs::init( &aboutData );
TDEApplication app; TDEApplication app;

@ -100,7 +100,7 @@ int main( int argc, char** argv ) {
protocol = argv[1]; protocol = argv[1];
argc = 1; // hide from KDE argc = 1; // hide from KDE
} }
KAboutData aboutData( "test_jobs", "Signing Job Test", "0.1" ); TDEAboutData aboutData( "test_jobs", "Signing Job Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -146,7 +146,7 @@ int main( int argc, char** argv ) {
protocol = argv[1]; protocol = argv[1];
argc = 1; // hide from KDE argc = 1; // hide from KDE
} }
KAboutData aboutData( "test_keygen", "KeyGenerationJob Test", "0.1" ); TDEAboutData aboutData( "test_keygen", "KeyGenerationJob Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -130,7 +130,7 @@ void CertListView::slotStart() {
int main( int argc, char** argv ) { int main( int argc, char** argv ) {
KAboutData aboutData( "test_keylister", "KeyLister Test", "0.1" ); TDEAboutData aboutData( "test_keylister", "KeyLister Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -44,7 +44,7 @@
#include <vector> #include <vector>
int main( int argc, char ** argv ) { int main( int argc, char ** argv ) {
KAboutData aboutData( "test_keyselectiondialog", "KeySelectionDialog Test", "0.1" ); TDEAboutData aboutData( "test_keyselectiondialog", "KeySelectionDialog Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -53,7 +53,7 @@ int main( int argc, char **argv )
setenv("LC_ALL", "C", 1); setenv("LC_ALL", "C", 1);
setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-unit-test" ), 1); setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.tde-unit-test" ), 1);
KAboutData aboutData( "test_verify", "verify job test", "0.1" ); TDEAboutData aboutData( "test_verify", "verify job test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app( false, false ); TDEApplication app( false, false );

@ -8,7 +8,7 @@
int main( int argc, char ** argv ) int main( int argc, char ** argv )
{ {
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1"); TDEAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -72,7 +72,7 @@ int main( int argc, char **argv )
{ {
TDEApplication::disableAutoDcopRegistration(); TDEApplication::disableAutoDcopRegistration();
KAboutData aboutData( "kabcdistlistupdater", "Converter tool for distribution lists", "0.1" ); TDEAboutData aboutData( "kabcdistlistupdater", "Converter tool for distribution lists", "0.1" );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -45,7 +45,7 @@ XXPort::XXPort( KABC::AddressBook *ab, TQWidget *parent,
: TQObject( parent, name ), mAddressBook( ab ), mParentWidget( parent ), : TQObject( parent, name ), mAddressBook( ab ), mParentWidget( parent ),
d( new XXPortPrivate ) d( new XXPortPrivate )
{ {
setInstance( new KInstance( "kaddressbook" ) ); setInstance( new TDEInstance( "kaddressbook" ) );
d->mExportMapper = new TQSignalMapper( this ); d->mExportMapper = new TQSignalMapper( this );
d->mImportMapper = new TQSignalMapper( this ); d->mImportMapper = new TQSignalMapper( this );

@ -310,11 +310,11 @@ TQWidget *KABCore::widget() const
return mWidget; return mWidget;
} }
KAboutData *KABCore::createAboutData() TDEAboutData *KABCore::createAboutData()
{ {
KAboutData *about = new KAboutData( "kaddressbook", I18N_NOOP( "KAddressBook" ), TDEAboutData *about = new TDEAboutData( "kaddressbook", I18N_NOOP( "KAddressBook" ),
"3.5.13", I18N_NOOP( "The TDE Address Book" ), "3.5.13", I18N_NOOP( "The TDE Address Book" ),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
I18N_NOOP( "(c) 2008-2010, The Trinity Team\n(c) 1997-2005, The KDE PIM Team" ) ); I18N_NOOP( "(c) 2008-2010, The Trinity Team\n(c) 1997-2005, The KDE PIM Team" ) );
about->addAuthor( "Timothy Pearson", I18N_NOOP( "Current maintainer" ), "kb9vqf@pearsoncomputing.net" ); about->addAuthor( "Timothy Pearson", I18N_NOOP( "Current maintainer" ), "kb9vqf@pearsoncomputing.net" );
about->addAuthor( "Tobias Koenig", I18N_NOOP( "Previous maintainer" ), "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", I18N_NOOP( "Previous maintainer" ), "tokoe@kde.org" );

@ -46,7 +46,7 @@ class CategoryEditDialog;
class CategorySelectDialog; class CategorySelectDialog;
} }
class KAboutData; class TDEAboutData;
class KAction; class KAction;
class KActionCollection; class KActionCollection;
class KConfig; class KConfig;
@ -138,7 +138,7 @@ class KDE_EXPORT KABCore : public KAB::Core
*/ */
TQWidget *widget() const; TQWidget *widget() const;
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
void setStatusBar( KStatusBar *statusBar ); void setStatusBar( KStatusBar *statusBar );

@ -77,7 +77,7 @@ KAddressbookPart::~KAddressbookPart()
closeURL(); closeURL();
} }
KAboutData *KAddressbookPart::createAboutData() TDEAboutData *KAddressbookPart::createAboutData()
{ {
return KABCore::createAboutData(); return KABCore::createAboutData();
} }

@ -29,8 +29,8 @@
#include "kaddressbookiface.h" #include "kaddressbookiface.h"
class KAboutData; class TDEAboutData;
class KInstance; class TDEInstance;
class KABCore; class KABCore;
@ -44,7 +44,7 @@ class KAddressbookPart: public KParts::ReadOnlyPart, virtual public KAddressBook
TQObject *parent, const char *name, const TQStringList& ); TQObject *parent, const char *name, const TQStringList& );
virtual ~KAddressbookPart(); virtual ~KAddressbookPart();
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
virtual void saveToProfile( const TQString& path ) const; virtual void saveToProfile( const TQString& path ) const;
virtual void loadProfile( const TQString& path ); virtual void loadProfile( const TQString& path );

@ -51,9 +51,9 @@ KCMKabConfig::KCMKabConfig( TQWidget *parent, const char *name )
load(); load();
KAboutData *about = new KAboutData( I18N_NOOP( "kcmkabconfig" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkabconfig" ),
I18N_NOOP( "KAddressBook Configure Dialog" ), I18N_NOOP( "KAddressBook Configure Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2003 - 2004 Tobias Koenig" ) ); I18N_NOOP( "(c), 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -52,9 +52,9 @@ KCMKabLdapConfig::KCMKabLdapConfig( TQWidget *parent, const char *name )
load(); load();
KAboutData *about = new KAboutData( I18N_NOOP( "kcmkabldapconfig" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkabldapconfig" ),
I18N_NOOP( "KAB LDAP Configure Dialog" ), I18N_NOOP( "KAB LDAP Configure Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2003 - 2004 Tobias Koenig" ) ); I18N_NOOP( "(c), 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -39,8 +39,8 @@ static const KCmdLineOptions options[] =
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
KAboutData aboutData(DAEMON_APP_NAME, I18N_NOOP("KAlarm Daemon"), TDEAboutData aboutData(DAEMON_APP_NAME, I18N_NOOP("KAlarm Daemon"),
DAEMON_VERSION, I18N_NOOP("KAlarm Alarm Daemon"), KAboutData::License_GPL, DAEMON_VERSION, I18N_NOOP("KAlarm Alarm Daemon"), TDEAboutData::License_GPL,
"Copyright 1997-1999 Preston Brown\nCopyright 2000-2001 Cornelius Schumacher\nCopyright 2001,2004-2007 David Jarvie", 0, "Copyright 1997-1999 Preston Brown\nCopyright 2000-2001 Cornelius Schumacher\nCopyright 2001,2004-2007 David Jarvie", 0,
"http://www.astrojar.org.uk/kalarm"); "http://www.astrojar.org.uk/kalarm");
aboutData.addAuthor("David Jarvie", I18N_NOOP("Maintainer"), "software@astrojar.org.uk"); aboutData.addAuthor("David Jarvie", I18N_NOOP("Maintainer"), "software@astrojar.org.uk");

@ -107,9 +107,9 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData(PROGRAM_NAME, I18N_NOOP("KAlarm"), KALARM_VERSION, TDEAboutData aboutData(PROGRAM_NAME, I18N_NOOP("KAlarm"), KALARM_VERSION,
I18N_NOOP("Personal alarm message, command and email scheduler for TDE"), I18N_NOOP("Personal alarm message, command and email scheduler for TDE"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"Copyright 2001-2007, David Jarvie", 0, "http://www.astrojar.org.uk/kalarm"); "Copyright 2001-2007, David Jarvie", 0, "http://www.astrojar.org.uk/kalarm");
aboutData.addAuthor("David Jarvie", 0, "software@astrojar.org.uk"); aboutData.addAuthor("David Jarvie", 0, "software@astrojar.org.uk");

@ -87,8 +87,8 @@ void initModem(Modem *modem)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData about("kandy", I18N_NOOP("Kandy"), version, description, TDEAboutData about("kandy", I18N_NOOP("Kandy"), version, description,
KAboutData::License_GPL, "(C) 2001 Cornelius Schumacher",0, TDEAboutData::License_GPL, "(C) 2001 Cornelius Schumacher",0,
"http://kandy.kde.org/"); "http://kandy.kde.org/");
about.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); about.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
about.addAuthor( "Heiko Falk", 0, "hf2@ls12.cs.uni-dortmund.de" ); about.addAuthor( "Heiko Falk", 0, "hf2@ls12.cs.uni-dortmund.de" );

@ -367,12 +367,12 @@ void karmPart::fileSaveAs()
// 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>
KInstance* karmPartFactory::s_instance = 0L; TDEInstance* karmPartFactory::s_instance = 0L;
KAboutData* karmPartFactory::s_about = 0L; TDEAboutData* karmPartFactory::s_about = 0L;
karmPartFactory::karmPartFactory() karmPartFactory::karmPartFactory()
: KParts::Factory() : KParts::Factory()
@ -401,13 +401,13 @@ KParts::Part* karmPartFactory::createPartObject( TQWidget *parentWidget, const c
return obj; return obj;
} }
KInstance* karmPartFactory::instance() TDEInstance* karmPartFactory::instance()
{ {
if( !s_instance ) if( !s_instance )
{ {
s_about = new KAboutData("karmpart", I18N_NOOP("karmPart"), "0.1"); s_about = new TDEAboutData("karmpart", I18N_NOOP("karmPart"), "0.1");
s_about->addAuthor("Thorsten Staerk", 0, "thorsten@staerk.de"); s_about->addAuthor("Thorsten Staerk", 0, "thorsten@staerk.de");
s_instance = new KInstance(s_about); s_instance = new TDEInstance(s_about);
} }
return s_instance; return s_instance;
} }

@ -116,8 +116,8 @@ protected slots:
void startNewSession(); void startNewSession();
}; };
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
class karmPartFactory : public KParts::Factory class karmPartFactory : public KParts::Factory
{ {
@ -129,11 +129,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 // _KARMPART_H_ #endif // _KARMPART_H_

@ -27,8 +27,8 @@ static const KCmdLineOptions options[] =
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
KAboutData aboutData( "karm", I18N_NOOP("KArm"), TDEAboutData aboutData( "karm", I18N_NOOP("KArm"),
KARM_VERSION, description, KAboutData::License_GPL, KARM_VERSION, description, TDEAboutData::License_GPL,
"(c) 1997-2004, KDE PIM Developers" ); "(c) 1997-2004, KDE PIM Developers" );
aboutData.addAuthor( "Mark Bucciarelli", I18N_NOOP( "Current Maintainer" ), aboutData.addAuthor( "Mark Bucciarelli", I18N_NOOP( "Current Maintainer" ),

@ -109,7 +109,7 @@ kdemain (int argc, char **argv)
{ {
kdDebug(7116) << "IMAP4::kdemain" << endl; kdDebug(7116) << "IMAP4::kdemain" << endl;
KInstance instance ("kio_imap4"); TDEInstance instance ("kio_imap4");
if (argc != 4) if (argc != 4)
{ {
fprintf(stderr, "Usage: kio_imap4 protocol domain-socket1 domain-socket2\n"); fprintf(stderr, "Usage: kio_imap4 protocol domain-socket1 domain-socket2\n");

@ -43,7 +43,7 @@ extern "C" { KDE_EXPORT int kdemain(int argc, char* argv[]); }
int kdemain( int argc, char * argv[] ) int kdemain( int argc, char * argv[] )
{ {
KLocale::setMainCatalogue("tdelibs"); KLocale::setMainCatalogue("tdelibs");
KInstance instance("kio_mbox"); TDEInstance instance("kio_mbox");
(void) KGlobal::locale(); (void) KGlobal::locale();
if (argc != 4) { if (argc != 4) {

@ -69,7 +69,7 @@ KDE_EXPORT int kdemain( int argc, char **argv );
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_OpenGroupware" ); TDEInstance instance( "kio_OpenGroupware" );
kdDebug(7000) << "Starting kio_OpenGroupware(pid: " << getpid() << ")" << endl; kdDebug(7000) << "Starting kio_OpenGroupware(pid: " << getpid() << ")" << endl;

@ -82,7 +82,7 @@ extern "C"
{ {
KDE_EXPORT int kdemain(int argc, char **argv) KDE_EXPORT int kdemain(int argc, char **argv)
{ {
KInstance instance("kio_sieve" ); TDEInstance instance("kio_sieve" );
ksDebug() << "*** Starting kio_sieve " << endl; ksDebug() << "*** Starting kio_sieve " << endl;

@ -34,7 +34,7 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData *about = MainWidget::aboutData(); TDEAboutData *about = MainWidget::aboutData();
TDECmdLineArgs::init( argc, argv, about ); TDECmdLineArgs::init( argc, argv, about );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -72,11 +72,11 @@ KXMLGUIClient *MainWidget::guiClient() const
return mGUIClient; return mGUIClient;
} }
KAboutData *MainWidget::aboutData() TDEAboutData *MainWidget::aboutData()
{ {
KAboutData *about = new KAboutData( "kitchensync", I18N_NOOP( "KitchenSync" ), TDEAboutData *about = new TDEAboutData( "kitchensync", I18N_NOOP( "KitchenSync" ),
"0.1", I18N_NOOP( "The TDE Syncing Application" ), "0.1", I18N_NOOP( "The TDE Syncing Application" ),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
I18N_NOOP( "(c) 2005, The KDE PIM Team" ) ); I18N_NOOP( "(c) 2005, The KDE PIM Team" ) );
about->addAuthor( "Tobias Koenig", I18N_NOOP( "Current maintainer" ), "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", I18N_NOOP( "Current maintainer" ), "tokoe@kde.org" );
about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );

@ -25,7 +25,7 @@
#include <tqwidget.h> #include <tqwidget.h>
class KAboutData; class TDEAboutData;
class KAction; class KAction;
class KXMLGUIClient; class KXMLGUIClient;
class GroupView; class GroupView;
@ -45,7 +45,7 @@ class KDE_EXPORT MainWidget : public TQWidget
~MainWidget(); ~MainWidget();
virtual KXMLGUIClient *guiClient() const; virtual KXMLGUIClient *guiClient() const;
static KAboutData *aboutData(); static TDEAboutData *aboutData();
public slots: public slots:
void addGroup(); void addGroup();

@ -58,7 +58,7 @@ KitchenSyncPart::~KitchenSyncPart()
closeURL(); closeURL();
} }
KAboutData *KitchenSyncPart::createAboutData() TDEAboutData *KitchenSyncPart::createAboutData()
{ {
return MainWidget::aboutData(); return MainWidget::aboutData();
} }

@ -25,7 +25,7 @@
#include <kparts/factory.h> #include <kparts/factory.h>
#include <kparts/part.h> #include <kparts/part.h>
class KAboutData; class TDEAboutData;
class KitchenSyncPart: public KParts::ReadOnlyPart class KitchenSyncPart: public KParts::ReadOnlyPart
{ {
@ -37,7 +37,7 @@ class KitchenSyncPart: public KParts::ReadOnlyPart
TQObject *parent, const char *name, const TQStringList& ); TQObject *parent, const char *name, const TQStringList& );
virtual ~KitchenSyncPart(); virtual ~KitchenSyncPart();
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
virtual void exit(); virtual void exit();
virtual bool openURL( const KURL &url ); virtual bool openURL( const KURL &url );

@ -209,7 +209,7 @@ namespace KMail {
}; };
AboutData::AboutData() AboutData::AboutData()
: KAboutData( "kmail", I18N_NOOP("KMail"),KMAIL_VERSION, : TDEAboutData( "kmail", I18N_NOOP("KMail"),KMAIL_VERSION,
I18N_NOOP("TDE Email Client"), License_GPL, I18N_NOOP("TDE Email Client"), License_GPL,
I18N_NOOP("(c) 1997-2008, The KMail developers"), 0, I18N_NOOP("(c) 1997-2008, The KMail developers"), 0,
"http://kontact.kde.org/kmail/" ) "http://kontact.kde.org/kmail/" )

@ -37,7 +37,7 @@
namespace KMail { namespace KMail {
class KDE_EXPORT AboutData : public KAboutData { class KDE_EXPORT AboutData : public TDEAboutData {
public: public:
AboutData(); AboutData();
~AboutData(); ~AboutData();

@ -15,7 +15,7 @@ int main(int argc,char **argv)
{ {
kdDebug(5006) << "Test KMail DCOP interface." << endl; kdDebug(5006) << "Test KMail DCOP interface." << endl;
KAboutData aboutData( "testKMailDCOP", TDEAboutData aboutData( "testKMailDCOP",
"Test for KMail DCOP interface", "0.0" ); "Test for KMail DCOP interface", "0.0" );
TDECmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
TDEApplication app; TDEApplication app;

@ -165,7 +165,7 @@ KMailPart::~KMailPart()
KMail::cleanup(); // pid file (see kmstartup.cpp) KMail::cleanup(); // pid file (see kmstartup.cpp)
} }
KAboutData *KMailPart::createAboutData() TDEAboutData *KMailPart::createAboutData()
{ {
return new KMail::AboutData(); return new KMail::AboutData();
} }

@ -37,8 +37,8 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tdepimmacros.h> #include <tdepimmacros.h>
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
class KMailStatusBarExtension; class KMailStatusBarExtension;
class KMKernel; class KMKernel;
class KMMainWidget; class KMMainWidget;
@ -60,7 +60,7 @@ class KDE_EXPORT KMailPart: public KParts::ReadOnlyPart, virtual public KMailPar
TQWidget* parentWidget() const; TQWidget* parentWidget() const;
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
public slots: public slots:
virtual void save() { /*TODO*/ } virtual void save() { /*TODO*/ }

@ -59,7 +59,7 @@ namespace KPIM {
class KMKernel; class KMKernel;
class KProcess; class KProcess;
class KProgressDialog; class KProgressDialog;
class KInstance; class TDEInstance;
class TQTimer; class TQTimer;
class KProgress; class KProgress;
class KPassivePopup; class KPassivePopup;
@ -291,8 +291,8 @@ public:
*/ */
KMFolder* findFolderById( const TQString& idString ); KMFolder* findFolderById( const TQString& idString );
KInstance *xmlGuiInstance() { return mXmlGuiInstance; } TDEInstance *xmlGuiInstance() { return mXmlGuiInstance; }
void setXmlGuiInstance( KInstance *instance ) { mXmlGuiInstance = instance; } void setXmlGuiInstance( TDEInstance *instance ) { mXmlGuiInstance = instance; }
KMFolder *inboxFolder() { return the_inboxFolder; } KMFolder *inboxFolder() { return the_inboxFolder; }
KMFolder *outboxFolder() { return the_outboxFolder; } KMFolder *outboxFolder() { return the_outboxFolder; }
@ -489,7 +489,7 @@ private:
static KMKernel *mySelf; static KMKernel *mySelf;
KSharedConfig::Ptr mConfig; KSharedConfig::Ptr mConfig;
TQTextCodec *netCodec; TQTextCodec *netCodec;
KInstance* mXmlGuiInstance; TDEInstance* mXmlGuiInstance;
ConfigureDialog *mConfigureDialog; ConfigureDialog *mConfigureDialog;
TQTimer *mBackgroundTasksTimer; TQTimer *mBackgroundTasksTimer;

@ -142,7 +142,7 @@ void lockOrDie() {
appName = "kmail"; appName = "kmail";
TQString programName; TQString programName;
const KAboutData *about = kapp->aboutData(); const TDEAboutData *about = kapp->aboutData();
if ( about ) if ( about )
programName = about->programName(); programName = about->programName();
if ( programName.isEmpty() ) if ( programName.isEmpty() )

@ -90,7 +90,7 @@ void Composer::slotClose()
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testrecipienteditor", TDEAboutData aboutData( "testrecipienteditor",
"Test Recipient Editor", "0.1" ); "Test Recipient Editor", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -30,8 +30,8 @@ int main(int argc, char *argv[])
{ {
KLocale::setMainCatalogue("kmailcvt"); KLocale::setMainCatalogue("kmailcvt");
KAboutData aboutData( "kmailcvt", I18N_NOOP("KMailCVT"), TDEAboutData aboutData( "kmailcvt", I18N_NOOP("KMailCVT"),
"3", I18N_NOOP("KMail Import Filters"), KAboutData::License_GPL_V2, "3", I18N_NOOP("KMail Import Filters"), TDEAboutData::License_GPL_V2,
I18N_NOOP("(c) 2000-2005, The KMailCVT developers")); I18N_NOOP("(c) 2000-2005, The KMailCVT developers"));
aboutData.addAuthor("Hans Dijkema",I18N_NOOP("Original author"), "kmailcvt@hum.org"); aboutData.addAuthor("Hans Dijkema",I18N_NOOP("Original author"), "kmailcvt@hum.org");
aboutData.addAuthor("Danny Kukawka", I18N_NOOP("Maintainer & New filters"), "danny.kukawka@web.de"); aboutData.addAuthor("Danny Kukawka", I18N_NOOP("Maintainer & New filters"), "danny.kukawka@web.de");

@ -47,7 +47,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_mobile" ); TDEInstance instance( "kio_mobile" );
PRINT_DEBUG << "Starting " << getpid() << endl; PRINT_DEBUG << "Starting " << getpid() << endl;

@ -37,8 +37,8 @@ static KCmdLineOptions options[] =
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData about("kmobile", I18N_NOOP("KMobile"), version, description, TDEAboutData about("kmobile", I18N_NOOP("KMobile"), version, description,
KAboutData::License_GPL, "(C) 2003-2005 Helge Deller", 0, 0, "deller@kde.org"); TDEAboutData::License_GPL, "(C) 2003-2005 Helge Deller", 0, 0, "deller@kde.org");
about.addAuthor( "Helge Deller", 0, "deller@kde.org" ); about.addAuthor( "Helge Deller", 0, "deller@kde.org" );
TDECmdLineArgs::init(argc, argv, &about); TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions(options); TDECmdLineArgs::addCmdLineOptions(options);

@ -42,11 +42,11 @@ namespace KNode
}; };
AboutData::AboutData() AboutData::AboutData()
: KAboutData( "knode", : TDEAboutData( "knode",
I18N_NOOP("KNode"), I18N_NOOP("KNode"),
KNODE_VERSION, KNODE_VERSION,
I18N_NOOP("A newsreader for TDE"), I18N_NOOP("A newsreader for TDE"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("Copyright (c) 1999-2005 the KNode authors"), I18N_NOOP("Copyright (c) 1999-2005 the KNode authors"),
0, 0,
"http://knode.sourceforge.net/" ) "http://knode.sourceforge.net/" )

@ -22,7 +22,7 @@
namespace KNode namespace KNode
{ {
class KDE_EXPORT AboutData : public KAboutData class KDE_EXPORT AboutData : public TDEAboutData
{ {
public: public:
AboutData(); AboutData();

@ -22,7 +22,7 @@
#include <tdepimmacros.h> #include <tdepimmacros.h>
class KInstance; class TDEInstance;
class KNConfigManager; class KNConfigManager;
class KNNetAccess; class KNNetAccess;
class KNProgress; class KNProgress;
@ -63,7 +63,7 @@ class KDE_EXPORT KNGlobals {
KNArticleFactory *artFactory; KNArticleFactory *artFactory;
Kpgp::Module *pgp; Kpgp::Module *pgp;
KConfig *config(); KConfig *config();
KInstance *instance; TDEInstance *instance;
KNConfigManager *configManager(); KNConfigManager *configManager();
KNNetAccess *netAccess(); KNNetAccess *netAccess();

@ -94,7 +94,7 @@ KNodePart::~KNodePart()
mainWidget->prepareShutdown(); mainWidget->prepareShutdown();
} }
KAboutData *KNodePart::createAboutData() TDEAboutData *KNodePart::createAboutData()
{ {
return new KNode::AboutData(); return new KNode::AboutData();
} }

@ -33,8 +33,8 @@
#include <tqwidget.h> #include <tqwidget.h>
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
class ActionManager; class ActionManager;
class KNMainWidget; class KNMainWidget;
@ -50,7 +50,7 @@ class KNodePart: public KParts::ReadOnlyPart
TQWidget* parentWidget() const; TQWidget* parentWidget() const;
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
protected: protected:
virtual bool openFile(); virtual bool openFile();

@ -816,7 +816,7 @@ ChangeLog for KNotes
2000/01/30 Charles Samuels <charles@kde.org> 2000/01/30 Charles Samuels <charles@kde.org>
This is my daily huge commit for KAboutData. There are also patches for This is my daily huge commit for TDEAboutData. There are also patches for
TDECmdLineArgs (so it works). Ktop is really doing bad folks. TDECmdLineArgs (so it works). Ktop is really doing bad folks.
2000/01/03 Espen Sand <espen@kde.org> 2000/01/03 Espen Sand <espen@kde.org>

@ -90,12 +90,12 @@ int main( int argc, char* argv[] )
{ {
TQString version = TQString::number( KNOTES_VERSION ); TQString version = TQString::number( KNOTES_VERSION );
KAboutData aboutData( TDEAboutData aboutData(
"knotes", "knotes",
I18N_NOOP("KNotes"), I18N_NOOP("KNotes"),
version.latin1(), version.latin1(),
I18N_NOOP( "TDE Notes" ), I18N_NOOP( "TDE Notes" ),
KAboutData::License_GPL, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1997-2006, The KNotes Developers") I18N_NOOP("(c) 1997-2006, The KNotes Developers")
); );

@ -415,7 +415,7 @@ int create( TDECmdLineArgs *args )
main.addArgument( "char **argv" ); main.addArgument( "char **argv" );
code.clear(); code.clear();
code += "KAboutData aboutData(\"test\",\"Test\",\"0.1\");"; code += "TDEAboutData aboutData(\"test\",\"Test\",\"0.1\");";
code += "TDECmdLineArgs::init(argc,argv,&aboutData);"; code += "TDECmdLineArgs::init(argc,argv,&aboutData);";
code += "TDECmdLineArgs::addCmdLineOptions( options );"; code += "TDECmdLineArgs::addCmdLineOptions( options );";
code += ""; code += "";
@ -490,7 +490,7 @@ int create( TDECmdLineArgs *args )
code.clear(); code.clear();
code += "KInstance instance( \"kio_" + protocol + "\" );"; code += "TDEInstance instance( \"kio_" + protocol + "\" );";
code += ""; code += "";
code += "kdDebug(7000) << \"Starting kio_" + protocol + "(pid: \" << getpid() << \")\" << endl;"; code += "kdDebug(7000) << \"Starting kio_" + protocol + "(pid: \" << getpid() << \")\" << endl;";
code += ""; code += "";
@ -609,7 +609,7 @@ int create( TDECmdLineArgs *args )
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData( "kode", I18N_NOOP("TDE Code Generator"), "0.1" ); TDEAboutData aboutData( "kode", I18N_NOOP("TDE Code Generator"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -37,9 +37,9 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "kung", I18N_NOOP( "TDE WSDL Interpreter" ), "0.1", TDEAboutData aboutData( "kung", I18N_NOOP( "TDE WSDL Interpreter" ), "0.1",
I18N_NOOP( "TDE WSDL Interpreter" ), I18N_NOOP( "TDE WSDL Interpreter" ),
KAboutData::License_LGPL ); TDEAboutData::License_LGPL );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -43,9 +43,9 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "kwsdl_compiler", I18N_NOOP( "TDE wsdl compiler" ), "0.1", TDEAboutData aboutData( "kwsdl_compiler", I18N_NOOP( "TDE wsdl compiler" ), "0.1",
I18N_NOOP( "TDE WSDL Compiler" ), I18N_NOOP( "TDE WSDL Compiler" ),
KAboutData::License_LGPL ); TDEAboutData::License_LGPL );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -7,7 +7,7 @@
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "kgooglesearch", "TDE Google Search", "0.1", "", KAboutData::License_GPL ); TDEAboutData aboutData( "kgooglesearch", "TDE Google Search", "0.1", "", TDEAboutData::License_GPL );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -57,14 +57,14 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "kxml_compiler", I18N_NOOP("TDE xml compiler"), "0.1", TDEAboutData aboutData( "kxml_compiler", I18N_NOOP("TDE xml compiler"), "0.1",
I18N_NOOP("TDE XML Compiler") , KAboutData::License_LGPL ); I18N_NOOP("TDE XML Compiler") , TDEAboutData::License_LGPL );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KInstance app( &aboutData ); TDEInstance app( &aboutData );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

@ -167,12 +167,12 @@ static KCmdLineOptions options[] =
int main( int argc, char *argv[] ) int main( int argc, char *argv[] )
{ {
KAboutData aboutData( TDEAboutData aboutData(
progName, // internal program name progName, // internal program name
I18N_NOOP( progDisplay ), // displayable program name. I18N_NOOP( progDisplay ), // displayable program name.
progVersion, // version string progVersion, // version string
I18N_NOOP( progDesc ), // short porgram description I18N_NOOP( progDesc ), // short porgram description
KAboutData::License_GPL, // license type TDEAboutData::License_GPL, // license type
"(c) 2002-2005, Tuukka Pasanen and Allen Winter", // copyright statement "(c) 2002-2005, Tuukka Pasanen and Allen Winter", // copyright statement
0, // any free form text 0, // any free form text
progURL, // program home page address progURL, // program home page address

@ -126,11 +126,11 @@ KParts::ReadOnlyPart *Plugin::loadPart()
return core()->createPart( d->partLibraryName ); return core()->createPart( d->partLibraryName );
} }
const KAboutData *Plugin::aboutData() const TDEAboutData *Plugin::aboutData()
{ {
kdDebug(5601) << "Plugin::aboutData(): libname: " << d->partLibraryName << endl; kdDebug(5601) << "Plugin::aboutData(): libname: " << d->partLibraryName << endl;
const KInstance *instance = const TDEInstance *instance =
KParts::Factory::partInstanceFromLibrary( d->partLibraryName ); KParts::Factory::partInstanceFromLibrary( d->partLibraryName );
if ( instance ) { if ( instance ) {

@ -32,7 +32,7 @@
class TQStringList; class TQStringList;
class DCOPClient; class DCOPClient;
class DCOPObject; class DCOPObject;
class KAboutData; class TDEAboutData;
class KAction; class KAction;
class KConfig; class KConfig;
class TQWidget; class TQWidget;
@ -142,7 +142,7 @@ class KDE_EXPORT Plugin : public TQObject, virtual public KXMLGUIClient
Reimplement this method if you want to add your credits to the Kontact Reimplement this method if you want to add your credits to the Kontact
about dialog. about dialog.
*/ */
virtual const KAboutData *aboutData(); virtual const TDEAboutData *aboutData();
/** /**
You can use this method if you need to access the current part. You can be You can use this method if you need to access the current part. You can be

@ -33,7 +33,7 @@
#include "akregator_partiface_stub.h" #include "akregator_partiface_stub.h"
#include <uniqueapphandler.h> #include <uniqueapphandler.h>
class KAboutData; class TDEAboutData;
namespace Akregator { namespace Akregator {

@ -32,7 +32,7 @@
#include "plugin.h" #include "plugin.h"
#include <uniqueapphandler.h> #include <uniqueapphandler.h>
class KAboutData; class TDEAboutData;
class KABUniqueAppHandler : public Kontact::UniqueAppHandler class KABUniqueAppHandler : public Kontact::UniqueAppHandler
{ {

@ -32,7 +32,7 @@
#include "plugin.h" #include "plugin.h"
class KAboutData; class TDEAboutData;
class KarmPlugin : public Kontact::Plugin class KarmPlugin : public Kontact::Plugin
{ {

@ -30,7 +30,7 @@
#include "plugin.h" #include "plugin.h"
class KAboutData; class TDEAboutData;
class KitchenSyncPlugin : public Kontact::Plugin class KitchenSyncPlugin : public Kontact::Plugin
{ {

@ -59,9 +59,9 @@ KCMKMailSummary::KCMKMailSummary( TQWidget *parent, const char *name )
load(); load();
KAboutData *about = new KAboutData( I18N_NOOP( "kcmkmailsummary" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkmailsummary" ),
I18N_NOOP( "Mail Summary Configuration Dialog" ), I18N_NOOP( "Mail Summary Configuration Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2004 Tobias Koenig" ) ); I18N_NOOP( "(c) 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -47,7 +47,7 @@ KNotesPart::KNotesPart( TQObject *parent, const char *name )
{ {
mNoteList.setAutoDelete( true ); mNoteList.setAutoDelete( true );
setInstance( new KInstance( "knotes" ) ); setInstance( new TDEInstance( "knotes" ) );
// create the actions // create the actions
new KAction( i18n( "&New" ), "knotes", CTRL+Key_N, this, TQT_SLOT( newNote() ), new KAction( i18n( "&New" ), "knotes", CTRL+Key_N, this, TQT_SLOT( newNote() ),

@ -125,7 +125,7 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
// this dialog is modal to prevent one from editing the same note twice in two // this dialog is modal to prevent one from editing the same note twice in two
// different windows // different windows
setInstance( new KInstance( "knotes" ) ); // TODO: hm, memleak?? setInstance( new TDEInstance( "knotes" ) ); // TODO: hm, memleak??
setXMLFile( "knotesui.rc" ); setXMLFile( "knotesui.rc" );
actionCollection()->setWidget( this ); actionCollection()->setWidget( this );

@ -64,12 +64,12 @@ Kontact::Summary *KNotesPlugin::createSummaryWidget( TQWidget *parentWidget )
return new KNotesSummaryWidget( this, parentWidget ); return new KNotesSummaryWidget( this, parentWidget );
} }
const KAboutData *KNotesPlugin::aboutData() const TDEAboutData *KNotesPlugin::aboutData()
{ {
if ( !mAboutData ) { if ( !mAboutData ) {
mAboutData = new KAboutData( "knotes", I18N_NOOP( "Notes Management" ), mAboutData = new TDEAboutData( "knotes", I18N_NOOP( "Notes Management" ),
"0.5", I18N_NOOP( "Notes Management" ), "0.5", I18N_NOOP( "Notes Management" ),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(c) 2003-2004 The Kontact developers" ); "(c) 2003-2004 The Kontact developers" );
mAboutData->addAuthor( "Michael Brade", "Current Maintainer", "brade@kde.org" ); mAboutData->addAuthor( "Michael Brade", "Current Maintainer", "brade@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" ); mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );

@ -42,7 +42,7 @@ class KNotesPlugin : public Kontact::Plugin
int weight() const { return 600; } int weight() const { return 600; }
const KAboutData *aboutData(); const TDEAboutData *aboutData();
protected: protected:
KParts::ReadOnlyPart* createPart(); KParts::ReadOnlyPart* createPart();
@ -52,7 +52,7 @@ class KNotesPlugin : public Kontact::Plugin
void slotSyncNotes(); void slotSyncNotes();
private: private:
KAboutData *mAboutData; TDEAboutData *mAboutData;
}; };
#endif #endif

@ -64,9 +64,9 @@ KCMKOrgSummary::KCMKOrgSummary( TQWidget *parent, const char *name )
load(); load();
KAboutData *about = new KAboutData( I18N_NOOP( "kcmkorgsummary" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkorgsummary" ),
I18N_NOOP( "Schedule Configuration Dialog" ), I18N_NOOP( "Schedule Configuration Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) ); I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -48,13 +48,13 @@ Kontact::Summary *KPilotPlugin::createSummaryWidget( TQWidget *parentWidget )
return new SummaryWidget( parentWidget ); return new SummaryWidget( parentWidget );
} }
const KAboutData *KPilotPlugin::aboutData() const TDEAboutData *KPilotPlugin::aboutData()
{ {
if ( !mAboutData ) { if ( !mAboutData ) {
mAboutData = new KAboutData("kpilotplugin", I18N_NOOP("KPilot Information"), mAboutData = new TDEAboutData("kpilotplugin", I18N_NOOP("KPilot Information"),
KPILOT_VERSION, KPILOT_VERSION,
I18N_NOOP("KPilot - HotSync software for TDE\n\n"), I18N_NOOP("KPilot - HotSync software for TDE\n\n"),
KAboutData::License_GPL, "(c) 2004 Reinhold Kainhofer"); TDEAboutData::License_GPL, "(c) 2004 Reinhold Kainhofer");
mAboutData->addAuthor("Reinhold Kainhofer", mAboutData->addAuthor("Reinhold Kainhofer",
I18N_NOOP("Plugin Developer"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/Linux/"); I18N_NOOP("Plugin Developer"), "reinhold@kainhofer.com", "http://reinhold.kainhofer.com/Linux/");
mAboutData->addAuthor("Dan Pilone", mAboutData->addAuthor("Dan Pilone",

@ -38,12 +38,12 @@ class KPilotPlugin : public Kontact::Plugin
virtual bool showInSideBar() const { return false; } virtual bool showInSideBar() const { return false; }
// virtual TQStringList configModules() const; // virtual TQStringList configModules() const;
const KAboutData *aboutData(); const TDEAboutData *aboutData();
protected: protected:
virtual KParts::ReadOnlyPart *createPart() { return 0; } virtual KParts::ReadOnlyPart *createPart() { return 0; }
private: private:
KAboutData *mAboutData; TDEAboutData *mAboutData;
}; };
#endif #endif

@ -437,11 +437,11 @@ void KCMKontactKNT::defaults()
{ {
} }
const KAboutData* KCMKontactKNT::aboutData() const const TDEAboutData* KCMKontactKNT::aboutData() const
{ {
KAboutData *about = new KAboutData( I18N_NOOP( "kcmkontactknt" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmkontactknt" ),
I18N_NOOP( "Newsticker Configuration Dialog" ), I18N_NOOP( "Newsticker Configuration Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) ); I18N_NOOP( "(c) 2003 - 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -29,7 +29,7 @@
class TQListViewItem; class TQListViewItem;
class TQSpinxBox; class TQSpinxBox;
class KAboutData; class TDEAboutData;
class KListView; class KListView;
class KPushButton; class KPushButton;
@ -46,7 +46,7 @@ class KCMKontactKNT : public KCModule
virtual void load(); virtual void load();
virtual void save(); virtual void save();
virtual void defaults(); virtual void defaults();
virtual const KAboutData* aboutData() const; virtual const TDEAboutData* aboutData() const;
private slots: private slots:
void addNews(); void addNews();

@ -232,11 +232,11 @@ void KCMSDSummary::defaults()
emit changed( true ); emit changed( true );
} }
const KAboutData* KCMSDSummary::aboutData() const const TDEAboutData* KCMSDSummary::aboutData() const
{ {
KAboutData *about = new KAboutData( I18N_NOOP( "kcmsdsummary" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kcmsdsummary" ),
I18N_NOOP( "Special Dates Configuration Dialog" ), I18N_NOOP( "Special Dates Configuration Dialog" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c) 2004 Tobias Koenig" ) ); I18N_NOOP( "(c) 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -31,7 +31,7 @@ class TQButtonGroup;
class TQCheckBox; class TQCheckBox;
class TQSpinBox; class TQSpinBox;
class KAboutData; class TDEAboutData;
class KCMSDSummary : public KCModule class KCMSDSummary : public KCModule
{ {
@ -44,7 +44,7 @@ class KCMSDSummary : public KCModule
virtual void load(); virtual void load();
virtual void save(); virtual void save();
virtual void defaults(); virtual void defaults();
virtual const KAboutData* aboutData() const; virtual const TDEAboutData* aboutData() const;
private slots: private slots:
void modified(); void modified();

@ -54,14 +54,14 @@ Kontact::Summary *SpecialdatesPlugin::createSummaryWidget( TQWidget *parentWidge
return new SDSummaryWidget( this, parentWidget ); return new SDSummaryWidget( this, parentWidget );
} }
const KAboutData *SpecialdatesPlugin::aboutData() const TDEAboutData *SpecialdatesPlugin::aboutData()
{ {
if ( !mAboutData ) { if ( !mAboutData ) {
mAboutData = new KAboutData( "specialdates", mAboutData = new TDEAboutData( "specialdates",
I18N_NOOP( "Special Dates Summary" ), I18N_NOOP( "Special Dates Summary" ),
"1.0", "1.0",
I18N_NOOP( "Kontact Special Dates Summary" ), I18N_NOOP( "Kontact Special Dates Summary" ),
KAboutData::License_LGPL, TDEAboutData::License_LGPL,
I18N_NOOP( "(c) 2004-2005 The KDE PIM Team" ) ); I18N_NOOP( "(c) 2004-2005 The KDE PIM Team" ) );
mAboutData->addAuthor( "Allen Winter", "Current Maintainer", "winter@kde.org" ); mAboutData->addAuthor( "Allen Winter", "Current Maintainer", "winter@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" ); mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );

@ -37,7 +37,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
int weight() const { return 310; } int weight() const { return 310; }
const KAboutData *aboutData(); const TDEAboutData *aboutData();
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget ); virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
@ -45,7 +45,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
virtual KParts::ReadOnlyPart *createPart() { return false; } virtual KParts::ReadOnlyPart *createPart() { return false; }
private: private:
KAboutData *mAboutData; TDEAboutData *mAboutData;
}; };

@ -107,9 +107,9 @@ KCMKontactSummary::KCMKontactSummary( TQWidget *parent, const char *name )
this, TQT_SLOT( itemClicked( TQListViewItem* ) ) ); this, TQT_SLOT( itemClicked( TQListViewItem* ) ) );
load(); load();
KAboutData *about = new KAboutData( I18N_NOOP( "kontactsummary" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kontactsummary" ),
I18N_NOOP( "TDE Kontact Summary" ), I18N_NOOP( "TDE Kontact Summary" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2004 Tobias Koenig" ) ); I18N_NOOP( "(c), 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -66,12 +66,12 @@ namespace Kontact
} }
SummaryViewPart::SummaryViewPart( Kontact::Core *core, const char*, SummaryViewPart::SummaryViewPart( Kontact::Core *core, const char*,
const KAboutData *aboutData, const TDEAboutData *aboutData,
TQObject *parent, const char *name ) TQObject *parent, const char *name )
: KParts::ReadOnlyPart( parent, name ), : KParts::ReadOnlyPart( parent, name ),
mCore( core ), mFrame( 0 ), mConfigAction( 0 ) mCore( core ), mFrame( 0 ), mConfigAction( 0 )
{ {
setInstance( new KInstance( aboutData ) ); setInstance( new TDEInstance( aboutData ) );
loadLayout(); loadLayout();

@ -56,7 +56,7 @@ class SummaryViewPart : public KParts::ReadOnlyPart
public: public:
SummaryViewPart( Kontact::Core *core, const char *widgetName, SummaryViewPart( Kontact::Core *core, const char *widgetName,
const KAboutData *aboutData, const TDEAboutData *aboutData,
TQObject *parent = 0, const char *name = 0 ); TQObject *parent = 0, const char *name = 0 );
~SummaryViewPart(); ~SummaryViewPart();

@ -106,13 +106,13 @@ KParts::ReadOnlyPart *SummaryView::createPart()
return mPart; return mPart;
} }
const KAboutData *SummaryView::aboutData() const TDEAboutData *SummaryView::aboutData()
{ {
if ( !mAboutData ) { if ( !mAboutData ) {
mAboutData = new KAboutData( "kontactsummary", I18N_NOOP("Kontact Summary"), mAboutData = new TDEAboutData( "kontactsummary", I18N_NOOP("Kontact Summary"),
"1.1", "1.1",
I18N_NOOP("Kontact Summary View"), I18N_NOOP("Kontact Summary View"),
KAboutData::License_LGPL, TDEAboutData::License_LGPL,
I18N_NOOP("(c) 2003 The Kontact developers" ) ); I18N_NOOP("(c) 2003 The Kontact developers" ) );
mAboutData->addAuthor( "Sven Lueppken", "", "sven@kde.org" ); mAboutData->addAuthor( "Sven Lueppken", "", "sven@kde.org" );
mAboutData->addAuthor( "Cornelius Schumacher", "", "schumacher@kde.org" ); mAboutData->addAuthor( "Cornelius Schumacher", "", "schumacher@kde.org" );

@ -43,7 +43,7 @@ class SummaryView : public Kontact::Plugin
int weight() const { return 100; } int weight() const { return 100; }
const KAboutData *aboutData(); const TDEAboutData *aboutData();
protected: protected:
virtual KParts::ReadOnlyPart* createPart(); virtual KParts::ReadOnlyPart* createPart();
@ -55,7 +55,7 @@ class SummaryView : public Kontact::Plugin
void fillSyncActionSubEntries(); void fillSyncActionSubEntries();
private: private:
KAboutData *mAboutData; TDEAboutData *mAboutData;
SummaryViewPart *mPart; SummaryViewPart *mPart;
KSelectAction *mSyncAction; KSelectAction *mSyncAction;
}; };

@ -44,7 +44,7 @@
TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget TestPart::TestPart(TQObject *parent, const char *name) // ## parentWidget
: KParts::ReadOnlyPart(parent, name) : KParts::ReadOnlyPart(parent, name)
{ {
setInstance( new KInstance("testpart") ); // ## memleak setInstance( new TDEInstance("testpart") ); // ## memleak
m_edit = new TQTextEdit; m_edit = new TQTextEdit;
setWidget(m_edit); setWidget(m_edit);
setXMLFile("testpartui.rc"); setXMLFile("testpartui.rc");

@ -42,13 +42,13 @@ Kontact::Summary *WeatherPlugin::createSummaryWidget( TQWidget *parentWidget )
return new SummaryWidget( parentWidget ); return new SummaryWidget( parentWidget );
} }
const KAboutData *WeatherPlugin::aboutData() const TDEAboutData *WeatherPlugin::aboutData()
{ {
if ( !mAboutData ) { if ( !mAboutData ) {
mAboutData = new KAboutData( "weatherplugin", I18N_NOOP( "Weather Information" ), mAboutData = new TDEAboutData( "weatherplugin", I18N_NOOP( "Weather Information" ),
"0.1", "0.1",
I18N_NOOP( "Weather Information" ), I18N_NOOP( "Weather Information" ),
KAboutData::License_GPL_V2, TDEAboutData::License_GPL_V2,
"(c) 2003 The Kontact developers" ); "(c) 2003 The Kontact developers" );
mAboutData->addAuthor( "Ian Reinhart Geiser", "", "geiseri@kde.org" ); mAboutData->addAuthor( "Ian Reinhart Geiser", "", "geiseri@kde.org" );
mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" ); mAboutData->addAuthor( "Tobias Koenig", "", "tokoe@kde.org" );

@ -33,12 +33,12 @@ class WeatherPlugin : public Kontact::Plugin
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget ); virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
const KAboutData *aboutData(); const TDEAboutData *aboutData();
protected: protected:
virtual KParts::ReadOnlyPart *createPart() { return 0; } virtual KParts::ReadOnlyPart *createPart() { return 0; }
private: private:
KAboutData *mAboutData; TDEAboutData *mAboutData;
}; };
#endif #endif

@ -63,7 +63,7 @@ void AboutDialog::addAboutPlugin( Kontact::Plugin *plugin )
} }
void AboutDialog::addAboutData( const TQString &title, const TQString &icon, void AboutDialog::addAboutData( const TQString &title, const TQString &icon,
const KAboutData *about ) const TDEAboutData *about )
{ {
TQPixmap pixmap = KGlobal::iconLoader()->loadIcon( icon, TQPixmap pixmap = KGlobal::iconLoader()->loadIcon( icon,
KIcon::Desktop, 48 ); KIcon::Desktop, 48 );
@ -155,7 +155,7 @@ TQString AboutDialog::formatPerson( const TQString &name, const TQString &email
return text; return text;
} }
void AboutDialog::addLicenseText( const KAboutData *about ) void AboutDialog::addLicenseText( const TDEAboutData *about )
{ {
if ( !about || about->license().isEmpty() ) if ( !about || about->license().isEmpty() )
return; return;

@ -25,7 +25,7 @@
#define KONTACT_ABOUTDIALOG_H #define KONTACT_ABOUTDIALOG_H
#include <kdialogbase.h> #include <kdialogbase.h>
class KAboutData; class TDEAboutData;
namespace Kontact { namespace Kontact {
class Core; class Core;
@ -43,9 +43,9 @@ class AboutDialog : public KDialogBase
void addAboutPlugin( Kontact::Plugin *plugin ); void addAboutPlugin( Kontact::Plugin *plugin );
void addAboutData( const TQString &title, const TQString &icon, void addAboutData( const TQString &title, const TQString &icon,
const KAboutData *about ); const TDEAboutData *about );
void addLicenseText( const KAboutData *about ); void addLicenseText( const TDEAboutData *about );
TQString formatPerson( const TQString &name, const TQString &email ); TQString formatPerson( const TQString &name, const TQString &email );

@ -86,11 +86,11 @@ KcmKontact::KcmKontact( TQWidget *parent, const char *name )
load(); load();
} }
const KAboutData* KcmKontact::aboutData() const const TDEAboutData* KcmKontact::aboutData() const
{ {
KAboutData *about = new KAboutData( I18N_NOOP( "kontactconfig" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "kontactconfig" ),
I18N_NOOP( "TDE Kontact" ), I18N_NOOP( "TDE Kontact" ),
0, 0, KAboutData::License_GPL, 0, 0, TDEAboutData::License_GPL,
I18N_NOOP( "(c), 2003 Cornelius Schumacher" ) ); I18N_NOOP( "(c), 2003 Cornelius Schumacher" ) );
about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); about->addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );

@ -33,7 +33,7 @@ class TQGroupBox;
class TQComboBox; class TQComboBox;
class TQListViewItem; class TQListViewItem;
class KAboutData; class TDEAboutData;
class KListView; class KListView;
class KcmKontact : public KPrefsModule class KcmKontact : public KPrefsModule
@ -44,7 +44,7 @@ class KcmKontact : public KPrefsModule
public: public:
KcmKontact( TQWidget *parent = 0, const char *name = 0 ); KcmKontact( TQWidget *parent = 0, const char *name = 0 );
virtual const KAboutData* aboutData() const; virtual const TDEAboutData* aboutData() const;
}; };
class PluginSelection : public KPrefsWid class PluginSelection : public KPrefsWid

@ -74,7 +74,7 @@ class KontactApp : public KUniqueApplication {
static void listPlugins() static void listPlugins()
{ {
KInstance instance( "kontact" ); // Can't use KontactApp since it's too late for adding cmdline options TDEInstance instance( "kontact" ); // Can't use KontactApp since it's too late for adding cmdline options
KTrader::OfferList offers = KTrader::self()->query( KTrader::OfferList offers = KTrader::self()->query(
TQString::fromLatin1( "Kontact/Plugin" ), TQString::fromLatin1( "Kontact/Plugin" ),
TQString( "[X-TDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) ); TQString( "[X-TDE-KontactPluginVersion] == %1" ).arg( KONTACT_PLUGIN_VERSION ) );
@ -144,8 +144,8 @@ int KontactApp::newInstance()
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData about( "kontact", I18N_NOOP( "Kontact" ), version, description, TDEAboutData about( "kontact", I18N_NOOP( "Kontact" ), version, description,
KAboutData::License_GPL, I18N_NOOP("(C) 2008-2010 The Trinity Desktop Project\n(C) 2001-2008 The Kontact developers"), 0, "http://trinity.pearsoncomputing.net" ); TDEAboutData::License_GPL, I18N_NOOP("(C) 2008-2010 The Trinity Desktop Project\n(C) 2001-2008 The Kontact developers"), 0, "http://trinity.pearsoncomputing.net" );
about.addAuthor( "Daniel Molkentin", 0, "molkentin@kde.org" ); about.addAuthor( "Daniel Molkentin", 0, "molkentin@kde.org" );
about.addAuthor( "Don Sanders", 0, "sanders@kde.org" ); about.addAuthor( "Don Sanders", 0, "sanders@kde.org" );
about.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); about.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );

@ -29,9 +29,9 @@
using namespace KOrg; using namespace KOrg;
AboutData::AboutData() AboutData::AboutData()
: KAboutData( "korganizer", I18N_NOOP("KOrganizer"), korgVersion, : TDEAboutData( "korganizer", I18N_NOOP("KOrganizer"), korgVersion,
I18N_NOOP("A Personal Organizer for TDE"), I18N_NOOP("A Personal Organizer for TDE"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 1997-1999 Preston Brown\n" "(c) 1997-1999 Preston Brown\n"
"(c) 2000-2004 Cornelius Schumacher\n" "(c) 2000-2004 Cornelius Schumacher\n"
"(c) 2004-2005 Reinhold Kainhofer\n" "(c) 2004-2005 Reinhold Kainhofer\n"

@ -29,7 +29,7 @@
namespace KOrg { namespace KOrg {
class KDE_EXPORT AboutData : public KAboutData class KDE_EXPORT AboutData : public TDEAboutData
{ {
public: public:
AboutData(); AboutData();

@ -67,9 +67,9 @@ KOGlobals *KOGlobals::self()
KOGlobals::KOGlobals() KOGlobals::KOGlobals()
: mHolidays(0) : mHolidays(0)
{ {
// Needed to distinguish from global KInstance // Needed to distinguish from global TDEInstance
// in case we are a KPart // in case we are a KPart
mOwnInstance = new KInstance( "korganizer" ); mOwnInstance = new TDEInstance( "korganizer" );
mOwnInstance->config()->setGroup( "General" ); mOwnInstance->config()->setGroup( "General" );
mOwnInstance->iconLoader()->addAppDir( "tdepim" ); mOwnInstance->iconLoader()->addAppDir( "tdepim" );
KGlobal::iconLoader()->addAppDir( "tdepim" ); KGlobal::iconLoader()->addAppDir( "tdepim" );

@ -33,7 +33,7 @@ class KCalendarSystem;
class AlarmClient; class AlarmClient;
class KConfig; class KConfig;
class KInstance; class TDEInstance;
class KHolidays; class KHolidays;
class KDE_EXPORT KOGlobals class KDE_EXPORT KOGlobals
@ -110,7 +110,7 @@ class KDE_EXPORT KOGlobals
private: private:
static KOGlobals *mSelf; static KOGlobals *mSelf;
KInstance *mOwnInstance; TDEInstance *mOwnInstance;
AlarmClient *mAlarmClient; AlarmClient *mAlarmClient;

@ -62,9 +62,9 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KLocale::setMainCatalogue( "korganizer" ); KLocale::setMainCatalogue( "korganizer" );
KAboutData aboutData( "korgac", I18N_NOOP("KOrganizer Reminder Daemon"), TDEAboutData aboutData( "korgac", I18N_NOOP("KOrganizer Reminder Daemon"),
korgacVersion, I18N_NOOP("KOrganizer Reminder Daemon"), korgacVersion, I18N_NOOP("KOrganizer Reminder Daemon"),
KAboutData::License_GPL, TDEAboutData::License_GPL,
"(c) 2003 Cornelius Schumacher", "(c) 2003 Cornelius Schumacher",
0, "http://pim.kde.org" ); 0, "http://pim.kde.org" );
aboutData.addAuthor( "Cornelius Schumacher", I18N_NOOP("Maintainer"), aboutData.addAuthor( "Cornelius Schumacher", I18N_NOOP("Maintainer"),

@ -36,7 +36,7 @@
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1"); TDEAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -135,7 +135,7 @@ KOrganizerPart::~KOrganizerPart()
KOCore::self()->removeXMLGUIClient( mTopLevelWidget ); KOCore::self()->removeXMLGUIClient( mTopLevelWidget );
} }
KAboutData *KOrganizerPart::createAboutData() TDEAboutData *KOrganizerPart::createAboutData()
{ {
return new KOrg::AboutData; return new KOrg::AboutData;
} }

@ -31,8 +31,8 @@
#include <korganizer/mainwindow.h> #include <korganizer/mainwindow.h>
class KInstance; class TDEInstance;
class KAboutData; class TDEAboutData;
class KProcess; class KProcess;
class CalendarView; class CalendarView;
@ -63,7 +63,7 @@ class KOrganizerPart: public KParts::ReadOnlyPart,
TQObject *parent, const char *name, const TQStringList & ); TQObject *parent, const char *name, const TQStringList & );
virtual ~KOrganizerPart(); virtual ~KOrganizerPart();
static KAboutData *createAboutData(); static TDEAboutData *createAboutData();
virtual KOrg::CalendarViewBase *view() const; virtual KOrg::CalendarViewBase *view() const;

@ -34,7 +34,7 @@
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("korgplugins",I18N_NOOP("KOrgPlugins"),"0.1"); TDEAboutData aboutData("korgplugins",I18N_NOOP("KOrgPlugins"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -59,7 +59,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_exchange, ExchangeFactory )
Exchange::Exchange(KOrg::MainWindow *parent, const char *name) : Exchange::Exchange(KOrg::MainWindow *parent, const char *name) :
KOrg::Part(parent,name) KOrg::Part(parent,name)
{ {
setInstance( new KInstance( "korganizer" ) ); setInstance( new TDEInstance( "korganizer" ) );
kdDebug(5850) << "Creating Exchange Plugin...\n"; kdDebug(5850) << "Creating Exchange Plugin...\n";

@ -48,7 +48,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_projectview, ProjectViewFactory )
ProjectView::ProjectView(KOrg::MainWindow *parent, const char *name) : ProjectView::ProjectView(KOrg::MainWindow *parent, const char *name) :
KOrg::Part(parent,name), mView(0) KOrg::Part(parent,name), mView(0)
{ {
setInstance( new KInstance( "korganizer" ) ); setInstance( new TDEInstance( "korganizer" ) );
setXMLFile("plugins/projectviewui.rc"); setXMLFile("plugins/projectviewui.rc");

@ -47,7 +47,7 @@ K_EXPORT_COMPONENT_FACTORY( libkorg_timespanview, TimespanViewFactory )
TimespanView::TimespanView(KOrg::MainWindow *parent, const char *name) : TimespanView::TimespanView(KOrg::MainWindow *parent, const char *name) :
KOrg::Part(parent,name), mView(0) KOrg::Part(parent,name), mView(0)
{ {
setInstance( new KInstance( "korganizer" ) ); setInstance( new TDEInstance( "korganizer" ) );
setXMLFile( "plugins/timespanviewui.rc" ); setXMLFile( "plugins/timespanviewui.rc" );

@ -36,7 +36,7 @@
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("timezone",I18N_NOOP("KOrganizer Timezone Test"),"0.1"); TDEAboutData aboutData("timezone",I18N_NOOP("KOrganizer Timezone Test"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -16,8 +16,8 @@ static const char version[] = "0.4";
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData(argv[0], I18N_NOOP("Korn"), TDEAboutData aboutData(argv[0], I18N_NOOP("Korn"),
version, description, KAboutData::License_GPL, version, description, TDEAboutData::License_GPL,
I18N_NOOP("(c) 1999-2004, The Korn Developers")); I18N_NOOP("(c) 1999-2004, The Korn Developers"));
aboutData.addAuthor("Sirtaj Singh Kang",0, "taj@kde.org"); aboutData.addAuthor("Sirtaj Singh Kang",0, "taj@kde.org");
aboutData.addAuthor("Cristian Tibirna",0, "tibirna@kde.org"); aboutData.addAuthor("Cristian Tibirna",0, "tibirna@kde.org");

@ -69,7 +69,7 @@ void displayCategory( const TQValueList<Category *> categories )
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "benchmarkfeaturelist", TDEAboutData aboutData( "benchmarkfeaturelist",
"Benchmark for feature list XML parser", "Benchmark for feature list XML parser",
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -69,7 +69,7 @@ void displayCategory( const TQValueList<Category *> categories )
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "dumpfeaturelist", "Dump XML feature list to stdout", TDEAboutData aboutData( "dumpfeaturelist", "Dump XML feature list to stdout",
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -69,7 +69,7 @@ KDE_EXPORT int kdemain( int argc, char **argv );
int kdemain( int argc, char **argv ) int kdemain( int argc, char **argv )
{ {
KInstance instance( "kio_groupwise" ); TDEInstance instance( "kio_groupwise" );
kdDebug(7000) << "Starting kio_groupwise(pid: " << getpid() << ")" << endl; kdDebug(7000) << "Starting kio_groupwise(pid: " << getpid() << ")" << endl;

@ -46,7 +46,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "soapdebug", I18N_NOOP("Groupwise Soap Debug"), "0.1" ); TDEAboutData aboutData( "soapdebug", I18N_NOOP("Groupwise Soap Debug"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -34,8 +34,8 @@ static KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "scalixadmin", I18N_NOOP("ScalixAdmin"), "1.0", description, TDEAboutData aboutData( "scalixadmin", I18N_NOOP("ScalixAdmin"), "1.0", description,
KAboutData::License_GPL, "(c) 2007, Tobias Koenig" ); TDEAboutData::License_GPL, "(c) 2007, Tobias Koenig" );
aboutData.addAuthor( "Tobias Koenig",0, "tokoe@kde.org" ); aboutData.addAuthor( "Tobias Koenig",0, "tokoe@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -35,7 +35,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData( "textsloxaccounts", TDEAboutData aboutData( "textsloxaccounts",
"SUSE LINUX Openexchange Server Configuration Wizard", "SUSE LINUX Openexchange Server Configuration Wizard",
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -36,8 +36,8 @@ static KCmdLineOptions options[] =
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
KAboutData aboutData( "ktnef", I18N_NOOP("KTnef"), TDEAboutData aboutData( "ktnef", I18N_NOOP("KTnef"),
"1.0", description, KAboutData::License_GPL, "1.0", description, TDEAboutData::License_GPL,
"(c) 2000, Michael Goffioul"); "(c) 2000, Michael Goffioul");
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 );

@ -95,7 +95,7 @@ void ParserTest::testMAPIAttachments()
int main( int argc, char** argv ) int main( int argc, char** argv )
{ {
KInstance inst( "ktnef-parsertest" ); TDEInstance inst( "ktnef-parsertest" );
ParserTest test; ParserTest test;
test.testSingleAttachment(); test.testSingleAttachment();
test.testTwoAttachments(); test.testTwoAttachments();

@ -50,7 +50,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("convertqtopia",I18N_NOOP("TQtopia calendar file converter"),"0.1"); TDEAboutData aboutData("convertqtopia",I18N_NOOP("TQtopia calendar file converter"),"0.1");
aboutData.addAuthor("Cornelius Schumacher", 0, "schumacher@kde.org"); aboutData.addAuthor("Cornelius Schumacher", 0, "schumacher@kde.org");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);

@ -46,7 +46,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "readandwrite", "Read and Write Calendar", "0.1" ); TDEAboutData aboutData( "readandwrite", "Read and Write Calendar", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -37,7 +37,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testcalendar","Test Calendar","0.1"); TDEAboutData aboutData("testcalendar","Test Calendar","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -39,7 +39,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testfields","Test calendar fields read/write","0.1"); TDEAboutData aboutData("testfields","Test calendar fields read/write","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -39,7 +39,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testincidence","Test Incidence","0.1"); TDEAboutData aboutData("testincidence","Test Incidence","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -49,7 +49,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" ); TDEAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -49,7 +49,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" ); TDEAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -49,7 +49,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" ); TDEAboutData aboutData( "testrecurrencenew", "Load recurrence rules with the new class and print out debug messages", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -49,7 +49,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testrecurson", "Tests all dates from 2002 to 2010 to test if the event recurs on each individual date. This is meant to test the Recurrence::recursOn method for errors.", "0.1" ); TDEAboutData aboutData( "testrecurson", "Tests all dates from 2002 to 2010 to test if the event recurs on each individual date. This is meant to test the Recurrence::recursOn method for errors.", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -50,7 +50,7 @@ static const KCmdLineOptions options[] =
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData("testvcalexport", "Part of LibKCal's test suite. Checks if export to vCalendar still works correctly.", "0.1"); TDEAboutData aboutData("testvcalexport", "Part of LibKCal's test suite. Checks if export to vCalendar still works correctly.", "0.1");
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -8,7 +8,7 @@ using namespace KMime;
int int
main() main()
{ {
KInstance app("# "); TDEInstance app("# ");
DateFormatter t; DateFormatter t;
time_t ntime = time(0); time_t ntime = time(0);

@ -120,7 +120,7 @@ int main( int argc, char * argv[] ) {
if ( index >= tokenTypesLen ) usage( "unknown token type" ); if ( index >= tokenTypesLen ) usage( "unknown token type" );
KInstance instance( "test_kmime_header_parsing" ); TDEInstance instance( "test_kmime_header_parsing" );
TQFile stdIn; TQFile stdIn;
stdIn.open( IO_ReadOnly, stdin ); stdIn.open( IO_ReadOnly, stdin );

@ -38,7 +38,7 @@
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "example", I18N_NOOP("autoconfig example"), "0.1" ); TDEAboutData aboutData( "example", I18N_NOOP("autoconfig example"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -34,7 +34,7 @@
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "example", I18N_NOOP("cfgc example"), "0.1" ); TDEAboutData aboutData( "example", I18N_NOOP("cfgc example"), "0.1" );
aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -131,9 +131,9 @@ KCMDesignerFields::KCMDesignerFields( TQWidget *parent, const char *name )
{ {
TQTimer::singleShot( 0, this, TQT_SLOT( delayedInit() ) ); TQTimer::singleShot( 0, this, TQT_SLOT( delayedInit() ) );
KAboutData *about = new KAboutData( I18N_NOOP( "KCMDesignerfields" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "KCMDesignerfields" ),
I18N_NOOP( "TQt Designer Fields Dialog" ), I18N_NOOP( "TQt Designer Fields Dialog" ),
0, 0, KAboutData::License_LGPL, 0, 0, TDEAboutData::License_LGPL,
I18N_NOOP( "(c), 2004 Tobias Koenig" ) ); I18N_NOOP( "(c), 2004 Tobias Koenig" ) );
about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" ); about->addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );

@ -60,7 +60,7 @@ Core::Core( TQWidget *parent, const char *name )
initWidgets(); initWidgets();
initCore(); initCore();
initConnections(); initConnections();
setInstance( new KInstance( "komposer" ) ); setInstance( new TDEInstance( "komposer" ) );
createActions(); createActions();
setXMLFile( "komposerui.rc" ); setXMLFile( "komposerui.rc" );

@ -56,12 +56,12 @@ PrefsModule::PrefsModule( TQWidget *parent, const char *name )
load(); load();
} }
const KAboutData* const TDEAboutData*
PrefsModule::aboutData() const PrefsModule::aboutData() const
{ {
KAboutData *about = new KAboutData( I18N_NOOP( "komposerconfig" ), TDEAboutData *about = new TDEAboutData( I18N_NOOP( "komposerconfig" ),
I18N_NOOP( "TDE Komposer" ), I18N_NOOP( "TDE Komposer" ),
0, 0, KAboutData::License_LGPL, 0, 0, TDEAboutData::License_LGPL,
I18N_NOOP( "(c), 2003-2004 Zack Rusin" ) ); I18N_NOOP( "(c), 2003-2004 Zack Rusin" ) );
about->addAuthor( "Zack Rusin", 0, "zack@kde.org" );; about->addAuthor( "Zack Rusin", 0, "zack@kde.org" );;

@ -27,7 +27,7 @@
class TQGroupBox; class TQGroupBox;
class TQListViewItem; class TQListViewItem;
class KAboutData; class TDEAboutData;
class KComboBox; class KComboBox;
namespace Komposer { namespace Komposer {
@ -38,7 +38,7 @@ namespace Komposer {
public: public:
PrefsModule( TQWidget *parent=0, const char *name=0 ); PrefsModule( TQWidget *parent=0, const char *name=0 );
virtual const KAboutData *aboutData() const; virtual const TDEAboutData *aboutData() const;
}; };
class EditorSelection : public KPrefsWid class EditorSelection : public KPrefsWid

@ -38,7 +38,7 @@ static const KCmdLineOptions options[] =
}; };
int main( int argc, char** argv ) int main( int argc, char** argv )
{ {
KAboutData aboutData( "tests","Test","0.1" ); TDEAboutData aboutData( "tests","Test","0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -36,8 +36,8 @@ static const char version[] = "0.0.1 (SVN)";
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
KAboutData about( "komposertest", I18N_NOOP( "KomposerTest" ), version, description, TDEAboutData about( "komposertest", I18N_NOOP( "KomposerTest" ), version, description,
KAboutData::License_GPL, "(C) 2001-2003 The Kontact developers", 0, "http://kontact.kde.org", "zack@kde.org" ); TDEAboutData::License_GPL, "(C) 2001-2003 The Kontact developers", 0, "http://kontact.kde.org", "zack@kde.org" );
about.addAuthor( "Zack Rusin", 0, "zack@kde.org" ); about.addAuthor( "Zack Rusin", 0, "zack@kde.org" );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );

@ -1,7 +1,7 @@
[Global] [Global]
PluginName=KDEPimWidgets PluginName=KDEPimWidgets
Includes=kinstance.h Includes=kinstance.h
Init=new KInstance("tdepimwidgets"); Init=new TDEInstance("tdepimwidgets");
[KPIM::AddresseeLineEdit] [KPIM::AddresseeLineEdit]
ToolTip=Addressee Line Edit (KDE-PIM) ToolTip=Addressee Line Edit (KDE-PIM)

@ -5,7 +5,7 @@
int int
main() main()
{ {
KInstance app("# "); TDEInstance app("# ");
// test for http://bugs.kde.org/show_bug.cgi?id=54886 // test for http://bugs.kde.org/show_bug.cgi?id=54886
KRegExp3 reg("^"); KRegExp3 reg("^");

@ -29,7 +29,7 @@
int main(int argc, char* argv[]) int main(int argc, char* argv[])
{ {
KAboutData aboutData("testaddresseelineedit","Test AddresseeLineEdit","0.1"); TDEAboutData aboutData("testaddresseelineedit","Test AddresseeLineEdit","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDEApplication app; TDEApplication app;

@ -30,7 +30,7 @@
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
KAboutData aboutData( "testaddresseeseletor", "Test AddresseeSelector", "0.1" ); TDEAboutData aboutData( "testaddresseeseletor", "Test AddresseeSelector", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -53,7 +53,7 @@ void DateEdit::dateChanged( const TQDate &date )
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData( "testdateedit", "Test KDateEdit", "0.1" ); TDEAboutData aboutData( "testdateedit", "Test KDateEdit", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication app; TDEApplication app;

@ -83,7 +83,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KAboutData aboutData("testwizard","Test KConfigWizard","0.1"); TDEAboutData aboutData("testwizard","Test KConfigWizard","0.1");
TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::init(argc,argv,&aboutData);
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -36,7 +36,7 @@ int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "egroupwarewizard", TDEAboutData aboutData( "egroupwarewizard",
"eGroupware Server Configuration Wizard", "eGroupware Server Configuration Wizard",
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -36,7 +36,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "exchangewizard", TDEAboutData aboutData( "exchangewizard",
I18N_NOOP( "Microsoft Exchange Server Configuration Wizard" ), I18N_NOOP( "Microsoft Exchange Server Configuration Wizard" ),
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -37,7 +37,7 @@ int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "groupwisewizard", TDEAboutData aboutData( "groupwisewizard",
I18N_NOOP( "Novell GroupWise Configuration Wizard" ), I18N_NOOP( "Novell GroupWise Configuration Wizard" ),
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

@ -38,7 +38,7 @@ int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "kolabwizard", I18N_NOOP( "Kolab Configuration Wizard" ), "0.1" ); TDEAboutData aboutData( "kolabwizard", I18N_NOOP( "Kolab Configuration Wizard" ), "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -16,7 +16,7 @@ int main( int argc, char **argv )
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "groupwarewizard", TDEAboutData aboutData( "groupwarewizard",
I18N_NOOP( "TDE-PIM Groupware Configuration Wizard" ), "0.1" ); I18N_NOOP( "TDE-PIM Groupware Configuration Wizard" ), "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -38,7 +38,7 @@ int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "scalixwizard", I18N_NOOP( "Scalix Configuration Wizard" ), "0.1" ); TDEAboutData aboutData( "scalixwizard", I18N_NOOP( "Scalix Configuration Wizard" ), "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );

@ -36,7 +36,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv) int main(int argc,char **argv)
{ {
KLocale::setMainCatalogue( "tdepimwizards" ); KLocale::setMainCatalogue( "tdepimwizards" );
KAboutData aboutData( "sloxwizard", TDEAboutData aboutData( "sloxwizard",
I18N_NOOP( "SUSE LINUX Openexchange Server Configuration Wizard" ), I18N_NOOP( "SUSE LINUX Openexchange Server Configuration Wizard" ),
"0.1" ); "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::init( argc, argv, &aboutData );

Loading…
Cancel
Save