[Konversation-devel] Fwd: KDialog::spacingHint

Eike Hein hein at kde.org
Sun Aug 10 17:57:05 UTC 2014


This thread on kde-frameworks-devel is relevant to us (we have tons
of spacingHint uses in the code).

-------- Original Message --------
Subject: KDialog::spacingHint
Date: Sun, 10 Aug 2014 10:04:34 -0400
From: David Narvaez <david.narvaez at computer.org>
Reply-To: kde-frameworks-devel at kde.org
To: KDE Frameworks <kde-frameworks-devel at kde.org>

Hi,

What's the correct way to port away from KDialog::spacingHint? I read
the sources of it in KDELibs 4 and replaced it with

QApplication::style()->pixelMetric( QStyle::PM_DefaultLayoutSpacing )

is that OK?

David E. Narvaez
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel at kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel




More information about the Konversation-devel mailing list