Jump to content

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

From KDE Wiki Sandbox

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