--- qsampler/trunk/src/qsamplerMainForm.h 2010/07/21 18:33:25 2112 +++ qsampler/trunk/src/qsamplerMainForm.h 2012/12/29 00:21:11 2387 @@ -1,7 +1,7 @@ // qsamplerMainForm.h // /**************************************************************************** - Copyright (C) 2004-2010, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2004-2012, rncbc aka Rui Nuno Capela. All rights reserved. Copyright (C) 2007, 2008 Christian Schoenebeck This program is free software; you can redistribute it and/or @@ -28,7 +28,8 @@ #include class QProcess; -class QWorkspace; +class QMdiArea; +class QMdiSubWindow; class QSocketNotifier; class QSpinBox; class QSlider; @@ -69,11 +70,11 @@ void appendMessagesError(const QString& s); void appendMessagesClient(const QString& s); - ChannelStrip* createChannelStrip(Channel *pChannel); - void destroyChannelStrip(ChannelStrip* pChannelStrip); - ChannelStrip* activeChannelStrip(); - ChannelStrip* channelStripAt(int iChannel); - ChannelStrip* channelStrip(int iChannelID); + ChannelStrip *createChannelStrip(Channel *pChannel); + void destroyChannelStrip(ChannelStrip *pChannelStrip); + ChannelStrip *activeChannelStrip(); + ChannelStrip *channelStripAt(int iChannel); + ChannelStrip *channelStrip(int iChannelID); void contextMenuEvent(QContextMenuEvent *pEvent); @@ -123,7 +124,7 @@ void updateRecentFilesMenu(); // Channel strip activation/selection. - void activateStrip(QWidget *pWidget); + void activateStrip(QMdiSubWindow *pMdiSubWindow); protected: @@ -162,7 +163,7 @@ Options *m_pOptions; Messages *m_pMessages; - QWorkspace *m_pWorkspace; + QMdiArea *m_pWorkspace; QSocketNotifier *m_pUsr1Notifier; QString m_sFilename; int m_iUntitled;