Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent e264bfc078
commit 3fe5b9df0c

@ -107,7 +107,7 @@ MainQtWidget::MainQtWidget()
TQObject::connect(m_exerciseFactorize, TQT_SIGNAL(signalExerciseSolvedCorrect()), m_statview, TQT_SLOT(addCorrect())); TQObject::connect(m_exerciseFactorize, TQT_SIGNAL(signalExerciseSolvedCorrect()), m_statview, TQT_SLOT(addCorrect()));
TQObject::connect(m_exerciseFactorize, TQT_SIGNAL(signalExerciseSolvedWrong()), m_statview, TQT_SLOT(addWrong())); TQObject::connect(m_exerciseFactorize, TQT_SIGNAL(signalExerciseSolvedWrong()), m_statview, TQT_SLOT(addWrong()));
#if (KDE_VERSION_MINOR>=3) && (KDE_VERSION_MAJOR>=3) #if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3)
#else #else
resize(TQSize(TQMAX(toolBar()->tqsizeHint().width(), tqsizeHint().width()), tqsizeHint().height())); resize(TQSize(TQMAX(toolBar()->tqsizeHint().width(), tqsizeHint().width()), tqsizeHint().height()));
#endif #endif
@ -241,7 +241,7 @@ void MainQtWidget::setupActions()
// now connect the ComboBox's signal textChanged() to the slot function // now connect the ComboBox's signal textChanged() to the slot function
TQObject::connect(m_OperationBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(OperationBoxSlot())); TQObject::connect(m_OperationBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(OperationBoxSlot()));
#if (KDE_VERSION_MINOR>=3) && (KDE_VERSION_MAJOR>=3) #if (TDE_VERSION_MINOR>=3) && (TDE_VERSION_MAJOR>=3)
if (!initialGeometrySet()) if (!initialGeometrySet())
resize( TQSize(725, 330).expandedTo(tqminimumSizeHint())); resize( TQSize(725, 330).expandedTo(tqminimumSizeHint()));
setupGUI(ToolBar | Keys | StatusBar | Create); setupGUI(ToolBar | Keys | StatusBar | Create);

@ -48,7 +48,7 @@
TopLevel::TopLevel(TQWidget *parent, const char *name) : KMainWindow(parent, name) TopLevel::TopLevel(TQWidget *parent, const char *name) : KMainWindow(parent, name)
{ {
#if KDE_VERSION > 305 #if TDE_VERSION > 305
setStandardToolBarMenuEnabled(true); setStandardToolBarMenuEnabled(true);
#endif #endif

Loading…
Cancel
Save