Compare commits

..

6 Commits

Author SHA1 Message Date
Michele Calgaro e896e34d43
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 months ago
Michele Calgaro 0b1a1ab899
Make sure TQ_EXPORT is defined before it is used
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 months ago
Michele Calgaro b2e6bdba6c
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 7c53a87adc
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 7e4828f14a
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 5b62278a4b
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago

@ -88,7 +88,7 @@ PkExample::PkExample() : TQMainWindow(nullptr, "Polkit tqt example application",
grid->addWidget(deletePB, 5, 1);
deleteL_2 = new TQLabel(privateLayoutWidget, "deleteL_2");
setCB = new TQComboBox(FALSE, privateLayoutWidget, "setCB");
setCB = new TQComboBox(false, privateLayoutWidget, "setCB");
grid->addMultiCellWidget(deleteL_2, 6, 7, 0, 0);
grid->addWidget(setCB, 6, 1);

@ -216,7 +216,7 @@ bool Action::activate()
if (d->noEnabled)
{
/* If PolicyKit says no... and we got here.. it means
* that the user set the property "no-enabled" to TRUE..
* that the user set the property "no-enabled" to true..
* Hence, they probably have a good reason for doing
* this so do let the 'activate' signal propagate..
*/

@ -22,6 +22,8 @@
#ifndef POLKIT_TQT_EXPORT_H
#define POLKIT_TQT_EXPORT_H
#include <tqglobal.h>
#define POLKIT_TQT_EXPORT TQ_EXPORT
#endif

Loading…
Cancel
Save