/[svn]/qsampler/trunk/src/qsamplerOptions.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerOptions.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 395 by capela, Sun Feb 20 19:13:33 2005 UTC revision 454 by capela, Mon Mar 14 10:59:57 2005 UTC
# Line 1  Line 1 
1  // qsamplerOptions.cpp  // qsamplerOptions.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2003-2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2003-2005, rncbc aka Rui Nuno Capela. All rights reserved.
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
7     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 57  qsamplerOptions::qsamplerOptions (void) Line 57  qsamplerOptions::qsamplerOptions (void)
57      sDisplayFont     = m_settings.readEntry("/DisplayFont", QString::null);      sDisplayFont     = m_settings.readEntry("/DisplayFont", QString::null);
58      bDisplayEffect   = m_settings.readBoolEntry("/DisplayEffect", true);      bDisplayEffect   = m_settings.readBoolEntry("/DisplayEffect", true);
59      bAutoRefresh     = m_settings.readBoolEntry("/AutoRefresh", true);      bAutoRefresh     = m_settings.readBoolEntry("/AutoRefresh", true);
60      iAutoRefreshTime = m_settings.readNumEntry("/AutoRefreshTime", 2000);      iAutoRefreshTime = m_settings.readNumEntry("/AutoRefreshTime", 1000);
61      iMaxVolume       = m_settings.readNumEntry("/MaxVolume", 100);      iMaxVolume       = m_settings.readNumEntry("/MaxVolume", 100);
62      sMessagesFont    = m_settings.readEntry("/MessagesFont", QString::null);      sMessagesFont    = m_settings.readEntry("/MessagesFont", QString::null);
63      bMessagesLimit   = m_settings.readBoolEntry("/MessagesLimit", true);      bMessagesLimit   = m_settings.readBoolEntry("/MessagesLimit", true);
64      iMessagesLimitLines = m_settings.readNumEntry("/MessagesLimitLines", 1000);      iMessagesLimitLines = m_settings.readNumEntry("/MessagesLimitLines", 1000);
65      bConfirmRemove   = m_settings.readBoolEntry("/ConfirmRemove", true);      bConfirmRemove   = m_settings.readBoolEntry("/ConfirmRemove", true);
66        bKeepOnTop       = m_settings.readBoolEntry("/KeepOnTop", true);
67      bStdoutCapture   = m_settings.readBoolEntry("/StdoutCapture", true);      bStdoutCapture   = m_settings.readBoolEntry("/StdoutCapture", true);
68      bCompletePath    = m_settings.readBoolEntry("/CompletePath", true);      bCompletePath    = m_settings.readBoolEntry("/CompletePath", true);
69      iMaxRecentFiles  = m_settings.readNumEntry("/MaxRecentFiles", 5);      iMaxRecentFiles  = m_settings.readNumEntry("/MaxRecentFiles", 5);
# Line 132  qsamplerOptions::~qsamplerOptions (void) Line 133  qsamplerOptions::~qsamplerOptions (void)
133      m_settings.writeEntry("/MessagesLimit", bMessagesLimit);      m_settings.writeEntry("/MessagesLimit", bMessagesLimit);
134      m_settings.writeEntry("/MessagesLimitLines", iMessagesLimitLines);      m_settings.writeEntry("/MessagesLimitLines", iMessagesLimitLines);
135      m_settings.writeEntry("/ConfirmRemove", bConfirmRemove);      m_settings.writeEntry("/ConfirmRemove", bConfirmRemove);
136        m_settings.writeEntry("/KeepOnTop", bKeepOnTop);
137      m_settings.writeEntry("/StdoutCapture", bStdoutCapture);      m_settings.writeEntry("/StdoutCapture", bStdoutCapture);
138      m_settings.writeEntry("/CompletePath", bCompletePath);      m_settings.writeEntry("/CompletePath", bCompletePath);
139      m_settings.writeEntry("/MaxRecentFiles", iMaxRecentFiles);      m_settings.writeEntry("/MaxRecentFiles", iMaxRecentFiles);

Legend:
Removed from v.395  
changed lines
  Added in v.454

  ViewVC Help
Powered by ViewVC