summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filecreate/filecreate_part.cpp')
-rw-r--r--parts/filecreate/filecreate_part.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp
index 0c907db1..0d4db9bc 100644
--- a/parts/filecreate/filecreate_part.cpp
+++ b/parts/filecreate/filecreate_part.cpp
@@ -78,7 +78,7 @@ FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStrin
this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- KToolBarPopupAction * newAction = new KToolBarPopupAction( i18n("&New"), "filenew", CTRL+TQt::Key_N, this, TQT_SLOT(slotNewFile()), actionCollection(), "file_new");
+ TDEToolBarPopupAction * newAction = new TDEToolBarPopupAction( i18n("&New"), "filenew", CTRL+TQt::Key_N, this, TQT_SLOT(slotNewFile()), actionCollection(), "file_new");
newAction->setWhatsThis( i18n("<b>New file</b><p>Creates a new file. Also adds it the project if the <b>Add to project</b> checkbox is turned on.") );
newAction->setToolTip( i18n("Create a new file") );
m_newPopupMenu = newAction->popupMenu();
@@ -140,13 +140,13 @@ void FileCreatePart::slotAboutToShowNewPopupMenu()
m_newPopupMenu->setItemParameter( id, (long)filetype );
} else
{
- KPopupMenu* subMenu = NULL;
+ TDEPopupMenu* subMenu = NULL;
TQPtrList<FileType> subtypes = filetype->subtypes();
for(FileType * subtype = subtypes.first(); subtype; subtype=subtypes.next())
{
if (subtype->enabled()){
if( !subMenu )
- subMenu = new KPopupMenu(0,0);
+ subMenu = new TDEPopupMenu(0,0);
TQPixmap iconPix = m_iconLoader->loadIcon(
subtype->icon(), KIcon::Desktop, KIcon::SizeSmall,
KIcon::DefaultState, NULL, true);
@@ -159,7 +159,7 @@ void FileCreatePart::slotAboutToShowNewPopupMenu()
{
if( !m_subPopups )
{
- m_subPopups = new TQPtrList<KPopupMenu>;
+ m_subPopups = new TQPtrList<TDEPopupMenu>;
m_subPopups->setAutoDelete(true);
}
m_subPopups->append( subMenu );