Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent 85f3cae65d
commit bc50462bb8

@ -121,7 +121,7 @@ namespace KileDialog
TQStringList path;
path << section;
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
setFolderIcon(path, SmallIcon(icon, KIcon::SizeSmallMedium));
#else
setFolderIcon(path, SmallIcon(icon));
@ -142,7 +142,7 @@ namespace KileDialog
path << sectionName << itemName;
TQVBox *vbox = addVBoxPage(path, header,
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
SmallIcon(pixmapName,KIcon::SizeSmallMedium)
#else
SmallIcon(pixmapName)
@ -277,7 +277,7 @@ namespace KileDialog
path << i18n("Editor") << iface->configPageName(i);
// create a new vbox page and add the config page
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
TQVBox *page = addVBoxPage(path,iface->configPageFullName(i), iface->configPagePixmap(i,KIcon::SizeSmallMedium) );
#else
TQVBox *page = addVBoxPage(path,iface->configPageFullName(i), iface->configPagePixmap(i) );

@ -210,7 +210,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
clear_button = actionbox->addButton(i18n("&Clear"));
clear_button->setEnabled(false);
actionbox->addStretch();
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
close_button = actionbox->addButton(KStdGuiItem::close());
#else
close_button = actionbox->addButton(i18n("Cl&ose"));

@ -47,7 +47,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
//setShadeSortColumn(true); // default: true
m_listview->header()->setMovingEnabled(false); // default: true
#if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
m_listview->setShadeSortColumn(false);
#endif
tqlayout->addWidget(m_listview);

@ -61,7 +61,7 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien
m_tabBar = new KileMultiTabBar(tabbarori, this);
m_tabBar->setPosition(tabbarpos);
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
m_tabBar->setStyle(KileMultiTabBar::KDEV3ICON);
#else
m_tabBar->setStyle(KileMultiTabBar::KDEV3);

@ -98,7 +98,7 @@ KileStatsDlg::KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo
if(m_notAllFilesOpenWarning)
summary->m_warning->setText(i18n("To get statistics for all project files, you have to open them all."));
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
KILE_DEBUG() << "All keys in name " << m_pagetoname.keys() << " Nr. of keys " << m_pagetowidget.count() << endl;
KILE_DEBUG() << "All keys in widget " << m_pagetowidget.keys() << " Nr. of keys " << m_pagetowidget.count() << endl;
#endif

@ -133,7 +133,7 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
//insert the view in the tab widget
m_tabs->insertTab( view, m_ki->getShortName(doc), index );
#if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
m_tabs->setTabToolTip(view, doc->url().pathOrURL() );
#else
m_tabs->setTabToolTip(view, doc->url().prettyURL() );

@ -49,7 +49,7 @@ namespace KileDialog
TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
: KDialogBase( parent,name, true, i18n("Documentation Browser"), Close | Help,
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
#if TDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
NoDefault
#else
Close

Loading…
Cancel
Save