Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent 9be0148e5b
commit d479daee57

@ -16,7 +16,7 @@
***************************************************************************/
#include <kdeversion.h>
#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#if TDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#undef KDE_EXPORT
#define KDE_EXPORT
#endif

@ -31,7 +31,7 @@
#include <kdeversion.h>
// include files for KDE
#if KDE_VERSION > 300
#if TDE_VERSION > 300
#include <kapplication.h>
#else
#include <kapp.h>
@ -56,7 +56,7 @@
#include <kedittoolbar.h>
#include <twin.h>
#if KDE_VERSION < 220
#if TDE_VERSION < 220
#include <tqprinter.h>
#else
#include <kprinter.h>
@ -803,7 +803,7 @@ void KmagApp::slotFilePrint()
bool toggled(false);
#if KDE_VERSION < 220
#if TDE_VERSION < 220
TQPrinter printer;
#else
KPrinter printer;
@ -817,7 +817,7 @@ void KmagApp::slotFilePrint()
const TQPixmap pixmap(m_zoomView->getPixmap());
#if KDE_VERSION >= 220
#if TDE_VERSION >= 220
// use some AI to get the best orientation
if(pixmap.width() > pixmap.height()) {
printer.setOrientation(KPrinter::Landscape);

@ -273,7 +273,7 @@ KMouseTool::KMouseTool(TQWidget *parent, const char *name) : KMouseToolUI(parent
connect(buttonHelp, TQT_SIGNAL(clicked()), this, TQT_SLOT(helpSelected()));
buttonClose->setGuiItem(KStdGuiItem::close());
connect(buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeSelected()));
#if KDE_VERSION >= KDE_MAKE_VERSION (3,1,90)
#if TDE_VERSION >= KDE_MAKE_VERSION (3,1,90)
buttonQuit->setGuiItem(KStdGuiItem::quit());
#endif // KDE 3.2
connect(buttonQuit, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitSelected()));

@ -16,7 +16,7 @@
***************************************************************************/
#include <kdeversion.h>
#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#if TDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#undef KDE_EXPORT
#define KDE_EXPORT
#endif

@ -16,7 +16,7 @@
***************************************************************************/
#include <kdeversion.h>
#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#if TDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#undef KDE_EXPORT
#define KDE_EXPORT
#endif

@ -230,7 +230,7 @@ bool XmlTransformerProc::init(KConfig* config, const TQString& configGroup)
text.replace(TQRegExp("&(?!amp;)"),"&amp;");
*wstream << text;
inFile.close();
#if KDE_VERSION >= KDE_MAKE_VERSION (3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION (3,3,0)
inFile.sync();
#endif

@ -220,7 +220,7 @@ bool SSMLConvert::transform(const TQString &text, const TQString &xsltFilename)
// not wrap it in such. But maybe this should be handled by SpeechData::setText()?
*wstream << text;
inFile.close();
#if KDE_VERSION >= KDE_MAKE_VERSION (3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION (3,3,0)
inFile.sync();
#endif

@ -80,7 +80,7 @@ int main (int argc, char *argv[])
KUniqueApplication app;
#if KDE_VERSION >= KDE_MAKE_VERSION (3,3,90)
#if TDE_VERSION >= KDE_MAKE_VERSION (3,3,90)
TQPixmap icon = KGlobal::iconLoader()->loadIcon("kttsd", KIcon::Panel);
aboutdata.setProgramLogo(icon.convertToImage());
#endif
@ -118,7 +118,7 @@ int main (int argc, char *argv[])
else app.setMainWidget(&dlg);
if (showMainWindowOnStartup)
#if KDE_VERSION < KDE_MAKE_VERSION (3,3,0)
#if TDE_VERSION < KDE_MAKE_VERSION (3,3,0)
dlg.show();
#else
{

@ -19,7 +19,7 @@
#define _KDEEXPORTFIX_H_
#include <kdeversion.h>
#if KDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#if TDE_VERSION < KDE_MAKE_VERSION (3,3,2)
#undef KDE_EXPORT
#define KDE_EXPORT
#endif

Loading…
Cancel
Save