Translations:KDevelop5/Manual/Code generation with templates/73/en: Difference between revisions
Appearance
Importing a new version from external source |
Importing a new version from external source |
||
Line 9: | Line 9: | ||
private: | private: | ||
Transportation::Bus m_bus; | Transportation::Bus m_bus; | ||
};</ | };</syntaxhighlight> |
Latest revision as of 08:38, 2 April 2020
// each private slot is a test private slots:
// -- tests to run on slots -- void testNumberOfPassengers(); void testNameOfDriver(); // -- tests to run on signals -- void testNumberOfPassengersChanged(); void testNameOfDriverChanged();
private:
Transportation::Bus m_bus;
};</syntaxhighlight>