1 |
// qsamplerOptions.h |
// qsamplerOptions.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
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 |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
23 |
#ifndef __qsamplerOptions_h |
#ifndef __qsamplerOptions_h |
24 |
#define __qsamplerOptions_h |
#define __qsamplerOptions_h |
25 |
|
|
26 |
#include <qsettings.h> |
#include <QSettings> |
27 |
|
#include <QStringList> |
28 |
|
|
29 |
|
|
30 |
class QWidget; |
class QWidget; |
31 |
class QComboBox; |
class QComboBox; |
105 |
void loadWidgetGeometry(QWidget *pWidget); |
void loadWidgetGeometry(QWidget *pWidget); |
106 |
|
|
107 |
// Combo box history persistence helper prototypes. |
// Combo box history persistence helper prototypes. |
|
void add2ComboBoxHistory(QComboBox *pComboBox, const QString& sNewText, int iLimit = 8, int iIndex = -1); |
|
108 |
void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |
void loadComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |
109 |
void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |
void saveComboBoxHistory(QComboBox *pComboBox, int iLimit = 8); |
110 |
|
|