diff options
author | Alan Eldridge <alane@FreeBSD.org> | 2002-11-17 19:35:49 +0000 |
---|---|---|
committer | Alan Eldridge <alane@FreeBSD.org> | 2002-11-17 19:35:49 +0000 |
commit | 5d894f61193ca57b7d80c4385637fb9b69c0a08b (patch) | |
tree | 903eb0331b232829e3a660fe28bc72ac8cf9c647 /editors/koffice-kde4/files/patch-kword-kwview.cc | |
parent | Update to 3.14. (diff) |
Add local fixes for problem where code uses KDE_VERSION 305 to mean
the wrong thing (it's a long story).
Notes
Notes:
svn path=/head/; revision=70316
Diffstat (limited to 'editors/koffice-kde4/files/patch-kword-kwview.cc')
-rw-r--r-- | editors/koffice-kde4/files/patch-kword-kwview.cc | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/editors/koffice-kde4/files/patch-kword-kwview.cc b/editors/koffice-kde4/files/patch-kword-kwview.cc new file mode 100644 index 000000000000..ba97326d9e00 --- /dev/null +++ b/editors/koffice-kde4/files/patch-kword-kwview.cc @@ -0,0 +1,56 @@ +--- ./kword/kwview.cc.orig Sat Aug 31 07:13:52 2002 ++++ ./kword/kwview.cc Sun Nov 17 06:33:20 2002 +@@ -1043,7 +1043,7 @@ + // Necessary for the actions that are not plugged anywhere + // Deprecated with KDE-3.1. + // Note entirely sure it's necessary for 3.0, please test and report. +-#if KDE_VERSION < 305 ++#if KDE_VERSION < 306 + KAccel * accel = new KAccel( this ); + actNbsp->plugAccel( accel ); + actSoftHyphen->plugAccel( accel ); +@@ -1928,7 +1928,7 @@ + // to individual actions + QStringList lstWithAccels; + // Generate unique accelerators for the menu items +-#if KDE_VERSION >= 305 // but only if the '&' will be removed from the combobox ++#if KDE_VERSION >= 306 // but only if the '&' will be removed from the combobox + KAccelGen::generate( lst, lstWithAccels ); + #else + lstWithAccels = lst; +@@ -1998,7 +1998,7 @@ + // to individual actions + QStringList lstWithAccels; + // Generate unique accelerators for the menu items +-#if KDE_VERSION >= 305 // but only if the '&' will be removed from the combobox ++#if KDE_VERSION >= 306 // but only if the '&' will be removed from the combobox + KAccelGen::generate( lst, lstWithAccels ); + #else + lstWithAccels = lst; +@@ -2073,7 +2073,7 @@ + // to individual actions + QStringList lstWithAccels; + // Generate unique accelerators for the menu items +-#if KDE_VERSION >= 305 // but only if the '&' will be removed from the combobox ++#if KDE_VERSION >= 306 // but only if the '&' will be removed from the combobox + KAccelGen::generate( lst, lstWithAccels ); + #else + lstWithAccels = lst; +@@ -4979,7 +4979,7 @@ + if(m_doc->getKSpellConfig()) + { + m_doc->getKSpellConfig()->setIgnoreList(m_doc->spellListIgnoreAll()); +-#if KDE_VERSION >= 305 ++#if KDE_VERSION >= 306 + m_doc->getKSpellConfig()->setReplaceAllList(m_spell.replaceAll); + #endif + } +@@ -5000,7 +5000,7 @@ + QObject::connect( m_spell.kspell, SIGNAL( ignoreall (const QString & ) ), + this, SLOT( spellCheckerIgnoreAll( const QString & ) ) ); + +-#if KDE_VERSION >= 305 ++#if KDE_VERSION >= 306 + QObject::connect( m_spell.kspell, SIGNAL( replaceall( const QString & , const QString & )), this, SLOT( spellCheckerReplaceAll( const QString & , const QString & ))); + #endif + |