summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/factories/containerfactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:47:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:47:14 -0600
commit933b892946bd640e29ddbf5279ffebec99df5b1c (patch)
treebed27295298cd995b79bcc8101aa073d0bece470 /kexi/formeditor/factories/containerfactory.cpp
parent02545947be8995a8b49efb2d8be1ec724880df24 (diff)
downloadkoffice-933b892946bd640e29ddbf5279ffebec99df5b1c.tar.gz
koffice-933b892946bd640e29ddbf5279ffebec99df5b1c.zip
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kexi/formeditor/factories/containerfactory.cpp')
-rw-r--r--kexi/formeditor/factories/containerfactory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/formeditor/factories/containerfactory.cpp b/kexi/formeditor/factories/containerfactory.cpp
index 2a38803a..a7fa5d3e 100644
--- a/kexi/formeditor/factories/containerfactory.cpp
+++ b/kexi/formeditor/factories/containerfactory.cpp
@@ -56,7 +56,7 @@
#include "widgetlibrary.h"
#include <formeditor/utils.h>
-#if KDE_VERSION < KDE_MAKE_VERSION(3,1,9)
+#if TDE_VERSION < KDE_MAKE_VERSION(3,1,9)
# define KInputDialog TQInputDialog
# include <tqinputdialog.h>
# include <tqlineedit.h>
@@ -367,7 +367,7 @@ ContainerFactory::ContainerFactory(TQObject *parent, const char *, const TQStrin
KFormDesigner::WidgetInfo *wTabWidget = new KFormDesigner::WidgetInfo(this);
wTabWidget->setPixmap("tabwidget");
wTabWidget->setClassName("KFDTabWidget");
-#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,9)
+#if TDE_VERSION >= KDE_MAKE_VERSION(3,1,9)
wTabWidget->addAlternateClassName("KTabWidget");
wTabWidget->addAlternateClassName(TQTABWIDGET_OBJECT_NAME_STRING);
//tmp: wTabWidget->setSavingName(TQTABWIDGET_OBJECT_NAME_STRING);
@@ -518,7 +518,7 @@ ContainerFactory::createWidget(const TQCString &c, TQWidget *p, const char *n,
else if(c == "KFDTabWidget")
{
KFDTabWidget *tab = new KFDTabWidget(p, n);
-#if defined(USE_KTabWidget) && KDE_VERSION >= KDE_MAKE_VERSION(3,1,9)
+#if defined(USE_KTabWidget) && TDE_VERSION >= KDE_MAKE_VERSION(3,1,9)
tab->setTabReorderingEnabled(true);
connect(tab, TQT_SIGNAL(movedTab(int,int)), this, TQT_SLOT(reorderTabs(int,int)));
#endif
@@ -857,7 +857,7 @@ void ContainerFactory::renameTabPage()
bool ok;
TQString name = KInputDialog::getText(i18n("New Page Title"), i18n("Enter a new title for the current page:"),
-#if KDE_VERSION < KDE_MAKE_VERSION(3,1,9)
+#if TDE_VERSION < KDE_MAKE_VERSION(3,1,9)
TQLineEdit::Normal,
#endif
tab->tabLabel(w), &ok, w->tqtopLevelWidget());