Translations:KDevelop5/Manual/Code generation with templates/73/en: Difference between revisions

From KDE UserBase Wiki
(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;
};</nowiki>}}
};</syntaxhighlight>

Latest revision as of 08:38, 2 April 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (KDevelop5/Manual/Code generation with templates)
// 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>

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