Translations:KDevelop5/Manual/Code generation with templates/73/da

// 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>


This page was last edited on 7 April 2020, at 11:03. Content is available under Creative Commons License SA 4.0 unless otherwise noted.