Browse Source

Rename KApplication to TDEApplication to avoid conflicts with KDE4

pull/21/head
Timothy Pearson 9 years ago
parent
commit
d6d75dc9ff
  1. 2
      akregator/src/akregator_view.cpp
  2. 4
      akregator/src/articlefilter.cpp
  3. 2
      akregator/src/librss/testlibrss.cpp
  4. 2
      akregator/src/nodelist.cpp
  5. 2
      akregator/src/speechclient.cpp
  6. 2
      akregator/src/tagnodelist.cpp
  7. 4
      akregator/src/trayicon.cpp
  8. 2
      certmanager/lib/tests/test_cryptoconfig.cpp
  9. 2
      certmanager/lib/tests/test_gnupgprocessbase.cpp
  10. 2
      certmanager/lib/tests/test_jobs.cpp
  11. 2
      certmanager/lib/tests/test_keygen.cpp
  12. 2
      certmanager/lib/tests/test_keylister.cpp
  13. 2
      certmanager/lib/tests/test_keyselectiondialog.cpp
  14. 2
      certmanager/lib/tests/test_verify.cpp
  15. 2
      certmanager/lib/ui/keyselectiondialog.cpp
  16. 2
      certmanager/main.cpp
  17. 2
      kabc/frontend/main.cpp
  18. 4
      kabc/kabc2mutt/main.cpp
  19. 6
      kabc/kabcdistlistupdater/kabcdistlistupdater.cpp
  20. 6
      kaddressbook/distributionlisteditor.cpp
  21. 2
      kaddressbook/distributionlistpicker.cpp
  22. 4
      kaddressbook/interfaces/xxport.cpp
  23. 8
      kaddressbook/interfaces/xxport.h
  24. 2
      kaddressbook/kabcore.cpp
  25. 2
      kaddressbook/ldapsearchdialog.cpp
  26. 6
      kaddressbook/undocmds.cpp
  27. 2
      kaddressbook/xxportmanager.cpp
  28. 2
      kalarm/daemon.cpp
  29. 6
      kalarm/functions.cpp
  30. 2
      kalarm/kalarmd/alarmdaemon.cpp
  31. 2
      kandy/src/kandy_client.cpp
  32. 2
      kandy/src/main.cpp
  33. 2
      karm/main.cpp
  34. 14
      karm/taskview.cpp
  35. 4
      karm/test/locking.cpp
  36. 2
      kmail/ChangeLog
  37. 2
      kmail/antispamwizard.cpp
  38. 2
      kmail/dcoptest.cpp
  39. 4
      kmail/foldertreebase.cpp
  40. 2
      kmail/kmcommands.cpp
  41. 2
      kmail/kmfoldermaildir.cpp
  42. 2
      kmail/kmheaders.cpp
  43. 2
      kmail/main.cpp
  44. 2
      kmail/recipientseditor.cpp
  45. 2
      kmail/recipientseditortest.cpp
  46. 2
      kmail/recipientspicker.cpp
  47. 6
      kmailcvt/filters.cxx
  48. 2
      kmailcvt/kmailcvt.cpp
  49. 2
      kmailcvt/main.cpp
  50. 2
      kmobile/testlibkmobile.cpp
  51. 4
      knode/knmainwidget.cpp
  52. 2
      knotes/ChangeLog
  53. 2
      knotes/knotesapp.cpp
  54. 4
      kode/kodemain.cpp
  55. 2
      kode/kwsdl/kung/main.cpp
  56. 2
      kode/kwsdl/main.cpp
  57. 2
      kode/kwsdl/tests/google/main.cc
  58. 2
      konsolekalendar/main.cpp
  59. 2
      kontact/interfaces/uniqueapphandler.cpp
  60. 2
      kontact/plugins/knotes/knotes_part.cpp
  61. 2
      kontact/plugins/kpilot/summarywidget.cpp
  62. 2
      kontact/plugins/newsticker/kcmkontactknt.cpp
  63. 2
      kontact/plugins/newsticker/summarywidget.cpp
  64. 2
      kontact/plugins/weather/summarywidget.cpp
  65. 10
      kontact/src/mainwindow.cpp
  66. 2
      kontact/src/profilemanager.cpp
  67. 2
      korganizer/komailclient.cpp
  68. 2
      korganizer/korgac/testalarmdlg.cpp
  69. 2
      korganizer/korgplugins.cpp
  70. 2
      korganizer/timezone.cpp
  71. 4
      korganizer/urihandler.cpp
  72. 2
      kresources/featureplan/benchmarkfeaturelist.cpp
  73. 2
      kresources/featureplan/dumpfeaturelist.cpp
  74. 2
      kresources/groupwise/soap/ksslsocket.cpp
  75. 2
      kresources/groupwise/soap/soapdebug.cpp
  76. 4
      kresources/scalix/kioslave/scalix.cpp
  77. 2
      kresources/scalix/scalixadmin/main.cpp
  78. 2
      kresources/slox/testsloxaccounts.cpp
  79. 4
      ktnef/gui/main.cpp
  80. 4
      libemailfunctions/tests/testemail.cpp
  81. 2
      libkcal/calformat.cpp
  82. 2
      libkcal/convertqtopia.cpp
  83. 2
      libkcal/tests/readandwrite.cpp
  84. 4
      libkcal/tests/testcalendar.cpp
  85. 2
      libkcal/tests/testcalselectdialog.cpp
  86. 4
      libkcal/tests/testfields.cpp
  87. 2
      libkcal/tests/testincidence.cpp
  88. 2
      libkcal/tests/testrecurprevious.cpp
  89. 2
      libkcal/tests/testrecurrence.cpp
  90. 2
      libkcal/tests/testrecurrencetype.cpp
  91. 2
      libkcal/tests/testrecurson.cpp
  92. 4
      libkcal/tests/testresource.cpp
  93. 2
      libkcal/tests/testvcalexport.cpp
  94. 2
      libtdepim/cfgc/autoexample.cpp
  95. 2
      libtdepim/cfgc/example.cpp
  96. 2
      libtdepim/komposer/core/pluginmanager.h
  97. 2
      libtdepim/komposer/core/tests/main.cpp
  98. 2
      libtdepim/komposer/core/tests/testkomposer.cpp
  99. 2
      libtdepim/komposer/core/tests/testmanager.cpp
  100. 2
      libtdepim/ksubscription.cpp
  101. 2
      libtdepim/tests/testaddresseelineedit.cpp
  102. 2
      libtdepim/tests/testaddresseeselector.cpp
  103. 2
      libtdepim/tests/testdateedit.cpp
  104. 4
      libtdepim/tests/testdistrlist.cpp
  105. 2
      libtdepim/tests/testkincidencechooser.cpp
  106. 4
      libtdepim/tests/testlinklocator.cpp
  107. 2
      libtdepim/tests/testwizard.cpp
  108. 2
      plugins/kmail/bodypartformatter/text_calendar.cpp
  109. 2
      wizards/egroupwaremain.cpp
  110. 2
      wizards/exchangemain.cpp
  111. 2
      wizards/groupwisemain.cpp
  112. 2
      wizards/kolabmain.cpp
  113. 2
      wizards/main.cpp
  114. 2
      wizards/scalixmain.cpp
  115. 2
      wizards/sloxmain.cpp

2
akregator/src/akregator_view.cpp

@ -1143,7 +1143,7 @@ void View::slotRemoveTag(const Tag& tag)
*/
void View::slotNewTag()
{
Tag tag(KApplication::randomString(8), "New Tag");
Tag tag(TDEApplication::randomString(8), "New Tag");
Kernel::self()->tagSet()->insert(tag);
TagNode* node = m_tagNodeList->findByTagID(tag.id());
if (node)

4
akregator/src/articlefilter.cpp

@ -506,14 +506,14 @@ class ArticleFilter::ArticleFilterPrivate : public Shared
ArticleFilter::ArticleFilter() : d(new ArticleFilterPrivate)
{
d->id = KApplication::random();
d->id = TDEApplication::random();
d->action = 0;
d->matcher = 0;
}
ArticleFilter::ArticleFilter(const AbstractMatcher& matcher, const AbstractAction& action) : d(new ArticleFilterPrivate)
{
d->id = KApplication::random();
d->id = TDEApplication::random();
d->matcher = matcher.clone();
d->action = action.clone();
}

2
akregator/src/librss/testlibrss.cpp

@ -61,7 +61,7 @@ int main( int argc, char **argv )
KAboutData aboutData( "testlibrss", "testlibrss", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
if ( args->count() != 1 ) args->usage();

2
akregator/src/nodelist.cpp

@ -210,7 +210,7 @@ NodeList::~NodeList()
int NodeList::generateID()
{
return KApplication::random();
return TDEApplication::random();
}
void NodeList::slotNodeAdded(TreeNode* node)

2
akregator/src/speechclient.cpp

@ -170,7 +170,7 @@ void SpeechClient::setupSpeechSystem()
else
{
TQString error;
if (KApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
if (TDEApplication::startServiceByDesktopName("kttsd", TQStringList(), &error))
{
kdDebug() << "Starting KTTSD failed with message " << error << endl;
d->isTextSpeechInstalled = false;

2
akregator/src/tagnodelist.cpp

@ -90,7 +90,7 @@ TagNode* TagNodeList::findByTagID(const TQString& tagID)
bool TagNodeList::insert(TagNode* tagNode)
{
tagNode->setId(KApplication::random());
tagNode->setId(TDEApplication::random());
TQString id = tagNode->tag().id();
if (!containsTagId(id))
{

4
akregator/src/trayicon.cpp

@ -109,14 +109,14 @@ TQPixmap TrayIcon::takeScreenshot() const
const int WIDTH = 3;
int ax = g.x() - x - MARGINS -1;
int ay = g.y() - y - MARGINS -1;
painter.setPen( TQPen(TQt::red/*KApplication::palette().active().highlight()*/, WIDTH) );
painter.setPen( TQPen(TQt::red/*TDEApplication::palette().active().highlight()*/, WIDTH) );
painter.drawArc(ax, ay, tw + 2*MARGINS, th + 2*MARGINS, 0, 16*360);
painter.end();
// Paint the border
const int BORDER = 1;
TQPixmap finalShot(w + 2*BORDER, h + 2*BORDER);
finalShot.fill(KApplication::palette().active().foreground());
finalShot.fill(TDEApplication::palette().active().foreground());
painter.begin(&finalShot);
painter.drawPixmap(BORDER, BORDER, shot);
painter.end();

2
certmanager/lib/tests/test_cryptoconfig.cpp

@ -44,7 +44,7 @@ int main( int argc, char** argv ) {
KAboutData aboutData( "test_cryptoconfig", "CryptoConfig Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app( false, false );
TDEApplication app( false, false );
Kleo::CryptoConfig * config = new QGpgMECryptoConfig();

2
certmanager/lib/tests/test_gnupgprocessbase.cpp

@ -121,7 +121,7 @@ int main( int argc, char** argv ) {
}
KAboutData aboutData( "test_gnupgprocessbase", "GnuPGProcessBase Test", "0.1" );
TDECmdLineArgs::init( &aboutData );
KApplication app;
TDEApplication app;
Kleo::GnuPGProcessBase gpg;
for ( int i = 1 ; i < argc ; ++i )

2
certmanager/lib/tests/test_jobs.cpp

@ -102,7 +102,7 @@ int main( int argc, char** argv ) {
}
KAboutData aboutData( "test_jobs", "Signing Job Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
TDEApplication app;
testSign();
}

2
certmanager/lib/tests/test_keygen.cpp

@ -148,7 +148,7 @@ int main( int argc, char** argv ) {
}
KAboutData aboutData( "test_keygen", "KeyGenerationJob Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
TDEApplication app;
KeyGenerator * keygen = new KeyGenerator( 0, "KeyGenerator top-level" );
app.setMainWidget( keygen );

2
certmanager/lib/tests/test_keylister.cpp

@ -132,7 +132,7 @@ int main( int argc, char** argv ) {
KAboutData aboutData( "test_keylister", "KeyLister Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
TDEApplication app;
CertListView * clv = new CertListView( 0, "CertListView top-level" );
app.setMainWidget( clv );

2
certmanager/lib/tests/test_keyselectiondialog.cpp

@ -46,7 +46,7 @@
int main( int argc, char ** argv ) {
KAboutData aboutData( "test_keyselectiondialog", "KeySelectionDialog Test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
TDEApplication app;
KGlobal::iconLoader()->addAppDir( "libkleopatra" );

2
certmanager/lib/tests/test_verify.cpp

@ -55,7 +55,7 @@ int main( int argc, char **argv )
KAboutData aboutData( "test_verify", "verify job test", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app( false, false );
TDEApplication app( false, false );
const TQString sigFileName = TDESRCDIR "/test.data.sig";
const TQString dataFileName = TDESRCDIR "/test.data";

2
certmanager/lib/ui/keyselectiondialog.cpp

@ -396,7 +396,7 @@ void Kleo::KeySelectionDialog::init( bool rememberChoice, bool extendedSelection
le->setText( initialQuery );
TQToolButton *clearButton = new TQToolButton( page );
clearButton->setIconSet( KGlobal::iconLoader()->loadIconSet(
KApplication::reverseLayout() ? "clear_left":"locationbar_erase", KIcon::Small, 0 ) );
TDEApplication::reverseLayout() ? "clear_left":"locationbar_erase", KIcon::Small, 0 ) );
hlay->addWidget( clearButton );
hlay->addWidget( new TQLabel( le, i18n("&Search for:"), page ) );
hlay->addWidget( le, 1 );

2
certmanager/main.cpp

@ -59,7 +59,7 @@ int main( int argc, char** argv )
};
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

2
kabc/frontend/main.cpp

@ -11,7 +11,7 @@ int main( int argc, char ** argv )
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;
TDEApplication app;
MainWindow *w = new MainWindow;
w->show();

4
kabc/kabc2mutt/main.cpp

@ -43,11 +43,11 @@ static KCmdLineOptions k2moptions[] =
int main( int argc, char **argv )
{
KApplication::disableAutoDcopRegistration();
TDEApplication::disableAutoDcopRegistration();
TDECmdLineArgs::init( argc, argv, appName, programName, description, version );
TDECmdLineArgs::addCmdLineOptions( k2moptions );
KApplication app( false, false );
TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

6
kabc/kabcdistlistupdater/kabcdistlistupdater.cpp

@ -50,7 +50,7 @@ void convertDistributionLists()
const TQStringList entries = TQStringList::split( ',', it.data(), true );
KPIM::DistributionList distList;
distList.setUid( KApplication::randomString( 10 ) );
distList.setUid( TDEApplication::randomString( 10 ) );
distList.setName( listName );
if ( entries.count() > 1 ) {
@ -70,7 +70,7 @@ void convertDistributionLists()
int main( int argc, char **argv )
{
KApplication::disableAutoDcopRegistration();
TDEApplication::disableAutoDcopRegistration();
KAboutData aboutData( "kabcdistlistupdater", "Converter tool for distribution lists", "0.1" );
aboutData.addAuthor( "Tobias Koenig", 0, "tokoe@kde.org" );
@ -78,7 +78,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

6
kaddressbook/distributionlisteditor.cpp

@ -74,7 +74,7 @@ KPIM::DistributionListEditor::Line::Line( KABC::AddressBook* book, TQWidget* par
this, TQT_SLOT( textChanged( const TQString& ) ) );
layout->addWidget( m_lineEdit );
m_clearButton = new TQToolButton( this );
m_clearButton->setIconSet( KApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
m_clearButton->setIconSet( TDEApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
m_clearButton->setEnabled( false );
layout->addWidget( m_clearButton );
connect( m_clearButton, TQT_SIGNAL( clicked() ), m_lineEdit, TQT_SLOT( clear() ) );
@ -119,7 +119,7 @@ KABC::Addressee KPIM::DistributionListEditor::Line::findAddressee( const TQStrin
}
// no entry found, create new addressee:
KABC::Addressee addressee;
addressee.setUid( KApplication::randomString( 10 ) );
addressee.setUid( TDEApplication::randomString( 10 ) );
addressee.setFormattedName( name );
addressee.setEmails( email );
m_addressBook->insertAddressee( addressee );
@ -272,7 +272,7 @@ void KPIM::DistributionListEditor::EditorWidget::slotOk()
}
KPIM::DistributionList list;
list.setUid( d->distListUid.isNull() ? KApplication::randomString( 10 ) :d->distListUid );
list.setUid( d->distListUid.isNull() ? TDEApplication::randomString( 10 ) :d->distListUid );
list.setName( name );
list.setResource( d->resource );
typedef TQValueList<KPIM::DistributionListEditor::Line*>::ConstIterator ListIterator;

2
kaddressbook/distributionlistpicker.cpp

@ -103,7 +103,7 @@ void KPIM::DistributionListPickerDialog::slotUser1()
{
KPIM::DistributionList list;
list.setName( name );
list.setUid( KApplication::randomString( 10 ) );
list.setUid( TDEApplication::randomString( 10 ) );
m_book->insertAddressee( list );
m_listBox->insertItem( name );

4
kaddressbook/interfaces/xxport.cpp

@ -37,7 +37,7 @@ class XXPort::XXPortPrivate
public:
TQSignalMapper *mExportMapper;
TQSignalMapper *mImportMapper;
KApplication *mKApp;
TDEApplication *mKApp;
};
XXPort::XXPort( KABC::AddressBook *ab, TQWidget *parent,
@ -104,7 +104,7 @@ TQWidget *XXPort::parentWidget() const
return mParentWidget;
}
void XXPort::setKApplication( KApplication *app )
void XXPort::setTDEApplication( TDEApplication *app )
{
d->mKApp = app;
}

8
kaddressbook/interfaces/xxport.h

@ -34,7 +34,7 @@
#define KAB_XXPORT_PLUGIN_VERSION 1
class KApplication;
class TDEApplication;
/**
K_EXPORT_KADDRESSBOOK_XXFILTER_CATALOG() creates the stub for a KAddressbook import/export filter.
@ -87,13 +87,13 @@ class KDE_EXPORT XXPort : public TQObject, virtual public KXMLGUIClient
virtual bool requiresSorting() const { return false; }
/**
set the KApplication pointer.
set the TDEApplication pointer.
@see: processEvents()
*/
void setKApplication( KApplication *app );
void setTDEApplication( TDEApplication *app );
/**
Processes outstanding KApplication events. It should be called
Processes outstanding TDEApplication events. It should be called
occasionally when the import/export filter is busy performing
a long operation (e.g. reading from slow external devices).
@see: TQApplication::processEvents()

2
kaddressbook/kabcore.cpp

@ -725,7 +725,7 @@ void KABCore::newDistributionList()
}
}
KPIM::DistributionList list;
list.setUid( KApplication::randomString( 10 ) );
list.setUid( TDEApplication::randomString( 10 ) );
list.setName( name );
list.setResource( resource );
editDistributionList( list );

2
kaddressbook/ldapsearchdialog.cpp

@ -572,7 +572,7 @@ KABC::Addressee::List LDAPSearchDialog::importContactsUnlessTheyExist( const TQV
const KABC::Addressee::List existing = mCore->addressBook()->findByEmail( addr.preferredEmail() );
if ( existing.isEmpty() ) {
addr.setUid( KApplication::randomString( 10 ) );
addr.setUid( TDEApplication::randomString( 10 ) );
addr.setNote( i18n( "arguments are host name, datetime", "Imported from LDAP directory %1 on %2" ).arg( d->itemToServer[cli], KGlobal::locale()->formatDateTime( now ) ) );
addr.setResource( resource );
mCore->addressBook()->insertAddressee( addr );

6
kaddressbook/undocmds.cpp

@ -147,7 +147,7 @@ void PasteCommand::execute()
We have to set a new uid for the contact, otherwise insertAddressee()
ignore it.
*/
(*it).setUid( KApplication::randomString( 10 ) );
(*it).setUid( TDEApplication::randomString( 10 ) );
uids.append( (*it).uid() );
addressBook()->insertAddressee( *it );
}
@ -337,7 +337,7 @@ void CopyToCommand::execute()
KABC::Addressee newAddr( addr );
// We need to set a new uid, otherwise the insert below is
// ignored. This is bad for syncing, but unavoidable, afaiks
newAddr.setUid( KApplication::randomString( 10 ) );
newAddr.setUid( TDEApplication::randomString( 10 ) );
newAddr.setResource( mResource );
if ( resourceExist( newAddr.resource() ) )
addressBook()->insertAddressee( newAddr );
@ -384,7 +384,7 @@ void MoveToCommand::moveContactTo( KABC::Resource *resource )
KABC::Addressee newAddr( addr );
// We need to set a new uid, otherwise the insert below is
// ignored. This is bad for syncing, but unavoidable, afaiks
TQString uid = KApplication::randomString( 10 );
TQString uid = TDEApplication::randomString( 10 );
newAddr.setUid( uid );
newAddr.setResource( resource );
if ( resourceExist( newAddr.resource() ) )

2
kaddressbook/xxportmanager.cpp

@ -151,7 +151,7 @@ void XXPortManager::loadPlugins()
connect( obj, TQT_SIGNAL( importActivated( const TQString&, const TQString& ) ),
this, TQT_SLOT( slotImport( const TQString&, const TQString& ) ) );
obj->setKApplication( kapp );
obj->setTDEApplication( kapp );
}
}
}

2
kalarm/daemon.cpp

@ -141,7 +141,7 @@ bool Daemon::start()
kdError() << "Daemon::startApp(): " DAEMON_APP_NAME " not found" << endl;
return false;
}
KApplication::tdeinitExec(execStr);
TDEApplication::tdeinitExec(execStr);
kdDebug(5950) << "Daemon::start(): Alarm daemon started" << endl;
mStartTimeout = 5000/startCheckInterval + 1; // check daemon status for 5 seconds before giving up
mStartTimer = new TQTimer(mInstance);

6
kalarm/functions.cpp

@ -721,7 +721,7 @@ bool runProgram(const TQCString& program, const TQCString& windowName, TQCString
if (!kapp->dcopClient()->isApplicationRegistered(program))
{
// KOrganizer is not already running, so start it
if (KApplication::startServiceByDesktopName(TQString::fromLatin1(program), TQString(), &errorMessage, &dcopName))
if (TDEApplication::startServiceByDesktopName(TQString::fromLatin1(program), TQString(), &errorMessage, &dcopName))
{
kdError(5950) << "runProgram(): couldn't start " << program << " (" << errorMessage << ")\n";
return false;
@ -747,7 +747,7 @@ bool readConfigWindowSize(const char* window, TQSize& result)
{
KConfig* config = KGlobal::config();
config->setGroup(TQString::fromLatin1(window));
TQWidget* desktop = TQT_TQWIDGET(KApplication::desktop());
TQWidget* desktop = TQT_TQWIDGET(TDEApplication::desktop());
TQSize s = TQSize(config->readNumEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), 0),
config->readNumEntry(TQString::fromLatin1("Height %1").arg(desktop->height()), 0));
if (s.isEmpty())
@ -764,7 +764,7 @@ void writeConfigWindowSize(const char* window, const TQSize& size)
{
KConfig* config = KGlobal::config();
config->setGroup(TQString::fromLatin1(window));
TQWidget* desktop = TQT_TQWIDGET(KApplication::desktop());
TQWidget* desktop = TQT_TQWIDGET(TDEApplication::desktop());
config->writeEntry(TQString::fromLatin1("Width %1").arg(desktop->width()), size.width());
config->writeEntry(TQString::fromLatin1("Height %1").arg(desktop->height()), size.height());
config->sync();

2
kalarm/kalarmd/alarmdaemon.cpp

@ -120,7 +120,7 @@ void AlarmDaemon::autostartKAlarm()
kdDebug(5900) << "AlarmDaemon::autostartKAlarm(): starting KAlarm\n";
TQStringList args;
args << TQString::fromLatin1("--tray");
int ret = KApplication::tdeinitExec(TQString::fromLatin1("kalarm"), args);
int ret = TDEApplication::tdeinitExec(TQString::fromLatin1("kalarm"), args);
if (ret)
kdError(5900) << "AlarmDaemon::autostartKAlarm(): error=" << ret << endl;
else

2
kandy/src/kandy_client.cpp

@ -29,7 +29,7 @@
int main(int argc, char **argv)
{
KApplication app(argc, argv, "kandy_client", false);
TDEApplication app(argc, argv, "kandy_client", false);
// get our DCOP client and attach so that we may use it
DCOPClient *client = app.dcopClient();

2
kandy/src/main.cpp

@ -95,7 +95,7 @@ int main(int argc, char **argv)
TDECmdLineArgs::init(argc,argv,&about);
TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
// register ourselves as a dcop client

2
karm/main.cpp

@ -49,7 +49,7 @@ int main( int argc, char *argv[] )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication myApp;
TDEApplication myApp;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

14
karm/taskview.cpp

@ -820,16 +820,16 @@ void TaskView::clipTotals()
i18n("Copy This Task"), i18n("Copy All Tasks") );
if (response == KMessageBox::Yes) // This task only
{
KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
}
else // All tasks
{
KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::TotalTime));
}
}
else
{
KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::TotalTime));
}
}
@ -844,16 +844,16 @@ void TaskView::clipSession()
i18n("Copy This Task"), i18n("Copy All Tasks") );
if (response == KMessageBox::Yes) // this task only
{
KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
else // only task
{
KApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, false, TimeKard::SessionTime));
}
}
else
{
KApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
TDEApplication::clipboard()->setText(t.totalsAsText(this, true, TimeKard::SessionTime));
}
}
@ -863,7 +863,7 @@ void TaskView::clipHistory()
if (dialog.exec()== TQDialog::Accepted)
{
TimeKard t;
KApplication::clipboard()->
TDEApplication::clipboard()->
setText( t.historyAsText(this, dialog.from(), dialog.to(), !dialog.allTasks(), dialog.perWeek(), dialog.totalsOnly() ) );
}
}

4
karm/test/locking.cpp

@ -136,11 +136,11 @@ int main( int argc, char *argv[] )
setenv( "TDE_FORK_SLAVES", "yes", true ); // simpler, for the final cleanup
// Copied from Till's test in libkcal. Not sure what this is for.
KApplication::disableAutoDcopRegistration();
TDEApplication::disableAutoDcopRegistration();
TDECmdLineArgs::init(argc,argv,"testresourcelocking", 0, 0, 0, 0);
KApplication app( false, false );
TDEApplication app( false, false );
// basic libkcal locking stuff
if ( !rval ) rval = test1();

2
kmail/ChangeLog

@ -354,7 +354,7 @@ please visit http://webcvs.kde.org
* Removed hardcoded localtdedir()
* Let KApplication() do the job of creating ~/.kde/share/config
* Let TDEApplication() do the job of creating ~/.kde/share/config
1998-10-31 Stefan Taferner <taferner@kde.org> (KMail-1.0.6)

2
kmail/antispamwizard.cpp

@ -517,7 +517,7 @@ void AntiSpamWizard::checkToolAvailability()
}
else {
// check the availability of the application
KApplication::kApplication()->processEvents( 200 );
TDEApplication::kApplication()->processEvents( 200 );
if ( !checkForProgram( (*it).getExecutable() ) ) {
mInfoPage->addAvailableTool( (*it).getVisibleName() );
found = true;

2
kmail/dcoptest.cpp

@ -18,7 +18,7 @@ int main(int argc,char **argv)
KAboutData aboutData( "testKMailDCOP",
"Test for KMail DCOP interface", "0.0" );
TDECmdLineArgs::init(argc, argv, &aboutData);
KApplication app;
TDEApplication app;
app.dcopClient()->attach();
KMailIface_stub kmailStub("kmail","KMailIface");

4
kmail/foldertreebase.cpp

@ -75,9 +75,9 @@ int FolderTreeBase::dndMode(bool alwaysAsk)
{
int action = -1;
int keybstate = kapp->keyboardModifiers();
if ( keybstate & KApplication::ControlModifier ) {
if ( keybstate & TDEApplication::ControlModifier ) {
action = DRAG_COPY;
} else if ( keybstate & KApplication::ShiftModifier ) {
} else if ( keybstate & TDEApplication::ShiftModifier ) {
action = DRAG_MOVE;
} else {
if ( GlobalSettings::self()->showPopupAfterDnD() || alwaysAsk ) {

2
kmail/kmcommands.cpp

@ -1743,7 +1743,7 @@ KMCommand::Result KMFilterActionCommand::execute()
TQString statusMsg = i18n("Filtering message %1 of %2");
statusMsg = statusMsg.arg( msgCount ).arg( msgCountToFilter );
KPIM::BroadcastStatus::instance()->setStatusMsg( statusMsg );
KApplication::kApplication()->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
TDEApplication::kApplication()->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
}
int filterResult = kmkernel->filterMgr()->process( serNum, mFilter );

2
kmail/kmfoldermaildir.cpp

@ -1040,7 +1040,7 @@ TQString KMFolderMaildir::constructValidFileName( const TQString & filename,
if (aFileName.isEmpty())
{
aFileName.sprintf("%ld.%d.", (long)time(0), getpid());
aFileName += KApplication::randomString(5);
aFileName += TDEApplication::randomString(5);
}
if (!suffix_regex)

2
kmail/kmheaders.cpp

@ -1453,7 +1453,7 @@ void KMHeaders::applyFiltersOnMsg()
TQString statusMsg = i18n("Filtering message %1 of %2");
statusMsg = statusMsg.arg( msgCount ).arg( msgCountToFilter );
KPIM::BroadcastStatus::instance()->setStatusMsg( statusMsg );
KApplication::kApplication()->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
TDEApplication::kApplication()->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput, 50 );
}
KMFolder *folder = 0;

2
kmail/main.cpp

@ -48,7 +48,7 @@ public:
void KMailApplication::commitData(TQSessionManager& sm) {
kmkernel->dumpDeadLetters();
kmkernel->setShuttingDown( true ); // Prevent further dumpDeadLetters calls
KApplication::commitData( sm );
TDEApplication::commitData( sm );
}

2
kmail/recipientseditor.cpp

@ -177,7 +177,7 @@ RecipientLine::RecipientLine( TQWidget *parent )
this, TQT_SLOT( slotTypeModified() ) );
mRemoveButton = new TQPushButton( this );
mRemoveButton->setIconSet( KApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
mRemoveButton->setIconSet( TDEApplication::reverseLayout() ? SmallIconSet("locationbar_erase") : SmallIconSet( "clear_left" ) );
topLayout->addWidget( mRemoveButton );
connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotPropagateDeletion() ) );
TQToolTip::add( mRemoveButton, i18n("Remove recipient line") );

2
kmail/recipientseditortest.cpp

@ -94,7 +94,7 @@ int main( int argc, char **argv )
"Test Recipient Editor", "0.1" );
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app;
TDEApplication app;
TQObject::connect( &app, TQT_SIGNAL( lastWindowClosed() ), &app, TQT_SLOT( quit() ) );

2
kmail/recipientspicker.cpp

@ -373,7 +373,7 @@ RecipientsPicker::RecipientsPicker( TQWidget *parent )
TQToolButton *button = new TQToolButton( this );
button->setIconSet( KGlobal::iconLoader()->loadIconSet(
KApplication::reverseLayout() ? "clear_left":"locationbar_erase", KIcon::Small, 0 ) );
TDEApplication::reverseLayout() ? "clear_left":"locationbar_erase", KIcon::Small, 0 ) );
searchLayout->addWidget( button );
connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( resetSearch() ) );

6
kmailcvt/filters.cxx

@ -136,7 +136,7 @@ bool Filter::addMessage( FilterInfo* info, const TQString& folderName,
msgURL.setPath( msgPath );
if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) )
KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
TDEApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "dcopAddMessage", folderName, msgURL, msgStatusFlags );
@ -172,7 +172,7 @@ bool Filter::addMessage_fastImport( FilterInfo* info, const TQString& folderName
msgURL.setPath( msgPath );
if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) )
KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
TDEApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "dcopAddMessage_fastImport", folderName, msgURL, msgStatusFlags );
if ( !reply.isValid() )
@ -200,7 +200,7 @@ bool Filter::addMessage_fastImport( FilterInfo* info, const TQString& folderName
void Filter::showKMailImportArchiveDialog( FilterInfo* info )
{
if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) )
KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
TDEApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "showImportArchiveDialog" );
if ( !reply.isValid() )

2
kmailcvt/kmailcvt.cpp

@ -41,7 +41,7 @@ KMailCVT::~KMailCVT() {
void KMailCVT::endImport() {
if ( !kapp->dcopClient()->isApplicationRegistered( "kmail" ) )
KApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
TDEApplication::startServiceByDesktopName( "kmail", TQString() ); // Will wait until kmail is started
DCOPReply reply = DCOPRef( "kmail", "KMailIface" ).call( "dcopAddMessage", TQString(), TQString(), TQString());
if ( !reply.isValid() )

2
kmailcvt/main.cpp

@ -41,7 +41,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication a;
TDEApplication a;
KMailCVT *kmailcvt = new KMailCVT();
a.setMainWidget(kmailcvt);
kmailcvt->show();

2
kmobile/testlibkmobile.cpp

@ -13,7 +13,7 @@ int main(int argc, char **argv)
{
bool ok;
KApplication app(argc, argv, "kmobile_client", false);
TDEApplication app(argc, argv, "kmobile_client", false);
// get our DCOP client and attach so that we may use it
DCOPClient *client = app.dcopClient();

4
knode/knmainwidget.cpp

@ -367,8 +367,8 @@ void KNMainWidget::updateCaption()
void KNMainWidget::setCursorBusy(bool b)
{
if(b) KApplication::setOverrideCursor(waitCursor);
else KApplication::restoreOverrideCursor();
if(b) TDEApplication::setOverrideCursor(waitCursor);
else TDEApplication::restoreOverrideCursor();
}

2
knotes/ChangeLog

@ -898,7 +898,7 @@ Tue Feb 16 09:34:25 1999 David Faure <faure@kde.org>
* renaming: missing slash broke renaming.
* set atomic flag in cleanup(). Hope to have avoided occasional crash
leading to data loss.
* Replaced ~/.kde with KApplication::localtdedir()
* Replaced ~/.kde with TDEApplication::localtdedir()
* option menu: disabled illogical switch between "3D frame" and
"no frame" label. It is a checkable entry!

2
knotes/knotesapp.cpp

@ -266,7 +266,7 @@ TQString KNotesApp::newNote( const TQString& name, const TQString& text )
TQString KNotesApp::newNoteFromClipboard( const TQString& name )
{
const TQString& text = KApplication::clipboard()->text();
const TQString& text = TDEApplication::clipboard()->text();
return newNote( name, text );
}

4
kode/kodemain.cpp

@ -419,7 +419,7 @@ int create( TDECmdLineArgs *args )
code += "TDECmdLineArgs::init(argc,argv,&aboutData);";
code += "TDECmdLineArgs::addCmdLineOptions( options );";
code += "";
code += "KApplication app;";
code += "TDEApplication app;";
code += "";
code += "TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();";
code += "";
@ -615,7 +615,7 @@ int main(int argc,char **argv)
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

2
kode/kwsdl/kung/main.cpp

@ -53,7 +53,7 @@ int main( int argc, char **argv )
return 1;
}
KApplication app;
TDEApplication app;
Loader loader;
loader.setWSDLUrl( args->url( 0 ).path() );

2
kode/kwsdl/main.cpp

@ -59,7 +59,7 @@ int main( int argc, char **argv )
return 1;
}
KApplication app( false, false );
TDEApplication app( false, false );
TQString outputDirectory = TQFile::decodeName( args->getOption( "directory" ) );
if ( outputDirectory.isEmpty() )

2
kode/kwsdl/tests/google/main.cc

@ -12,7 +12,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
KApplication app( false, false );
TDEApplication app( false, false );
GoogleSearch search;

2
konsolekalendar/main.cpp

@ -196,7 +196,7 @@ int main( int argc, char *argv[] )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KApplication app(
TDEApplication app(
false, //do not allowstyles - disable the loading on plugin based styles
false //GUI is not enabled - disable all GUI stuff
);

2
kontact/interfaces/uniqueapphandler.cpp

@ -197,7 +197,7 @@ void Kontact::UniqueAppHandler::loadKontactCommandLineOptions()
{
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
KApplication::addCmdLineOptions();
TDEApplication::addCmdLineOptions();
}
#include "uniqueapphandler.moc"

2
kontact/plugins/knotes/knotes_part.cpp

@ -201,7 +201,7 @@ TQString KNotesPart::newNote( const TQString& name, const TQString& text )
TQString KNotesPart::newNoteFromClipboard( const TQString& name )
{
const TQString& text = KApplication::clipboard()->text();
const TQString& text = TDEApplication::clipboard()->text();
return newNote( name, text );
}

2
kontact/plugins/kpilot/summarywidget.cpp

@ -222,7 +222,7 @@ void SummaryWidget::startKPilot()
{
TQString error;
TQCString appID;
if ( !KApplication::tdeinitExec( "kpilotDaemon", TQString( "--fail-silently" ) ) ) {
if ( !TDEApplication::tdeinitExec( "kpilotDaemon", TQString( "--fail-silently" ) ) ) {
kdDebug(5602) << "No service available..." << endl;
mStartedDaemon = true;
}

2
kontact/plugins/newsticker/kcmkontactknt.cpp

@ -394,7 +394,7 @@ bool KCMKontactKNT::dcopActive() const
bool isGood = true;
DCOPClient *client = kapp->dcopClient();
if ( !client->isApplicationRegistered( "rssservice" ) ) {
if ( KApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) )
if ( TDEApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) )
isGood = false;
}

2
kontact/plugins/newsticker/summarywidget.cpp

@ -58,7 +58,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
bool dcopAvailable = true;
if ( !kapp->dcopClient()->isApplicationRegistered( "rssservice" ) ) {
if ( KApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) ) {
if ( TDEApplication::startServiceByDesktopName( "rssservice", TQStringList(), &error, &appID ) ) {
TQLabel *label = new TQLabel( i18n( "No rss dcop service available.\nYou need rssservice to use this plugin." ), this );
vlay->addWidget( label, TQt::AlignHCenter );
dcopAvailable = false;

2
kontact/plugins/weather/summarywidget.cpp

@ -53,7 +53,7 @@ SummaryWidget::SummaryWidget( TQWidget *parent, const char *name )
TQCString appID;
bool serviceAvailable = true;
if ( !kapp->dcopClient()->isApplicationRegistered( "KWeatherService" ) ) {
if ( KApplication::startServiceByDesktopName( "kweatherservice", TQStringList(), &error, &appID ) ) {
if ( TDEApplication::startServiceByDesktopName( "kweatherservice", TQStringList(), &error, &appID ) ) {
TQLabel *label = new TQLabel( i18n( "No weather dcop service available;\nyou need KWeather to use this plugin." ), this );
mLayout->addWidget( label, TQt::AlignHCenter | AlignVCenter );
serviceAvailable = false;

10
kontact/src/mainwindow.cpp

@ -787,12 +787,12 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin )
return;
}
KApplication::setOverrideCursor( TQCursor( TQt::WaitCursor ) );
TDEApplication::setOverrideCursor( TQCursor( TQt::WaitCursor ) );
KParts::Part *part = plugin->part();
if ( !part ) {
KApplication::restoreOverrideCursor();
TDEApplication::restoreOverrideCursor();
KMessageBox::error( this, i18n( "Cannot load part for %1." )
.arg( plugin->title() )
+ "\n" + lastErrorMessage() );
@ -894,7 +894,7 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin )
}
}
KApplication::restoreOverrideCursor();
TDEApplication::restoreOverrideCursor();
}
void MainWindow::selectPlugin( const TQString &pluginName )
@ -1027,14 +1027,14 @@ void MainWindow::updateConfig()
void MainWindow::showAboutDialog()
{
KApplication::setOverrideCursor( TQCursor( TQt::WaitCursor ) );
TDEApplication::setOverrideCursor( TQCursor( TQt::WaitCursor ) );
if ( !mAboutDialog )
mAboutDialog = new AboutDialog( this );
mAboutDialog->show();
mAboutDialog->raise();
KApplication::restoreOverrideCursor();
TDEApplication::restoreOverrideCursor();
}
void MainWindow::configureShortcuts()

2
kontact/src/profilemanager.cpp

@ -331,7 +331,7 @@ TQString Kontact::ProfileManager::generateNewId() const
{
while ( true )
{
const TQString newId = KApplication::randomString( 10 );
const TQString newId = TDEApplication::randomString( 10 );
if ( !m_profiles.contains( newId ) )
return newId;
}

2
korganizer/komailclient.cpp

@ -243,7 +243,7 @@ bool KOMailClient::send(const TQString &from,const TQString &_to,const TQString
pclose(fd);
} else {
if (!kapp->dcopClient()->isApplicationRegistered("kmail")) {
if (KApplication::startServiceByDesktopName("kmail")) {
if (TDEApplication::startServiceByDesktopName("kmail")) {
KMessageBox::error(0,i18n("No running instance of KMail found."));
return false;
}

2
korganizer/korgac/testalarmdlg.cpp

@ -39,7 +39,7 @@ int main(int argc,char **argv)
KAboutData aboutData("testkabc",I18N_NOOP("TestKabc"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;
TDEApplication app;
KConfig c( locate( "config", "korganizerrc" ) );
c.setGroup( "Time & Date" );

2
korganizer/korgplugins.cpp

@ -37,7 +37,7 @@ int main(int argc,char **argv)
KAboutData aboutData("korgplugins",I18N_NOOP("KOrgPlugins"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;
TDEApplication app;
KTrader::OfferList plugins = KOCore::self()->availablePlugins();
KTrader::OfferList::ConstIterator it;

2
korganizer/timezone.cpp

@ -39,7 +39,7 @@ int main(int argc,char **argv)
KAboutData aboutData("timezone",I18N_NOOP("KOrganizer Timezone Test"),"0.1");
TDECmdLineArgs::init(argc,argv,&aboutData);
KApplication app;
TDEApplication app;
kdDebug(5850) << "KOrganizer TimezoneId: " << KOPrefs::instance()->mTimeZoneId
<< endl;

4
korganizer/urihandler.cpp

@ -91,13 +91,13 @@ bool UriHandler::process( TQWidget *parent, const TQString &uri )
} else if ( uri.startsWith( "mailto:" ) ) {
KApplication::kApplication()->invokeMailer( uri.mid(7), TQString() );
TDEApplication::kApplication()->invokeMailer( uri.mid(7), TQString() );
return true;
} else if ( uri.startsWith( "uid:" ) ) {
TQString uid = uidFromUri( uri );
DCOPClient *client = KApplication::kApplication()->dcopClient();
DCOPClient *client = TDEApplication::kApplication()->dcopClient();
const TQByteArray noParamData;
const TQByteArray paramData;
TQByteArray replyData;

2
kresources/featureplan/benchmarkfeaturelist.cpp

@ -75,7 +75,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

2
kresources/featureplan/dumpfeaturelist.cpp

@ -74,7 +74,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app( false, false );
TDEApplication app( false, false );
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

2
kresources/groupwise/soap/ksslsocket.cpp

@ -183,7 +183,7 @@ int KSSLSocket::messageBox( KIO::SlaveBase::MessageBoxType type, const TQString
}
if (!d->dcc->isApplicationRegistered("kio_uiserver"))
{
KApplication::startServiceByDesktopPath("kio_uiserver.desktop",TQStringList());
TDEApplication::startServiceByDesktopPath("kio_uiserver.desktop",TQStringList());
}
d->dcc->call("kio_uiserver", "UIServer",

2
kresources/groupwise/soap/soapdebug.cpp

@ -52,7 +52,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
TDEApplication app;
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();

4
kresources/scalix/kioslave/scalix.cpp

@ -49,11 +49,11 @@ static const KCmdLineOptions options[] =
int kdemain( int argc, char **argv )
{
putenv( strdup( "SESSION_MANAGER=" ) );
KApplication::disableAutoDcopRegistration();
TDEApplication::disableAutoDcopRegistration();