Rename KInstance and KAboutData to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 523e2ceee5
commit b3a60a4422

@ -68,9 +68,9 @@ LDAPConfig::LDAPConfig(TQWidget *parent, const char *name, const TQStringList&)
systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/ldap/ldapconfigrc" ));
systemconfig->setFileWriteMode(S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
KAboutData* about = new KAboutData("ldap", I18N_NOOP("TDE LDAP Manager"), "0.1",
TDEAboutData* about = new TDEAboutData("ldap", I18N_NOOP("TDE LDAP Manager"), "0.1",
I18N_NOOP("TDE LDAP Manager Control Panel Module"),
KAboutData::License_GPL,
TDEAboutData::License_GPL,
I18N_NOOP("(c) 2012 Timothy Pearson"), 0, 0);
about->addAuthor("Timothy Pearson", 0, "kb9vqf@pearsoncomputing.net");

@ -53,7 +53,7 @@ class LDAPConfig: public KCModule
virtual void defaults();
virtual int buttons();
virtual TQString quickHelp() const;
virtual const KAboutData *aboutData() const { return myAboutData; };
virtual const TDEAboutData *aboutData() const { return myAboutData; };
int bondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr=0);
int unbondRealm(LDAPRealmConfig realmcfg, TQString adminUserName, const char * adminPassword, TQString adminRealm, TQString *errstr=0);
@ -74,7 +74,7 @@ class LDAPConfig: public KCModule
void writePAMFiles();
private:
KAboutData *myAboutData;
TDEAboutData *myAboutData;
KGlobalSettings *kgs;
LDAPConfigBase *base;
LDAPRealmConfigList m_realms;

Loading…
Cancel
Save