diff options
| author | gregory guy <g-gregory@gmx.fr> | 2019-06-28 15:14:51 +0200 |
|---|---|---|
| committer | gregory guy <gregory-tde@laposte.net> | 2021-03-11 15:04:14 +0100 |
| commit | 4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (patch) | |
| tree | e532b01e8168b2f849f8aaa3266a58b088705726 /kommander/editor/mainwindow.cpp | |
| parent | 10d21d001e92e653cec6b6d1c05983abd00a1195 (diff) | |
| download | tdewebdev-4c43d1fbb66a296958ed1d0dbddf3f8ac4466130.tar.gz tdewebdev-4c43d1fbb66a296958ed1d0dbddf3f8ac4466130.zip | |
Conversion to the cmake building system.
Delete empty files (dummy.cpp, xsldbgconfig.h).
Remove hard-coded path for the kmdr-executor executable.
Replaced $TQTDIR/doc/html string path for TQTDOCDIR in kommander.
Add man pages taken from the Debian packaging.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Fix linking - kxsldbgcommon-static and kimagemapeditorcommon-static needs to be embedded.
Move the linking of xml and readline libraries to the appropriate static libraries.
Add build option WITH_QUANTA_CVSSERVICE.
Add a test whether the readline can be linked standalone or whether ncurses is needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kommander/editor/mainwindow.cpp')
| -rw-r--r-- | kommander/editor/mainwindow.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/kommander/editor/mainwindow.cpp b/kommander/editor/mainwindow.cpp index 497be25b..3fde775c 100644 --- a/kommander/editor/mainwindow.cpp +++ b/kommander/editor/mainwindow.cpp @@ -18,6 +18,14 @@ **********************************************************************/ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#ifndef TQTDOCDIR +#define TQTDOCDIR "/usr/share/tqt3/doc/html" +#endif + #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> @@ -118,7 +126,7 @@ static TQString textNoAccel(const TQString& text) MainWindow::MainWindow(bool asClient) : KParts::DockMainWindow(0, "mainwindow", WType_TopLevel | WDestructiveClose | WGroupLeader), grd(10, 10), sGrid(true), snGrid(true), restoreConfig(true), splashScreen(true), - docPath("$TQTDIR/doc/html"), client(asClient), databaseAutoEdit(false), previewing(false) + docPath(TQTDOCDIR), client(asClient), databaseAutoEdit(false), previewing(false) { m_partManager = new KParts::PartManager(this); //connect(m_partManager, TQT_SIGNAL(activePartChanged(KParts::Part * )), this, TQT_SLOT(slotActivePartChanged(KParts::Part * ))); |
