diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/appwizard/appwizarddlg.cpp | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/appwizard/appwizarddlg.cpp')
-rw-r--r-- | parts/appwizard/appwizarddlg.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp index 1d641040..41e52a03 100644 --- a/parts/appwizard/appwizarddlg.cpp +++ b/parts/appwizard/appwizarddlg.cpp @@ -104,10 +104,10 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch templates_listview->header()->hide(); templates_listview->setColumnWidthMode(0, TQListView::Maximum); //to provide horiz scrollbar. - m_templatesMenu = new KPopupMenu(templates_listview); + m_templatesMenu = new TDEPopupMenu(templates_listview); m_templatesMenu->insertItem(i18n("&Add to Favorites"), this, TQT_SLOT(addTemplateToFavourites())); - m_favouritesMenu = new KPopupMenu(favourites_iconview); + m_favouritesMenu = new TDEPopupMenu(favourites_iconview); m_favouritesMenu->insertItem(i18n("&Remove Favorite"), this, TQT_SLOT(removeFavourite())); m_pathIsValid=false; @@ -269,7 +269,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch TQListViewItem *item = m_categoryMap.find(ait.current()->category); if (item) { - item = new KListViewItem(item, ait.current()->name); + item = new TDEListViewItem(item, ait.current()->name); item->setPixmap(0, SmallIcon("tdevelop")); } else @@ -971,9 +971,9 @@ void AppWizardDialog::insertCategoryIntoTreeView(const TQString &completeCategor TQListViewItem *item = m_categoryMap.find(category); if (!item) { // not found, create it if (!pParentItem) - pParentItem = new KListViewItem(templates_listview,*it); + pParentItem = new TDEListViewItem(templates_listview,*it); else - pParentItem = new KListViewItem(pParentItem,*it); + pParentItem = new TDEListViewItem(pParentItem,*it); pParentItem->setPixmap(0, SmallIcon("folder")); //pParentItem->setOpen(true); |