projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement customizable cursor fill color
[pulseview.git]
/
pv
/
dialogs
/
inputoutputoptions.hpp
diff --git
a/pv/dialogs/inputoutputoptions.hpp
b/pv/dialogs/inputoutputoptions.hpp
index cde778c0456a76d37e67a076bc88b96db0c3fb09..be6d33080f699a245355ebc92ee7b493aade746d 100644
(file)
--- a/
pv/dialogs/inputoutputoptions.hpp
+++ b/
pv/dialogs/inputoutputoptions.hpp
@@
-14,8
+14,7
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_DIALOGS_INPUTOUTPUTOPTIONS_HPP
*/
#ifndef PULSEVIEW_PV_DIALOGS_INPUTOUTPUTOPTIONS_HPP
@@
-28,6
+27,10
@@
#include <pv/binding/inputoutput.hpp>
#include <pv/binding/inputoutput.hpp>
+using std::map;
+using std::shared_ptr;
+using std::string;
+
namespace pv {
namespace dialogs {
namespace pv {
namespace dialogs {
@@
-44,17
+47,16
@@
public:
* @param title the title of the dialog.
* @param options the map of options to use as a template.
* @param parent the parent widget of the dialog.
* @param title the title of the dialog.
* @param options the map of options to use as a template.
* @param parent the parent widget of the dialog.
- */
+ */
InputOutputOptions(const QString &title,
InputOutputOptions(const QString &title,
- const std::map<std::string, std::shared_ptr<sigrok::Option>>
- &options,
+ const map<string, shared_ptr<sigrok::Option>> &options,
QWidget *parent);
/**
* Gets the map of selected options.
* @return the options.
*/
QWidget *parent);
/**
* Gets the map of selected options.
* @return the options.
*/
- const
std::map<std::
string, Glib::VariantBase>& options() const;
+ const
map<
string, Glib::VariantBase>& options() const;
protected:
void accept();
protected:
void accept();