[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kate/part
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2005-05-01 10:01:13
Message-ID: 20050501100113.A4154666 () office ! kde ! org
[Download RAW message or body]
CVS commit by cullmann:
remove the spell config, this is kde global and the user can still switch languages
in the spelling dialog
M +4 -27 katedialogs.cpp 1.168
M +0 -17 katedialogs.h 1.81
M +1 -13 katedocument.cpp 1.821
--- kdelibs/kate/part/katedialogs.cpp #1.167:1.168
@@ -72,5 +72,4 @@
#include <krun.h>
#include <kseparator.h>
-#include <kspell.h>
#include <kstandarddirs.h>
#include <ktempfile.h>
@@ -134,26 +133,4 @@ void KateConfigPage::somethingHasChanged
//END KateConfigPage
-//BEGIN KateSpellConfigPage
-KateSpellConfigPage::KateSpellConfigPage( QWidget* parent )
- : KateConfigPage( parent)
-{
- QVBoxLayout* l = new QVBoxLayout( this );
- cPage = new KSpellConfig( this, 0L, 0L, false );
- l->addWidget( cPage );
- connect( cPage, SIGNAL( configChanged() ), this, SLOT( slotChanged() ) );
-}
-
-void KateSpellConfigPage::apply ()
-{
- // nothing changed, no need to apply stuff
- if (!changed())
- return;
-
- m_changed = false;
- // kspell
- cPage->writeGlobalSettings ();
-}
-//END KateSpellConfigPage
-
//BEGIN KateIndentConfigTab
const int KateIndentConfigTab::flags[] = {
--- kdelibs/kate/part/katedialogs.h #1.80:1.81
@@ -63,5 +63,4 @@ class KPushButton;
class KRegExpDialog;
class KIntNumInput;
-class KSpellConfig;
class QButtonGroup;
@@ -97,20 +96,4 @@ class KateConfigPage : public Kate::Conf
};
-class KateSpellConfigPage : public KateConfigPage
-{
- Q_OBJECT
-
- public:
- KateSpellConfigPage( QWidget* parent );
- ~KateSpellConfigPage() {};
-
- void apply();
- void reset () { ; };
- void defaults () { ; };
-
- private:
- KSpellConfig *cPage;
-};
-
class KateGotoLineDialog : public KDialogBase
{
--- kdelibs/kate/part/katedocument.cpp #1.820:1.821
@@ -374,5 +374,5 @@ void KateDocument::setActiveView( KateVi
uint KateDocument::configPages () const
{
- return 11;
+ return 10;
}
@@ -409,7 +409,4 @@ KTextEditor::ConfigPage *KateDocument::c
case 9:
- return new KateSpellConfigPage (parent);
-
- case 10:
return new KatePartPluginConfigPage (parent);
@@ -453,7 +450,4 @@ QString KateDocument::configPageName (ui
case 9:
- return i18n("Spelling");
-
- case 10:
return i18n ("Plugins");
@@ -497,7 +491,4 @@ QString KateDocument::configPageFullName
case 9:
- return i18n("Spell Checker Behavior");
-
- case 10:
return i18n ("Plugin Manager");
@@ -541,7 +532,4 @@ QPixmap KateDocument::configPagePixmap (
case 9:
- return BarIcon("spellcheck", size);
-
- case 10:
return BarIcon("connect_established", size);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic