diff options
Diffstat (limited to 'parts/appwizard')
-rw-r--r-- | parts/appwizard/appwizarddlg.cpp | 10 | ||||
-rw-r--r-- | parts/appwizard/appwizarddlg.h | 6 | ||||
-rw-r--r-- | parts/appwizard/appwizarddlgbase.ui | 2 | ||||
-rw-r--r-- | parts/appwizard/appwizardpart.cpp | 6 |
4 files changed, 12 insertions, 12 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); diff --git a/parts/appwizard/appwizarddlg.h b/parts/appwizard/appwizarddlg.h index 7f177e9b..859b1524 100644 --- a/parts/appwizard/appwizarddlg.h +++ b/parts/appwizard/appwizarddlg.h @@ -20,7 +20,7 @@ class TQRadioButton; class KTempFile; class TQWidgetStack; class TQVBox; -class KPopupMenu; +class TDEPopupMenu; class TQHBoxLayout; class KArchiveDirectory; class KArchiveFile; @@ -192,8 +192,8 @@ private: //data bool m_projectLocationWasChanged; VcsForm *m_vcsForm; bool m_pathIsValid; - KPopupMenu* m_favouritesMenu; - KPopupMenu* m_templatesMenu; + TDEPopupMenu* m_favouritesMenu; + TDEPopupMenu* m_templatesMenu; TQDict<KDevLicense> m_licenses; TQDict<KDevVCSIntegrator> m_integrators; diff --git a/parts/appwizard/appwizarddlgbase.ui b/parts/appwizard/appwizarddlgbase.ui index 525aeef0..a2303139 100644 --- a/parts/appwizard/appwizarddlgbase.ui +++ b/parts/appwizard/appwizarddlgbase.ui @@ -41,7 +41,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="KListView" row="0" column="0"> + <widget class="TDEListView" row="0" column="0"> <column> <property name="text"> <string></string> diff --git a/parts/appwizard/appwizardpart.cpp b/parts/appwizard/appwizardpart.cpp index f08e0c87..bcc21127 100644 --- a/parts/appwizard/appwizardpart.cpp +++ b/parts/appwizard/appwizardpart.cpp @@ -40,9 +40,9 @@ AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringL setInstance(AppWizardFactory::instance()); setXMLFile("kdevappwizard.rc"); - KAction *action; + TDEAction *action; - action = new KAction( i18n("&New Project..."), "window_new", 0, + action = new TDEAction( i18n("&New Project..."), "window_new", 0, this, TQT_SLOT(slotNewProject()), actionCollection(), "project_new" ); action->setToolTip( i18n("Generate a new project from a template") ); @@ -51,7 +51,7 @@ AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringL "It helps you to generate a skeleton for your " "application from a set of templates.") ); - action = new KAction( i18n("&Import Existing Project..."),"wizard", 0, + action = new TDEAction( i18n("&Import Existing Project..."),"wizard", 0, this, TQT_SLOT(slotImportProject()), actionCollection(), "project_import" ); action->setToolTip( i18n("Import existing project") ); |