Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ui
qt
widgets
range_syntax_lineedit.h
1
/* range_syntax_lineedit.h
2
* Delegates for editing prefereneces.
3
*
4
* Wireshark - Network traffic analyzer
5
* By Gerald Combs <gerald@wireshark.org>
6
* Copyright 1998 Gerald Combs
7
*
8
* SPDX-License-Identifier: GPL-2.0-or-later
9
*/
10
11
#ifndef RANGE_SYNTAX_LINEEDIT_H
12
#define RANGE_SYNTAX_LINEEDIT_H
13
14
#include <ui/qt/widgets/syntax_line_edit.h>
15
16
#include <QWidget>
17
18
class
RangeSyntaxLineEdit
:
public
SyntaxLineEdit
19
{
20
Q_OBJECT
21
public
:
22
explicit
RangeSyntaxLineEdit
(QWidget *parent = 0);
23
void
setMaxRange(
unsigned
int
max);
24
25
public
slots:
26
void
checkRange(QString range);
27
28
private
:
29
unsigned
int
maxRange_;
30
};
31
32
#endif // RANGE_SYNTAX_LINEEDIT_H
33
34
/*
35
* Editor modelines
36
*
37
* Local Variables:
38
* c-basic-offset: 4
39
* tab-width: 8
40
* indent-tabs-mode: nil
41
* End:
42
*
43
* ex: set shiftwidth=4 tabstop=8 expandtab:
44
* :indentSize=4:tabSize=8:noTabs=true:
45
*/
SyntaxLineEdit
Definition:
syntax_line_edit.h:22
RangeSyntaxLineEdit
Definition:
range_syntax_lineedit.h:18
Generated by
1.8.11