Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define RVIZ_COMMON__PROPERTIES__ROS_ACTION_PROPERTY_HPP_

#include <QObject>
#include <QRegExp>
#include <QRegularExpression>
#include <QString>

#include <memory>
Expand Down Expand Up @@ -90,20 +90,20 @@ class RVIZ_COMMON_PUBLIC RosFilteredActionProperty
const QString & default_value = QString(),
const QString & action_type = QString(),
const QString & description = QString(),
const QRegExp & filter = QRegExp(),
const QRegularExpression & filter = QRegularExpression(),
Property * parent = 0,
const char * changed_slot = 0,
QObject * receiver = 0);

void enableFilter(bool enabled);

QRegExp filter() const;
QRegularExpression filter() const;

protected Q_SLOTS:
void fillActionList() override;

private:
QRegExp filter_;
QRegularExpression filter_;
bool filter_enabled_;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define RVIZ_COMMON__PROPERTIES__ROS_SERVICE_PROPERTY_HPP_

#include <QObject>
#include <QRegExp>
#include <QRegularExpression>
#include <QString>

#include <memory>
Expand Down Expand Up @@ -90,20 +90,20 @@ class RVIZ_COMMON_PUBLIC RosFilteredServiceProperty
const QString & default_value = QString(),
const QString & service_type = QString(),
const QString & description = QString(),
const QRegExp & filter = QRegExp(),
const QRegularExpression & filter = QRegularExpression(),
Property * parent = 0,
const char * changed_slot = 0,
QObject * receiver = 0);

void enableFilter(bool enabled);

QRegExp filter() const;
QRegularExpression filter() const;

protected Q_SLOTS:
void fillServiceList() override;

private:
QRegExp filter_;
QRegularExpression filter_;
bool filter_enabled_;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include <QApplication> // NOLINT: cpplint can't handle Qt imports
#include <QObject> // NOLINT: cpplint can't handle Qt imports
#include <QRegExp> // NOLINT: cpplint can't handle Qt imports
#include <QRegularExpression> // NOLINT: cpplint can't handle Qt imports
#include <QString> // NOLINT: cpplint can't handle Qt imports
#include <QStringList> // NOLINT: cpplint can't handle Qt imports

Expand Down Expand Up @@ -121,7 +121,7 @@ RosFilteredActionProperty::RosFilteredActionProperty(
const QString & default_value,
const QString & action_type,
const QString & description,
const QRegExp & filter,
const QRegularExpression & filter,
Property * parent,
const char * changed_slot,
QObject * receiver)
Expand All @@ -137,7 +137,7 @@ void RosFilteredActionProperty::enableFilter(bool enabled)
fillActionList();
}

QRegExp RosFilteredActionProperty::filter() const
QRegularExpression RosFilteredActionProperty::filter() const
{
return filter_;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include <QApplication> // NOLINT: cpplint can't handle Qt imports
#include <QObject> // NOLINT: cpplint can't handle Qt imports
#include <QRegExp> // NOLINT: cpplint can't handle Qt imports
#include <QRegularExpression> // NOLINT: cpplint can't handle Qt imports
#include <QString> // NOLINT: cpplint can't handle Qt imports
#include <QStringList> // NOLINT: cpplint can't handle Qt imports

Expand Down Expand Up @@ -119,7 +119,7 @@ RosFilteredServiceProperty::RosFilteredServiceProperty(
const QString & default_value,
const QString & service_type,
const QString & description,
const QRegExp & filter,
const QRegularExpression & filter,
Property * parent,
const char * changed_slot,
QObject * receiver)
Expand All @@ -135,7 +135,7 @@ void RosFilteredServiceProperty::enableFilter(bool enabled)
fillServiceList();
}

QRegExp RosFilteredServiceProperty::filter() const
QRegularExpression RosFilteredServiceProperty::filter() const
{
return filter_;
}
Expand Down