diff options
Diffstat (limited to 'quanta/project/projectprivate.cpp')
-rw-r--r-- | quanta/project/projectprivate.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/project/projectprivate.cpp b/quanta/project/projectprivate.cpp index 7e676e2b..1df99466 100644 --- a/quanta/project/projectprivate.cpp +++ b/quanta/project/projectprivate.cpp @@ -80,13 +80,13 @@ ProjectPrivate::~ProjectPrivate() } /** setup of the actions */ -void ProjectPrivate::initActions(KActionCollection *ac) +void ProjectPrivate::initActions(TDEActionCollection *ac) { - (void) new KAction( i18n( "&New Project..." ), "window_new", 0, + (void) new TDEAction( i18n( "&New Project..." ), "window_new", 0, this, TQT_SLOT( slotNewProject() ), ac, "project_new" ); - (void) new KAction( i18n( "&Open Project..." ), "project_open", 0, + (void) new TDEAction( i18n( "&Open Project..." ), "project_open", 0, this, TQT_SLOT( slotOpenProject() ), ac, "project_open" ); m_projectRecent = @@ -97,24 +97,24 @@ void ProjectPrivate::initActions(KActionCollection *ac) m_projectRecent->setToolTip(i18n("Open/Open recent project")); connect(m_projectRecent, TQT_SIGNAL(activated()), this, TQT_SLOT(slotOpenProject())); - closeprjAction = new KAction( i18n( "&Close Project" ), "fileclose", 0, + closeprjAction = new TDEAction( i18n( "&Close Project" ), "fileclose", 0, this, TQT_SLOT( slotCloseProject() ), ac, "project_close" ); - openPrjViewAction = new KSelectAction( i18n( "Open Project &View..." ), 0, + openPrjViewAction = new TDESelectAction( i18n( "Open Project &View..." ), 0, ac, "project_view_open" ); connect(openPrjViewAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotOpenProjectView(const TQString &))); openPrjViewAction->setToolTip(i18n("Open project view")); - savePrjViewAction = new KAction( i18n( "&Save Project View" ), "filesave", 0, + savePrjViewAction = new TDEAction( i18n( "&Save Project View" ), "filesave", 0, this, TQT_SLOT( slotSaveProjectView() ), ac, "project_view_save" ); - saveAsPrjViewAction = new KAction( i18n( "Save Project View &As..." ), "filesaveas", 0, + saveAsPrjViewAction = new TDEAction( i18n( "Save Project View &As..." ), "filesaveas", 0, this, TQT_SLOT( slotSaveAsProjectView() ), ac, "project_view_save_as" ); - deletePrjViewAction = new KSelectAction( i18n( "&Delete Project View" ), "editdelete", 0, + deletePrjViewAction = new TDESelectAction( i18n( "&Delete Project View" ), "editdelete", 0, ac, "project_view_delete" ); connect(deletePrjViewAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotDeleteProjectView(const TQString &))); @@ -122,33 +122,33 @@ void ProjectPrivate::initActions(KActionCollection *ac) - insertFileAction = new KAction( i18n( "&Insert Files..." ), 0, + insertFileAction = new TDEAction( i18n( "&Insert Files..." ), 0, this, TQT_SLOT( slotAddFiles() ), ac, "project_insert_file" ); - insertDirAction = new KAction( i18n( "Inser&t Folder..." ), 0, + insertDirAction = new TDEAction( i18n( "Inser&t Folder..." ), 0, this, TQT_SLOT( slotAddDirectory() ), ac, "project_insert_directory" ); - rescanPrjDirAction = new KAction( i18n( "&Rescan Project Folder..." ), "reload", 0, + rescanPrjDirAction = new TDEAction( i18n( "&Rescan Project Folder..." ), "reload", 0, parent, TQT_SLOT( slotRescanPrjDir() ), ac, "project_rescan" ); - uploadProjectAction = new KAction( i18n( "&Upload Project..." ), "up", Key_F8, + uploadProjectAction = new TDEAction( i18n( "&Upload Project..." ), "up", Key_F8, parent, TQT_SLOT( slotUpload() ), ac, "project_upload" ); - projectOptionAction = new KAction( i18n( "&Project Properties" ), "configure", SHIFT + Key_F7, + projectOptionAction = new TDEAction( i18n( "&Project Properties" ), "configure", SHIFT + Key_F7, parent, TQT_SLOT( slotOptions() ), ac, "project_options" ); saveAsProjectTemplateAction = - new KAction( i18n( "Save as Project Template..." ), 0, + new TDEAction( i18n( "Save as Project Template..." ), 0, TQT_TQOBJECT(m_mainWindow), TQT_SLOT( slotFileSaveAsProjectTemplate() ), ac, "save_project_template" ); saveSelectionAsProjectTemplateAction = - new KAction( i18n( "Save Selection to Project Template File..." ), 0, + new TDEAction( i18n( "Save Selection to Project Template File..." ), 0, TQT_TQOBJECT(m_mainWindow), TQT_SLOT( slotFileSaveSelectionAsProjectTemplate() ), ac, "save_selection_project_template" ); adjustActions(); |