diff gui/src/m-editor/file-editor.cc @ 14712:5cb54cca8a06 gui

Completion of code reformatting.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Fri, 01 Jun 2012 23:54:14 +0200
parents f50591409306
children b4db843b1f26
line wrap: on
line diff
--- a/gui/src/m-editor/file-editor.cc
+++ b/gui/src/m-editor/file-editor.cc
@@ -30,8 +30,8 @@
 {
   construct ();
 
-  m_terminal = terminal;
-  m_mainWindow = mainWindow;
+  _terminal = terminal;
+  _main_window = mainWindow;
   setVisible (false);
 }
 
@@ -48,13 +48,13 @@
 QTerminal *
 file_editor::terminal ()
 {
-  return m_terminal;
+  return _terminal;
 }
 
 main_window *
 file_editor::mainWindow ()
 {
-  return m_mainWindow;
+  return _main_window;
 }
 
 void
@@ -265,7 +265,7 @@
   file_editor_tab *fileEditorTab = activeEditorTab ();
   if (fileEditorTab)
     {
-      bool copyAvailable = fileEditorTab->copyAvailable ();
+      bool copyAvailable = fileEditorTab->copy_available ();
       m_copyAction->setEnabled (copyAvailable);
       m_cutAction->setEnabled (copyAvailable);
     }
@@ -275,7 +275,7 @@
 file_editor::construct ()
 {
   QWidget *widget = new QWidget (this);
-  QSettings *settings = resource_manager::instance ()->settings ();
+  QSettings *settings = resource_manager::instance ()->get_settings ();
   QStyle *style = QApplication::style ();
 
   m_menuBar = new QMenuBar (widget);