Skip to content

overload with method that don't use QString#65

Merged
iurimatias merged 1 commit into
masterfrom
add_qt_string_equivalents2
May 21, 2026
Merged

overload with method that don't use QString#65
iurimatias merged 1 commit into
masterfrom
add_qt_string_equivalents2

Conversation

@iurimatias
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 19:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the LogosAPI public interface with additional constructor overloads so callers can instantiate LogosAPI using const char* or std::string while also providing an explicit LogosTransportSet, without having to manually construct a QString.

Changes:

  • Added LogosAPI(const char*, LogosTransportSet, QObject*) delegating constructor.
  • Added LogosAPI(const std::string&, LogosTransportSet, QObject*) delegating constructor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cpp/logos_api.h
Comment on lines +121 to +123
LogosAPI(const char* module_name, LogosTransportSet transports, QObject *parent = nullptr)
: LogosAPI(QString(module_name), std::move(transports), parent) {}

@iurimatias iurimatias merged commit 3eea564 into master May 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants