1 |
|
// qsamplerMainForm.cpp |
2 |
|
// |
3 |
|
/**************************************************************************** |
4 |
|
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
Copyright (C) 2007, Christian Schoenebeck |
6 |
|
|
7 |
|
This program is free software; you can redistribute it and/or |
8 |
|
modify it under the terms of the GNU General Public License |
9 |
|
as published by the Free Software Foundation; either version 2 |
10 |
|
of the License, or (at your option) any later version. |
11 |
|
|
12 |
|
This program is distributed in the hope that it will be useful, |
13 |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
|
GNU General Public License for more details. |
16 |
|
|
17 |
|
You should have received a copy of the GNU General Public License along |
18 |
|
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
|
21 |
|
*****************************************************************************/ |
22 |
|
|
23 |
#include "qsamplerMainForm.h" |
#include "qsamplerMainForm.h" |
24 |
|
|
25 |
#include <qapplication.h> |
#include <qapplication.h> |
1651 |
sText += "<br />\n"; |
sText += "<br />\n"; |
1652 |
sText += "<small>"; |
sText += "<small>"; |
1653 |
sText += QSAMPLER_COPYRIGHT "<br />\n"; |
sText += QSAMPLER_COPYRIGHT "<br />\n"; |
1654 |
|
sText += QSAMPLER_COPYRIGHT2 "<br />\n"; |
1655 |
sText += "<br />\n"; |
sText += "<br />\n"; |
1656 |
sText += tr("This program is free software; you can redistribute it and/or modify it") + "<br />\n"; |
sText += tr("This program is free software; you can redistribute it and/or modify it") + "<br />\n"; |
1657 |
sText += tr("under the terms of the GNU General Public License version 2 or later."); |
sText += tr("under the terms of the GNU General Public License version 2 or later."); |
1733 |
|
|
1734 |
// Recent files menu. |
// Recent files menu. |
1735 |
m_pRecentFilesMenu->setEnabled(bHasClient && m_pOptions->recentFiles.count() > 0); |
m_pRecentFilesMenu->setEnabled(bHasClient && m_pOptions->recentFiles.count() > 0); |
|
|
|
|
// Always make the latest message visible. |
|
|
if (m_pMessages) |
|
|
m_pMessages->scrollToBottom(); |
|
1736 |
} |
} |
1737 |
|
|
1738 |
|
|
2538 |
} |
} |
2539 |
|
|
2540 |
} // namespace QSampler |
} // namespace QSampler |
2541 |
|
|
2542 |
|
|
2543 |
|
// end of qsamplerMainForm.cpp |