--- qsampler/trunk/src/qsamplerMessages.h 2004/12/21 14:22:55 327 +++ qsampler/trunk/src/qsamplerMessages.h 2007/10/28 23:30:36 1461 @@ -1,7 +1,7 @@ // qsamplerMessages.h // /**************************************************************************** - Copyright (C) 2003-2004, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -13,16 +13,16 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *****************************************************************************/ #ifndef __qsamplerMessages_h #define __qsamplerMessages_h -#include +#include class QSocketNotifier; class QTextEdit; @@ -32,7 +32,7 @@ // qsamplerMessages - Messages log dockable window. // -class qsamplerMessages : public QDockWindow +class qsamplerMessages : public QDockWidget { Q_OBJECT @@ -54,7 +54,7 @@ // Maximum number of message lines accessors. int messagesLimit(); void setMessagesLimit(int iMessagesLimit); - + // The main utility methods. void appendMessages(const QString& s); void appendMessagesColor(const QString& s, const QString &c); @@ -79,7 +79,7 @@ // The textview main widget. QTextEdit *m_pTextView; - + // Stdout capture variables. QSocketNotifier *m_pStdoutNotifier; QString m_sStdoutBuffer;