[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 51073] koffice 1.2 does not compile with KDE 3.0.5
From: "D.L.C.Burggraaff" <burdi () kabelfoon ! nl>
Date: 2002-11-22 23:32:32
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=51073
------- Additional Comments From burdi@kabelfoon.nl 2002-11-23 00:32 -------
The relevant part of lib/kofficecore/koMainWindow.cc is
void KoMainWindow::slotActivePartChanged( KParts::Part *newPart )
.....
// As of KDE-3.1, the plugins are child XMLGUI objects of the part
#if KDE_VERSION < 305
QPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects(
d->m_activeView );
KParts::Plugin *plugin = plugins.last();
while ( plugin )
{
factory->removeClient( plugin );
plugin = plugins.prev();
}
#endif
factory->removeClient( d->m_activeView );
unplugActionList( "toolbarlist" );
d->m_toolbarList.clear(); // deletes the actions
}
if ( !d->bMainWindowGUIBuilt )
{
#if KDE_VERSION >= 305
// Load mainwindow plugins
KParts::Plugin::loadPlugins( this, this, instance(), true );
#endif
createShellGUI();
}
Koffice 1.2 contains quite some tests for the KDE_VERSION. As the above
comment says this is to support KDE 3.0.x as well as KDE 3.1.x. Some tests are
for 305 (wrong), I saw one for 307 (ok).
Kind regards, Dick
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic