diff options
Diffstat (limited to 'kommander/editor')
-rw-r--r-- | kommander/editor/main.cpp | 2 | ||||
-rw-r--r-- | kommander/editor/mainwindow.cpp | 18 | ||||
-rw-r--r-- | kommander/editor/mainwindowactions.cpp | 2 | ||||
-rw-r--r-- | kommander/editor/messagelog.cpp | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/kommander/editor/main.cpp b/kommander/editor/main.cpp index 78936267..a9cdb783 100644 --- a/kommander/editor/main.cpp +++ b/kommander/editor/main.cpp @@ -57,7 +57,7 @@ int main( int argc, char *argv[] ) TDELocale::setMainCatalogue("kommander"); TDEApplication a(true, true); - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("General"); bool splashScreen = config->readBoolEntry("SplashScreen", true); KSplashScreen* splash = 0; diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp index 9f926a95..1d0c3cfb 100644 --- a/kommander/editor/mainwindow.cpp +++ b/kommander/editor/mainwindow.cpp @@ -136,7 +136,7 @@ MainWindow::MainWindow(bool asClient) setupPlugins(); - kapp->setMainWidget(this); + tdeApp->setMainWidget(this); self = this; prefDia = 0; @@ -171,13 +171,13 @@ MainWindow::MainWindow(bool asClient) emit hasActiveWindow(false); lastPressWidget = 0; - kapp->installEventFilter(this); + tdeApp->installEventFilter(this); - TQSize as(kapp->desktop()->size()); + TQSize as(tdeApp->desktop()->size()); as -= TQSize(30, 30); resize(TQSize(1200, 1000).boundedTo(as)); - connect(kapp->clipboard(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged())); + connect(tdeApp->clipboard(), TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged())); clipboardChanged(); layoutChilds = false; layoutSelected = false; @@ -926,7 +926,7 @@ void MainWindow::popupFormWindowMenu(const TQPoint & gp, FormWindow *fw) setupRMBSpecialCommands(ids, commands, fw); setupRMBProperties(ids, commands, fw); - kapp->processEvents(); + tdeApp->processEvents(); int r = rmbFormWindow->exec(gp); handleRMBProperties(r, commands, fw); @@ -944,7 +944,7 @@ void MainWindow::popupWidgetMenu(const TQPoint &gp, FormWindow * /*fw*/, TQWidge setupRMBSpecialCommands(ids, commands, w); setupRMBProperties(ids, commands, w); - kapp->processEvents(); + tdeApp->processEvents(); int r = rmbWidgets->exec(gp); handleRMBProperties(r, commands, w); @@ -1257,7 +1257,7 @@ void MainWindow::handleRMBSpecialCommands(int id, TQMap<TQString, int> &commands void MainWindow::clipboardChanged() { - TQString text(kapp->clipboard()->text()); + TQString text(tdeApp->clipboard()->text()); TQString start("<!DOCTYPE UI-SELECTION>"); actionEditPaste->setEnabled(text.left(start.length()) == start); } @@ -1392,7 +1392,7 @@ void MainWindow::selectionChanged() void MainWindow::writeConfig() { - TDEConfig* config = kapp->config(); + TDEConfig* config = tdeApp->config(); config->setGroup("General"); config->writeEntry("RestoreWorkspace", restoreConfig); @@ -1429,7 +1429,7 @@ void MainWindow::writeConfig() void MainWindow::readConfig() { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup("General"); restoreConfig = config->readBoolEntry("RestoreWorkspace", true); diff --git a/kommander/editor/mainwindowactions.cpp b/kommander/editor/mainwindowactions.cpp index d0ccda3f..68e197ec 100644 --- a/kommander/editor/mainwindowactions.cpp +++ b/kommander/editor/mainwindowactions.cpp @@ -457,7 +457,7 @@ void MainWindow::setupFileActions() fileMenu->insertSeparator(); - a = KStdAction::quit(kapp, TQ_SLOT(closeAllWindows()), actionCollection()); + a = KStdAction::quit(tdeApp, TQ_SLOT(closeAllWindows()), actionCollection()); a->setToolTip(i18n("Quits the application and prompts to save any changed dialogs")); a->setWhatsThis(whatsThisFrom("File|Exit")); a->plug(fileMenu); diff --git a/kommander/editor/messagelog.cpp b/kommander/editor/messagelog.cpp index 31af80f0..28c33c33 100644 --- a/kommander/editor/messagelog.cpp +++ b/kommander/editor/messagelog.cpp @@ -108,12 +108,12 @@ void MessageLog::clearContent() void MessageLog::copyLine() { if (m_lists[currentPageIndex()]->count()) - kapp->clipboard()->setText(m_lists[currentPageIndex()]->currentText(), TQClipboard::Clipboard); + tdeApp->clipboard()->setText(m_lists[currentPageIndex()]->currentText(), TQClipboard::Clipboard); } void MessageLog::copyContent() { - kapp->clipboard()->setText(content(), TQClipboard::Clipboard); + tdeApp->clipboard()->setText(content(), TQClipboard::Clipboard); } void MessageLog::saveToFile() |