Compare commits

...

7 Commits

Author SHA1 Message Date
Michele Calgaro 81b3ec1e1d
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 356dd5b10f)
1 year ago
Michele Calgaro 099c3ec142
Replace kdemacros.h with tdemacros.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a15d47732e)
1 year ago
Michele Calgaro 5c301750a4
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b03faff449)
1 year ago
Michele Calgaro 6c4cb0e360
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9d769bab04)
1 year ago
Michele Calgaro 1090c87487
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3fc205a151)
2 years ago
Slávek Banko 5ba476079c
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 613dff1a86)
2 years ago
Michele Calgaro eca4e0c22a
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e3ae8c54a1)
2 years ago

@ -7,7 +7,11 @@
############################################ ############################################
cmake_minimum_required( VERSION 3.1 ) ##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup #### general package setup
@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros ) include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths ##### setup install paths
include( TDESetupPaths ) include( TDESetupPaths )

@ -115,7 +115,7 @@ endif( )
tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${TDE_INCLUDE_DIR}" ) tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${TDE_INCLUDE_DIR}" )
check_cxx_source_compiles( " check_cxx_source_compiles( "
#include <kdemacros.h> #include <tdemacros.h>
#ifndef __TDE_HAVE_TDEHWLIB #ifndef __TDE_HAVE_TDEHWLIB
#error tdecore is not build with tdehwlib #error tdecore is not build with tdehwlib
#endif #endif

@ -1,7 +1,7 @@
#define VERSION "@VERSION@" #define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support. // Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1 #cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */ significant byte first (like Motorola and SPARC, unlike Intel). */

@ -30,7 +30,7 @@ class TQStringList;
*/ */
class LDAPLogin : public LDAPLoginDlg { class LDAPLogin : public LDAPLoginDlg {
Q_OBJECT TQ_OBJECT
public: public:
LDAPLogin(TQWidget *parent=0, const char *name=0); LDAPLogin(TQWidget *parent=0, const char *name=0);
~LDAPLogin(); ~LDAPLogin();

@ -26,9 +26,9 @@
class LDAPLogin; class LDAPLogin;
class KDE_EXPORT LDAPPasswordDialog : public KDialogBase class TDE_EXPORT LDAPPasswordDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
LDAPPasswordDialog(TQWidget* parent = 0, const char* name = 0, bool allowGSSAPI = true, bool allowSmartCard = false); LDAPPasswordDialog(TQWidget* parent = 0, const char* name = 0, bool allowGSSAPI = true, bool allowSmartCard = false);

@ -1081,7 +1081,7 @@ int LDAPManager::updateUserInfo(LDAPUserInfo user, TQString *errstr) {
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata); KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) { if (cert) {
bool expired = false; bool expired = false;
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) { if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true; expired = true;
} }
@ -4766,7 +4766,7 @@ int LDAPManager::generatePKICRL(int expirydays, LDAPRealmConfig realmcfg, TQStri
KSSLCertificate* cert = KSSLCertificate::fromString(ssldata); KSSLCertificate* cert = KSSLCertificate::fromString(ssldata);
if (cert) { if (cert) {
bool expired = false; bool expired = false;
if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) { if (TQDateTime::currentDateTime(TQt::UTC) > cert->getQDTNotAfter()) {
expired = true; expired = true;
} }

@ -168,7 +168,7 @@ typedef TQValueList<TQByteArray> TQByteArrayList;
typedef TQPair<uint32_t, TQByteArray> PKICertificateEntry; typedef TQPair<uint32_t, TQByteArray> PKICertificateEntry;
typedef TQValueList<PKICertificateEntry> PKICertificateEntryList; typedef TQValueList<PKICertificateEntry> PKICertificateEntryList;
class KDE_EXPORT LDAPCredentials class TDE_EXPORT LDAPCredentials
{ {
public: public:
LDAPCredentials(); LDAPCredentials();
@ -185,7 +185,7 @@ class KDE_EXPORT LDAPCredentials
}; };
// PRIVATE // PRIVATE
class KDE_EXPORT LDAPRealmConfig class TDE_EXPORT LDAPRealmConfig
{ {
public: public:
TQString name; TQString name;
@ -205,7 +205,7 @@ class KDE_EXPORT LDAPRealmConfig
}; };
// PRIVATE // PRIVATE
class KDE_EXPORT LDAPCertConfig class TDE_EXPORT LDAPCertConfig
{ {
public: public:
LDAPCertConfig(); LDAPCertConfig();
@ -235,7 +235,7 @@ class KDE_EXPORT LDAPCertConfig
}; };
// PRIVATE // PRIVATE
class KDE_EXPORT LDAPPamConfig class TDE_EXPORT LDAPPamConfig
{ {
public: public:
LDAPPamConfig(); LDAPPamConfig();
@ -251,7 +251,7 @@ class KDE_EXPORT LDAPPamConfig
}; };
// PRIVATE // PRIVATE
class KDE_EXPORT LDAPClientRealmConfig class TDE_EXPORT LDAPClientRealmConfig
{ {
public: public:
bool enable_bonding; bool enable_bonding;
@ -274,7 +274,7 @@ class KDE_EXPORT LDAPClientRealmConfig
typedef TQMap<TQString, LDAPRealmConfig> LDAPRealmConfigList; typedef TQMap<TQString, LDAPRealmConfig> LDAPRealmConfigList;
class KDE_EXPORT LDAPUserInfo class TDE_EXPORT LDAPUserInfo
{ {
public: public:
LDAPUserInfo(); LDAPUserInfo();
@ -357,7 +357,7 @@ class KDE_EXPORT LDAPUserInfo
PKICertificateEntryList pkiCertificates; PKICertificateEntryList pkiCertificates;
}; };
class KDE_EXPORT LDAPGroupInfo class TDE_EXPORT LDAPGroupInfo
{ {
public: public:
LDAPGroupInfo(); LDAPGroupInfo();
@ -374,7 +374,7 @@ class KDE_EXPORT LDAPGroupInfo
TQStringList userlist; TQStringList userlist;
}; };
class KDE_EXPORT LDAPMachineInfo class TDE_EXPORT LDAPMachineInfo
{ {
public: public:
LDAPMachineInfo(); LDAPMachineInfo();
@ -391,7 +391,7 @@ class KDE_EXPORT LDAPMachineInfo
LDAPKRB5Flags status; // Default is 126 [KRB5_MACHINE_ACCOUNT_DEFAULT] LDAPKRB5Flags status; // Default is 126 [KRB5_MACHINE_ACCOUNT_DEFAULT]
}; };
class KDE_EXPORT LDAPServiceInfo class TDE_EXPORT LDAPServiceInfo
{ {
public: public:
LDAPServiceInfo(); LDAPServiceInfo();
@ -409,7 +409,7 @@ class KDE_EXPORT LDAPServiceInfo
LDAPKRB5Flags status; // Default is 126 [KRB5_SERVICE_PRINCIPAL_DEFAULT] LDAPKRB5Flags status; // Default is 126 [KRB5_SERVICE_PRINCIPAL_DEFAULT]
}; };
class KDE_EXPORT LDAPTDEBuiltinsInfo class TDE_EXPORT LDAPTDEBuiltinsInfo
{ {
public: public:
LDAPTDEBuiltinsInfo(); LDAPTDEBuiltinsInfo();
@ -423,7 +423,7 @@ class KDE_EXPORT LDAPTDEBuiltinsInfo
TQString builtinStandardUserGroup; TQString builtinStandardUserGroup;
}; };
class KDE_EXPORT LDAPMasterReplicationMapping class TDE_EXPORT LDAPMasterReplicationMapping
{ {
public: public:
LDAPMasterReplicationMapping(); LDAPMasterReplicationMapping();
@ -436,7 +436,7 @@ class KDE_EXPORT LDAPMasterReplicationMapping
typedef TQValueList<LDAPMasterReplicationMapping> LDAPMasterReplicationMap; typedef TQValueList<LDAPMasterReplicationMapping> LDAPMasterReplicationMap;
class KDE_EXPORT LDAPMasterReplicationInfo class TDE_EXPORT LDAPMasterReplicationInfo
{ {
public: public:
LDAPMasterReplicationInfo(); LDAPMasterReplicationInfo();
@ -457,7 +457,7 @@ class KDE_EXPORT LDAPMasterReplicationInfo
bool replicate_olcGlobal; bool replicate_olcGlobal;
}; };
class KDE_EXPORT KerberosTicketInfo class TDE_EXPORT KerberosTicketInfo
{ {
public: public:
KerberosTicketInfo(); KerberosTicketInfo();
@ -488,8 +488,8 @@ typedef TQValueList<KerberosTicketInfo> KerberosTicketInfoList;
class PtyProcess; class PtyProcess;
class KDE_EXPORT LDAPManager : public TQObject { class TDE_EXPORT LDAPManager : public TQObject {
Q_OBJECT TQ_OBJECT
public: public:
LDAPManager(TQString realm, TQString host, TQObject *parent=0, const char *name=0); LDAPManager(TQString realm, TQString host, TQObject *parent=0, const char *name=0);

Loading…
Cancel
Save