Rename KApplication to TDEApplication to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 8c78497ddb
commit 106687cbe8

@ -77,7 +77,7 @@ static const int MERGE_KEEP_NEW_TIMINGS = (1 << 3);
* The RosegardenGUIDoc class provides a document object that can be
* used in conjunction with the classes RosegardenGUIApp and
* RosegardenGUIView to create a document-view model for standard KDE
* applications based on KApplication and KTMainWindow. Thereby, the
* applications based on TDEApplication and KTMainWindow. Thereby, the
* document object is created by the RosegardenGUIApp instance and
* contains the document structure with the according methods for
* manipulation of the document data by RosegardenGUIView

@ -100,7 +100,7 @@ class AudioManagerDialog;
* RosegardenGUIApp reimplements the methods that KTMainWindow provides for main window handling and supports
* full session management as well as keyboard accelerator configuration by using KAccel.
* @see KTMainWindow
* @see KApplication
* @see TDEApplication
* @see KConfig
* @see KAccel
*
@ -440,7 +440,7 @@ protected:
/**
* saves the window properties for each open window during session
* end to the session config file, including saving the currently
* opened file by a temporary filename provided by KApplication.
* opened file by a temporary filename provided by TDEApplication.
*
* @see KTMainWindow#saveProperties
*/

@ -520,7 +520,7 @@ int main(int argc, char *argv[])
config->setGroup("MainView");
int windowWidth = 0, windowHeight = 0;
TQDesktopWidget *desktop = KApplication::desktop();
TQDesktopWidget *desktop = TDEApplication::desktop();
if (desktop) {
TQRect totalRect(desktop->screenGeometry());
TQRect desktopRect = KGlobalSettings::desktopGeometry(TQPoint(0, 0));

@ -94,7 +94,7 @@ int main(int argc, char *argv[])
//
/*TDECmdLineArgs *args =*/
TDECmdLineArgs::parsedArgs();
KApplication app;
TDEApplication app;
if (app.isRestored()) {
SEQUENCER_DEBUG << "RosegardenSequencer - we're being session-restored - that's not supposed to happen\n";

Loading…
Cancel
Save