[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kate/app
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2007-01-27 16:25:23
Message-ID: 1169915123.358763.31144.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 627667 by cullmann:

remove console attic, it's no a plugin

 M  +0 -12     kateconfigdialog.cpp  
 M  +0 -2      kateconfigdialog.h  
 M  +0 -12     katemainwindow.cpp  
 M  +0 -5      katemainwindow.h  


--- trunk/KDE/kdebase/kate/app/kateconfigdialog.cpp #627666:627667
@@ -98,16 +98,6 @@
   Q3ButtonGroup *bgStartup = new Q3ButtonGroup( 1, Qt::Horizontal, \
i18n("&Behavior"), frGeneral );  lo->addWidget( bgStartup );
 
-  // sync the konsole ?
-  cb_syncKonsole = new QCheckBox(bgStartup);
-  cb_syncKonsole->setText(i18n("Sync &terminal emulator with active document"));
-  cb_syncKonsole->setChecked(parent->syncKonsole);
-  cb_syncKonsole->setWhatsThis( i18n(
-        "If this is checked, the built in Konsole will <code>cd</code> to the \
                directory "
-        "of the active document when started and whenever the active document \
                changes, "
-        "if the document is a local file.") );
-  connect( cb_syncKonsole, SIGNAL( toggled( bool ) ), this, SLOT( slotChanged() ) );
-
   // modified files notification
   cb_modNotifications = new QCheckBox(
       i18n("Wa&rn about files modified by foreign processes"), bgStartup );
@@ -388,8 +378,6 @@
     config->writeEntry("Modified Notification", cb_modNotifications->isChecked());
     mainWindow->modNotification = cb_modNotifications->isChecked();
 
-    mainWindow->syncKonsole = cb_syncKonsole->isChecked();
-
     //fileSelConfigPage->apply();
 #ifdef __GNUC__
 #warning portme
--- trunk/KDE/kdebase/kate/app/kateconfigdialog.h #627666:627667
@@ -64,8 +64,6 @@
     KTextEditor::View* v;
     bool dataChanged;
 
-    QCheckBox *cb_fullPath;
-    QCheckBox *cb_syncKonsole;
     QCheckBox *cb_modNotifications;
     QCheckBox *cb_saveMetaInfos;
     QSpinBox *sb_daysMetaInfos;
--- trunk/KDE/kdebase/kate/app/katemainwindow.cpp #627666:627667
@@ -106,8 +106,6 @@
 
   m_modignore = false;
 
-  console = 0;
-
   // here we go, set some usable default sizes
   if (!initialGeometrySet())
   {
@@ -480,7 +478,6 @@
   KConfig *config = KGlobal::config();
 
   config->setGroup("General");
-  syncKonsole =  config->readEntry("Sync Konsole", QVariant(true)).toBool();
   modNotification = config->readEntry("Modified Notification", \
QVariant(false)).toBool();  \
KateDocManager::self()->setSaveMetaInfos(config->readEntry("Save Meta Infos", \
QVariant(true)).toBool());  \
KateDocManager::self()->setDaysMetaInfos(config->readEntry("Days Meta Infos", 30)); \
@@ -499,13 +496,6 @@  
   config->setGroup("General");
 
-#if 0
-  if (console)
-    config->writeEntry("Show Console", console->isVisible());
-  else
-    config->writeEntry("Show Console", false);
-#endif
-
   config->writeEntry("Save Meta Infos", KateDocManager::self()->getSaveMetaInfos());
 
   config->writeEntry("Days Meta Infos", KateDocManager::self()->getDaysMetaInfos());
@@ -513,8 +503,6 @@
   config->writeEntry("Show Full Path in Title", m_paShowPath->isChecked());
   //config->writeEntry("Show Status Bar", m_showStatusBar);
 
-  config->writeEntry("Sync Konsole", syncKonsole);
-
   fileOpenRecent->saveEntries(config, "Recent Files");
 
   //fileselector->writeConfig(config, "fileselector");
--- trunk/KDE/kdebase/kate/app/katemainwindow.h #627666:627667
@@ -199,13 +199,8 @@
 
     Kate::MainWindow *m_mainWindow;
 
-    bool syncKonsole;
     bool modNotification;
 
-
-    // console
-    KateConsole *console;
-
     // management items
     KateViewManager *m_viewManager;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic