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; TQStringList path;
path << section; 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)); setFolderIcon(path, SmallIcon(icon, KIcon::SizeSmallMedium));
#else #else
setFolderIcon(path, SmallIcon(icon)); setFolderIcon(path, SmallIcon(icon));
@ -142,7 +142,7 @@ namespace KileDialog
path << sectionName << itemName; path << sectionName << itemName;
TQVBox *vbox = addVBoxPage(path, header, 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) SmallIcon(pixmapName,KIcon::SizeSmallMedium)
#else #else
SmallIcon(pixmapName) SmallIcon(pixmapName)
@ -277,7 +277,7 @@ namespace KileDialog
path << i18n("Editor") << iface->configPageName(i); path << i18n("Editor") << iface->configPageName(i);
// create a new vbox page and add the config page // 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) ); TQVBox *page = addVBoxPage(path,iface->configPageFullName(i), iface->configPagePixmap(i,KIcon::SizeSmallMedium) );
#else #else
TQVBox *page = addVBoxPage(path,iface->configPageFullName(i), iface->configPagePixmap(i) ); 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 = actionbox->addButton(i18n("&Clear"));
clear_button->setEnabled(false); clear_button->setEnabled(false);
actionbox->addStretch(); 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()); close_button = actionbox->addButton(KStdGuiItem::close());
#else #else
close_button = actionbox->addButton(i18n("Cl&ose")); close_button = actionbox->addButton(i18n("Cl&ose"));

@ -47,7 +47,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
//setShadeSortColumn(true); // default: true //setShadeSortColumn(true); // default: true
m_listview->header()->setMovingEnabled(false); // 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); m_listview->setShadeSortColumn(false);
#endif #endif
tqlayout->addWidget(m_listview); 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 = new KileMultiTabBar(tabbarori, this);
m_tabBar->setPosition(tabbarpos); 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); m_tabBar->setStyle(KileMultiTabBar::KDEV3ICON);
#else #else
m_tabBar->setStyle(KileMultiTabBar::KDEV3); m_tabBar->setStyle(KileMultiTabBar::KDEV3);

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

@ -133,7 +133,7 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
//insert the view in the tab widget //insert the view in the tab widget
m_tabs->insertTab( view, m_ki->getShortName(doc), index ); 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() ); m_tabs->setTabToolTip(view, doc->url().pathOrURL() );
#else #else
m_tabs->setTabToolTip(view, doc->url().prettyURL() ); m_tabs->setTabToolTip(view, doc->url().prettyURL() );

@ -49,7 +49,7 @@ namespace KileDialog
TexDocDialog::TexDocDialog(TQWidget *parent, const char *name) TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
: KDialogBase( parent,name, true, i18n("Documentation Browser"), Close | Help, : 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 NoDefault
#else #else
Close Close

Loading…
Cancel
Save