Add emit prefix to generated signal emitting methods
This commit is contained in:
1 parent
dbeaf87208
commit
fbb5242729
7 files changed
+17
-10
No files matched your search
@@ -552,7 +552,7 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
void concatenated(const std::string& concatenatedString)
|
||||
void emitConcatenated(const std::string& concatenatedString)
|
||||
{
|
||||
object_.emitSignal("concatenated").onInterface(INTERFACE_NAME).withArguments(concatenatedString);
|
||||
}
|
||||
@@ -666,7 +666,7 @@ protected:
|
||||
}
|
||||
|
||||
// Emit the 'concatenated' signal with the resulting string
|
||||
concatenated(result);
|
||||
emitConcatenated(result);
|
||||
|
||||
// Return the resulting string
|
||||
return result;
|
||||
@@ -869,7 +869,7 @@ void concatenate(sdbus::Result<std::string>&& result, std::vector<int32_t> numbe
|
||||
methodResult.returnReply(result);
|
||||
|
||||
// Emit the 'concatenated' signal with the resulting string
|
||||
this->concatenated(result);
|
||||
this->emitConcatenated(result);
|
||||
}).detach();
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user