kdecore: disable copying of KServiceTypeTrader via Q_DISABLE_COPY() macro

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-11 08:08:06 +02:00
parent b43da6504e
commit c22292b849
2 changed files with 1 additions and 11 deletions

View file

@ -39,10 +39,6 @@ KServiceTypeTrader::KServiceTypeTrader()
{
}
KServiceTypeTrader::~KServiceTypeTrader()
{
}
// shared with KMimeTypeTrader
void KServiceTypeTrader::applyConstraints( KService::List& lst,
const QString& constraint )

View file

@ -70,11 +70,6 @@
class KDECORE_EXPORT KServiceTypeTrader
{
public:
/**
* Standard destructor
*/
~KServiceTypeTrader();
/**
* The main function in the KServiceTypeTrader class.
*
@ -198,8 +193,7 @@ private:
KServiceTypeTrader();
// dissalow copy ctor and assignment operator
KServiceTypeTrader( const KServiceTypeTrader& other );
KServiceTypeTrader& operator=( const KServiceTypeTrader& rhs );
Q_DISABLE_COPY(KServiceTypeTrader);
};
#endif