Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/47/head
Michele Calgaro 7 months ago
parent 977c5266d3
commit 10f886b2fa
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -35,7 +35,7 @@ static TDECmdLineOptions options[] =
}; };
extern "C" KDE_EXPORT int kdemain(int argc, char** argv) extern "C" TDE_EXPORT int kdemain(int argc, char** argv)
{ {
TDEAboutData about("cvsaskpass", I18N_NOOP("cvsaskpass"), "0.1", TDEAboutData about("cvsaskpass", I18N_NOOP("cvsaskpass"), "0.1",
I18N_NOOP("ssh-askpass for the CVS DCOP Service"), I18N_NOOP("ssh-askpass for the CVS DCOP Service"),

@ -29,7 +29,7 @@
class TDEProcess; class TDEProcess;
class KDE_EXPORT CvsJob : public TQObject, public DCOPObject class TDE_EXPORT CvsJob : public TQObject, public DCOPObject
{ {
TQ_OBJECT TQ_OBJECT
// //

@ -28,7 +28,7 @@
class TQString; class TQString;
class KDE_EXPORT CvsService : public DCOPObject class TDE_EXPORT CvsService : public DCOPObject
{ {
K_DCOP K_DCOP

@ -25,7 +25,7 @@
#include "cvsservice.h" #include "cvsservice.h"
extern "C" KDE_EXPORT int kdemain(int argc, char** argv) extern "C" TDE_EXPORT int kdemain(int argc, char** argv)
{ {
TDEAboutData about("cvsservice", I18N_NOOP("CVS DCOP service"), "0.1", TDEAboutData about("cvsservice", I18N_NOOP("CVS DCOP service"), "0.1",
I18N_NOOP("DCOP service for CVS"), TDEAboutData::License_LGPL, I18N_NOOP("DCOP service for CVS"), TDEAboutData::License_LGPL,

@ -31,7 +31,7 @@ class TQString;
* Represents a local or remote cvs repository with * Represents a local or remote cvs repository with
* its repository-specific configuration data. * its repository-specific configuration data.
*/ */
class KDE_EXPORT Repository : public TQObject, public DCOPObject class TDE_EXPORT Repository : public TQObject, public DCOPObject
{ {
K_DCOP K_DCOP
TQ_OBJECT TQ_OBJECT

@ -137,7 +137,7 @@ static int ShowAnnotateDialog(const TQString& fileName)
} }
extern "C" KDE_EXPORT int kdemain(int argc, char **argv) extern "C" TDE_EXPORT int kdemain(int argc, char **argv)
{ {
static TDECmdLineOptions options[] = { static TDECmdLineOptions options[] = {
{ "+[directory]", I18N_NOOP("The sandbox to be loaded"), 0 }, { "+[directory]", I18N_NOOP("The sandbox to be loaded"), 0 },

@ -50,7 +50,7 @@ using namespace KBabel;
extern "C" extern "C"
{ {
KDE_EXPORT ThumbCreator *new_creator() TDE_EXPORT ThumbCreator *new_creator()
{ {
return new PoThumbCreator; return new PoThumbCreator;
} }

@ -107,7 +107,7 @@ struct DiffEntry
* @short Class, that represents a translation catalog(po-file) * @short Class, that represents a translation catalog(po-file)
* @author Matthias Kiefer <matthias.kiefer@gmx.de> * @author Matthias Kiefer <matthias.kiefer@gmx.de>
*/ */
class KDE_EXPORT Catalog : public TQObject class TDE_EXPORT Catalog : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -79,7 +79,7 @@ enum ConversionStatus {
* @short Base class for Catalog import plugins * @short Base class for Catalog import plugins
* @author Stanislav Visnovsky <visnovsky@kde.org> * @author Stanislav Visnovsky <visnovsky@kde.org>
*/ */
class KDE_EXPORT CatalogImportPlugin: public TQObject class TDE_EXPORT CatalogImportPlugin: public TQObject
{ {
TQ_OBJECT TQ_OBJECT
@ -175,7 +175,7 @@ private:
* @short Base class for Catalog export plugins * @short Base class for Catalog export plugins
* @author Stanislav Visnovsky <visnovsky@kde.org> * @author Stanislav Visnovsky <visnovsky@kde.org>
*/ */
class KDE_EXPORT CatalogExportPlugin: public TQObject class TDE_EXPORT CatalogExportPlugin: public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -60,7 +60,7 @@ class CatalogItemPrivate;
* @short Class, representing an entry in a catalog * @short Class, representing an entry in a catalog
* @author Matthias Kiefer <matthias.kiefer@gmx.de> * @author Matthias Kiefer <matthias.kiefer@gmx.de>
*/ */
class KDE_EXPORT CatalogItem class TDE_EXPORT CatalogItem
{ {
public: public:

@ -45,7 +45,7 @@ class TQStringList;
namespace KBabel namespace KBabel
{ {
struct KDE_EXPORT SaveSettings struct TDE_EXPORT SaveSettings
{ {
bool autoUpdate; bool autoUpdate;
bool updateLastTranslator; bool updateLastTranslator;
@ -74,7 +74,7 @@ struct KDE_EXPORT SaveSettings
int autoSaveDelay; int autoSaveDelay;
}; };
struct KDE_EXPORT IdentitySettings struct TDE_EXPORT IdentitySettings
{ {
TQString authorName; TQString authorName;
TQString authorLocalizedName; TQString authorLocalizedName;
@ -98,7 +98,7 @@ struct KDE_EXPORT IdentitySettings
}; };
struct KDE_EXPORT MiscSettings struct TDE_EXPORT MiscSettings
{ {
/** /**
* The char, that marks keyboard accelerators. * The char, that marks keyboard accelerators.
@ -144,13 +144,13 @@ struct TagSettings
TQStringList argExpressions; TQStringList argExpressions;
}; };
KDE_EXPORT TQString charsetString(const int encoding); TDE_EXPORT TQString charsetString(const int encoding);
KDE_EXPORT TQString charsetString(const TQTextCodec *codec); TDE_EXPORT TQString charsetString(const TQTextCodec *codec);
KDE_EXPORT TQString GNUPluralForms(const TQString& lang); TDE_EXPORT TQString GNUPluralForms(const TQString& lang);
namespace Defaults namespace Defaults
{ {
class KDE_EXPORT Identity class TDE_EXPORT Identity
{ {
public: public:
static TQString authorName(); static TQString authorName();
@ -161,7 +161,7 @@ namespace Defaults
static TQString timezone(); static TQString timezone();
}; };
class KDE_EXPORT Tag class TDE_EXPORT Tag
{ {
public: public:
static TQStringList tagExpressions(); static TQStringList tagExpressions();

@ -40,7 +40,7 @@
namespace KBabel namespace KBabel
{ {
class KDE_EXPORT EditCommand class TDE_EXPORT EditCommand
{ {
public: public:
enum Commands { Invalid, Begin, End, Insert, Delete }; enum Commands { Invalid, Begin, End, Insert, Delete };
@ -64,7 +64,7 @@ private:
}; };
class KDE_EXPORT BeginCommand : public EditCommand class TDE_EXPORT BeginCommand : public EditCommand
{ {
public: public:
BeginCommand( const int index, const Part part ) : EditCommand(index,part) {} BeginCommand( const int index, const Part part ) : EditCommand(index,part) {}
@ -73,7 +73,7 @@ public:
}; };
class KDE_EXPORT EndCommand : public EditCommand class TDE_EXPORT EndCommand : public EditCommand
{ {
public: public:
EndCommand( const int index, const Part part ) : EditCommand(index,part) {} EndCommand( const int index, const Part part ) : EditCommand(index,part) {}
@ -83,7 +83,7 @@ public:
class KDE_EXPORT DelTextCmd : public EditCommand class TDE_EXPORT DelTextCmd : public EditCommand
{ {
public: public:
int offset; int offset;
@ -97,7 +97,7 @@ public:
bool merge( EditCommand* other); bool merge( EditCommand* other);
}; };
class KDE_EXPORT InsTextCmd : public DelTextCmd class TDE_EXPORT InsTextCmd : public DelTextCmd
{ {
public: public:

@ -56,7 +56,7 @@ namespace KBabel
* *
* @internal * @internal
*/ */
class KDE_EXPORT KBabelMailer class TDE_EXPORT KBabelMailer
{ {
public: public:
/** /**

@ -43,7 +43,7 @@ namespace KBabel
{ {
class ProjectSettingsBase; class ProjectSettingsBase;
class KDE_EXPORT Project : public TQObject, public TDEShared class TDE_EXPORT Project : public TQObject, public TDEShared
{ {
TQ_OBJECT TQ_OBJECT

@ -42,7 +42,7 @@
namespace KBabel namespace KBabel
{ {
class KDE_EXPORT ProjectManager class TDE_EXPORT ProjectManager
{ {
public: public:
static Project::Ptr open( const TQString& file ); static Project::Ptr open( const TQString& file );

@ -42,7 +42,7 @@ class TQString;
namespace KBabel namespace KBabel
{ {
class KDE_EXPORT Msgfmt : private TQObject class TDE_EXPORT Msgfmt : private TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -57,7 +57,7 @@ class FindOptions;
/** /**
* PO-file information class, with transparent caching of information. * PO-file information class, with transparent caching of information.
*/ */
class KDE_EXPORT PoInfo class TDE_EXPORT PoInfo
{ {
public: public:
int total; int total;

@ -117,7 +117,7 @@ struct SourceContextSettings
*/ */
namespace Defaults namespace Defaults
{ {
class KDE_EXPORT Spellcheck class TDE_EXPORT Spellcheck
{ {
public: public:
static TQString ignoreURL(); static TQString ignoreURL();
@ -130,7 +130,7 @@ namespace Defaults
static KSpellConfig* defaultsettings; static KSpellConfig* defaultsettings;
}; };
class KDE_EXPORT CatalogManager class TDE_EXPORT CatalogManager
{ {
public: public:
static TQString ignoreURL(); static TQString ignoreURL();

@ -44,7 +44,7 @@
namespace KBabel namespace KBabel
{ {
struct KDE_EXPORT MatchedEntryInfo{ struct TDE_EXPORT MatchedEntryInfo{
uint index; uint index;
TQString extracted; TQString extracted;
}; };
@ -54,7 +54,7 @@ struct KDE_EXPORT MatchedEntryInfo{
* class to extract entries based on regexps from a string * class to extract entries based on regexps from a string
* @author Andrea Rizzi <rizzi@kde.org> * @author Andrea Rizzi <rizzi@kde.org>
*/ */
class KDE_EXPORT RegExpExtractor class TDE_EXPORT RegExpExtractor
{ {
public: public:

@ -43,7 +43,7 @@ namespace KBabel
* class to extract tags from a string * class to extract tags from a string
* @author Andrea Rizzi <rizzi@kde.org> * @author Andrea Rizzi <rizzi@kde.org>
*/ */
class KDE_EXPORT TagExtractor : public RegExpExtractor class TDE_EXPORT TagExtractor : public RegExpExtractor
{ {
public: public:

@ -74,7 +74,7 @@ struct ContextInfo
* @note It requires a KPart implementing KTextEditor interface with selections. * @note It requires a KPart implementing KTextEditor interface with selections.
* @author Stanislav Visnovsky <visnovsky@kde.org> * @author Stanislav Visnovsky <visnovsky@kde.org>
*/ */
class KDE_EXPORT SourceContext : public TQWidget class TDE_EXPORT SourceContext : public TQWidget
{ {
TQ_OBJECT TQ_OBJECT

@ -44,7 +44,7 @@ class KComboBox;
#include "findoptions.h" #include "findoptions.h"
class KDE_EXPORT FindDialog : public KDialogBase class TDE_EXPORT FindDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT
@ -120,7 +120,7 @@ private:
bool _replaceDlg; bool _replaceDlg;
}; };
class KDE_EXPORT ReplaceDialog : public KDialogBase class TDE_EXPORT ReplaceDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -55,7 +55,7 @@ class DiffPreferences;
namespace KBabel { namespace KBabel {
class KDE_EXPORT ProjectDialog : public TDEConfigDialog class TDE_EXPORT ProjectDialog : public TDEConfigDialog
{ {
TQ_OBJECT TQ_OBJECT

@ -62,7 +62,7 @@ class KURLRequester;
struct ModuleInfo; struct ModuleInfo;
class KDE_EXPORT SavePreferences : public KTabCtl class TDE_EXPORT SavePreferences : public KTabCtl
{ {
TQ_OBJECT TQ_OBJECT

@ -45,7 +45,7 @@ class ProjectStep2;
namespace KBabel { namespace KBabel {
class KDE_EXPORT ProjectWizard : public KWizard class TDE_EXPORT ProjectWizard : public KWizard
{ {
TQ_OBJECT TQ_OBJECT

@ -50,7 +50,7 @@ class TQHButtonGroup;
class TQRadioButton; class TQRadioButton;
class TQVBox; class TQVBox;
class KDE_EXPORT RoughTransDlg : public KDialogBase class TDE_EXPORT RoughTransDlg : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -39,7 +39,7 @@
class TDEShortcut; class TDEShortcut;
class TDEActionCollection; class TDEActionCollection;
class KDE_EXPORT ToolAction : public TDEAction class TDE_EXPORT ToolAction : public TDEAction
{ {
TQ_OBJECT TQ_OBJECT

@ -37,7 +37,7 @@
class KDataToolInfo; class KDataToolInfo;
class KDE_EXPORT ToolSelectionWidget : public TDEActionSelector class TDE_EXPORT ToolSelectionWidget : public TDEActionSelector
{ {
TQ_OBJECT TQ_OBJECT

@ -47,7 +47,7 @@ class TQPushButton;
class TQListBoxItem; class TQListBoxItem;
class KDE_EXPORT DictChooser : public TQWidget class TDE_EXPORT DictChooser : public TQWidget
{ {
TQ_OBJECT TQ_OBJECT

@ -43,7 +43,7 @@ class TQSignalMapper;
class TDEPopupMenu; class TDEPopupMenu;
class TDEActionCollection; class TDEActionCollection;
class KDE_EXPORT DictionaryMenu : public TQObject class TDE_EXPORT DictionaryMenu : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -60,7 +60,7 @@ struct ModuleInfo
}; };
class KDE_EXPORT KBabelDictBox : public TQWidget, virtual public KBabelDictIFace class TDE_EXPORT KBabelDictBox : public TQWidget, virtual public KBabelDictIFace
{ {
TQ_OBJECT TQ_OBJECT

@ -10,7 +10,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kbabeldict_dbsearchengine() TDE_EXPORT void *init_kbabeldict_dbsearchengine()
{ {
return new DbSeFactory; return new DbSeFactory;
} }

@ -10,7 +10,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kbabeldict_dbsearchengine2() TDE_EXPORT void *init_kbabeldict_dbsearchengine2()
// void *init_libdbsearchengine2() // void *init_libdbsearchengine2()
{ {
return new DbSe2Factory; return new DbSe2Factory;

@ -43,7 +43,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kbabeldict_poauxiliary() TDE_EXPORT void *init_kbabeldict_poauxiliary()
{ {
return new PaFactory; return new PaFactory;
} }

@ -43,7 +43,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kbabeldict_pocompendium() TDE_EXPORT void *init_kbabeldict_pocompendium()
{ {
return new PcFactory; return new PcFactory;
} }

@ -43,7 +43,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kbabeldict_tmxcompendium() TDE_EXPORT void *init_kbabeldict_tmxcompendium()
{ {
return new PcFactory; return new PcFactory;
} }

@ -48,7 +48,7 @@
* Information, that is not available in a specific implementation of * Information, that is not available in a specific implementation of
* the SearchEngine, should be left empty. * the SearchEngine, should be left empty.
*/ */
class KDE_EXPORT TranslationInfo class TDE_EXPORT TranslationInfo
{ {
public: public:
/** /**
@ -107,7 +107,7 @@ public:
* plus additional information where it was found, * plus additional information where it was found,
* the date and time of the last change, the translator, etc. * the date and time of the last change, the translator, etc.
*/ */
class KDE_EXPORT SearchResult class TDE_EXPORT SearchResult
{ {
public: public:
SearchResult(); SearchResult();
@ -162,7 +162,7 @@ public:
/** /**
* *
*/ */
class KDE_EXPORT SearchFilter class TDE_EXPORT SearchFilter
{ {
public: public:
SearchFilter() : SearchFilter() :
@ -241,7 +241,7 @@ private:
* necessary function. The widget should not be bigger than 400x400. * necessary function. The widget should not be bigger than 400x400.
* If you need more space, you maybe want to use a tabbed widget. * If you need more space, you maybe want to use a tabbed widget.
*/ */
class KDE_EXPORT PrefWidget : public TQWidget class TDE_EXPORT PrefWidget : public TQWidget
{ {
TQ_OBJECT TQ_OBJECT
@ -266,7 +266,7 @@ public slots:
}; };
class KDE_EXPORT SearchEngine : public TQObject class TDE_EXPORT SearchEngine : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -29,7 +29,7 @@ using namespace KCal;
extern "C" extern "C"
{ {
KDE_EXPORT void *init_kcal_bugzilla() TDE_EXPORT void *init_kcal_bugzilla()
{ {
TDEGlobal::locale()->insertCatalogue( "kres_bugzilla" ); TDEGlobal::locale()->insertCatalogue( "kres_bugzilla" );
return new KRES::PluginFactory<KCalResource,KCalResourceConfig>(); return new KRES::PluginFactory<KCalResource,KCalResourceConfig>();

@ -9,7 +9,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT TDEABC::FormatPlugin *format() TDE_EXPORT TDEABC::FormatPlugin *format()
{ {
return new KDEAccountsFormat(); return new KDEAccountsFormat();
} }

@ -13,7 +13,7 @@ class KURL;
class KompareInterfacePrivate; class KompareInterfacePrivate;
class KDE_EXPORT KompareInterface class TDE_EXPORT KompareInterface
{ {
public: public:
KompareInterface(); KompareInterface();

@ -701,7 +701,7 @@ TDEInstance* KompareNavTreePartFactory::instance()
extern "C" extern "C"
{ {
KDE_EXPORT void* init_libkomparenavtreepart() TDE_EXPORT void* init_libkomparenavtreepart()
{ {
return new KompareNavTreePartFactory; return new KompareNavTreePartFactory;
} }

@ -34,7 +34,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT void* init_libkspy() TDE_EXPORT void* init_libkspy()
{ {
tqWarning( "KSpy: Initialising...\n" ); tqWarning( "KSpy: Initialising...\n" );
Spy *s = new Spy(); Spy *s = new Spy();

@ -34,7 +34,7 @@
extern "C" extern "C"
{ {
KDE_EXPORT ThumbCreator *new_creator() TDE_EXPORT ThumbCreator *new_creator()
{ {
return new QUICreator; return new QUICreator;
} }

@ -31,7 +31,7 @@
#include "commitdlg.h" #include "commitdlg.h"
extern "C" { extern "C" {
KDE_EXPORT KDEDModule *create_ksvnd(const TQCString &name) { TDE_EXPORT KDEDModule *create_ksvnd(const TQCString &name) {
return new KSvnd(name); return new KSvnd(name);
} }
} }

@ -1624,7 +1624,7 @@ void tdeio_svnProtocol::wc_resolve( const KURL& wc, bool recurse ) {
extern "C" extern "C"
{ {
KDE_EXPORT int kdemain(int argc, char **argv) { TDE_EXPORT int kdemain(int argc, char **argv) {
TDEInstance instance( "tdeio_svn" ); TDEInstance instance( "tdeio_svn" );
kdDebug(7128) << "*** Starting tdeio_svn " << endl; kdDebug(7128) << "*** Starting tdeio_svn " << endl;

@ -41,7 +41,7 @@ namespace KUnitTest
{ {
class RunnerGUIDCOPImpl; class RunnerGUIDCOPImpl;
class KDE_EXPORT RunnerGUI : public TQHBox class TDE_EXPORT RunnerGUI : public TQHBox
{ {
TQ_OBJECT TQ_OBJECT

@ -47,7 +47,7 @@ class TDEConfig;
* as the parameter. * as the parameter.
*/ */
#define UMBRELLO_EXPORT_PLUGIN_FACTORY(libname, factory) \ #define UMBRELLO_EXPORT_PLUGIN_FACTORY(libname, factory) \
extern "C" { KDE_EXPORT void *init_##libname() { return new factory(#libname); } } extern "C" { TDE_EXPORT void *init_##libname() { return new factory(#libname); } }
namespace Umbrello namespace Umbrello
{ {

Loading…
Cancel
Save