summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectprivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectprivate.cpp')
-rw-r--r--quanta/project/projectprivate.cpp88
1 files changed, 44 insertions, 44 deletions
diff --git a/quanta/project/projectprivate.cpp b/quanta/project/projectprivate.cpp
index 1c8f7179..f1e13c5d 100644
--- a/quanta/project/projectprivate.cpp
+++ b/quanta/project/projectprivate.cpp
@@ -83,73 +83,73 @@ ProjectPrivate::~ProjectPrivate()
void ProjectPrivate::initActions(TDEActionCollection *ac)
{
(void) new TDEAction( i18n( "&New Project..." ), "window-new", 0,
- this, TQT_SLOT( slotNewProject() ),
+ this, TQ_SLOT( slotNewProject() ),
ac, "project_new" );
(void) new TDEAction( i18n( "&Open Project..." ), "project_open", 0,
- this, TQT_SLOT( slotOpenProject() ),
+ this, TQ_SLOT( slotOpenProject() ),
ac, "project_open" );
m_projectRecent =
- KStdAction::openRecent(parent, TQT_SLOT(slotOpenProject(const KURL&)),
+ KStdAction::openRecent(parent, TQ_SLOT(slotOpenProject(const KURL&)),
ac, "project_open_recent");
m_projectRecent->setText(i18n("Open Recent Project"));
m_projectRecent->setIcon("project_open");
m_projectRecent->setToolTip(i18n("Open/Open recent project"));
- connect(m_projectRecent, TQT_SIGNAL(activated()), this, TQT_SLOT(slotOpenProject()));
+ connect(m_projectRecent, TQ_SIGNAL(activated()), this, TQ_SLOT(slotOpenProject()));
closeprjAction = new TDEAction( i18n( "&Close Project" ), "window-close", 0,
- this, TQT_SLOT( slotCloseProject() ),
+ this, TQ_SLOT( slotCloseProject() ),
ac, "project_close" );
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 &)));
+ connect(openPrjViewAction, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(slotOpenProjectView(const TQString &)));
openPrjViewAction->setToolTip(i18n("Open project view"));
savePrjViewAction = new TDEAction( i18n( "&Save Project View" ), "document-save", 0,
- this, TQT_SLOT( slotSaveProjectView() ),
+ this, TQ_SLOT( slotSaveProjectView() ),
ac, "project_view_save" );
saveAsPrjViewAction = new TDEAction( i18n( "Save Project View &As..." ), "document-save-as", 0,
- this, TQT_SLOT( slotSaveAsProjectView() ),
+ this, TQ_SLOT( slotSaveAsProjectView() ),
ac, "project_view_save_as" );
deletePrjViewAction = new TDESelectAction( i18n( "&Delete Project View" ), "edit-delete", 0,
ac, "project_view_delete" );
- connect(deletePrjViewAction, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(slotDeleteProjectView(const TQString &)));
+ connect(deletePrjViewAction, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(slotDeleteProjectView(const TQString &)));
deletePrjViewAction->setToolTip(i18n("Close project view"));
insertFileAction = new TDEAction( i18n( "&Insert Files..." ), 0,
- this, TQT_SLOT( slotAddFiles() ),
+ this, TQ_SLOT( slotAddFiles() ),
ac, "project_insert_file" );
insertDirAction = new TDEAction( i18n( "Inser&t Folder..." ), 0,
- this, TQT_SLOT( slotAddDirectory() ),
+ this, TQ_SLOT( slotAddDirectory() ),
ac, "project_insert_directory" );
rescanPrjDirAction = new TDEAction( i18n( "&Rescan Project Folder..." ), "reload", 0,
- parent, TQT_SLOT( slotRescanPrjDir() ),
+ parent, TQ_SLOT( slotRescanPrjDir() ),
ac, "project_rescan" );
uploadProjectAction = new TDEAction( i18n( "&Upload Project..." ), "go-up", Key_F8,
- parent, TQT_SLOT( slotUpload() ),
+ parent, TQ_SLOT( slotUpload() ),
ac, "project_upload" );
projectOptionAction = new TDEAction( i18n( "&Project Properties" ), "configure", SHIFT + Key_F7,
- parent, TQT_SLOT( slotOptions() ),
+ parent, TQ_SLOT( slotOptions() ),
ac, "project_options" );
saveAsProjectTemplateAction =
new TDEAction( i18n( "Save as Project Template..." ), 0,
- m_mainWindow, TQT_SLOT( slotFileSaveAsProjectTemplate() ),
+ m_mainWindow, TQ_SLOT( slotFileSaveAsProjectTemplate() ),
ac, "save_project_template" );
saveSelectionAsProjectTemplateAction =
new TDEAction( i18n( "Save Selection to Project Template File..." ), 0,
- m_mainWindow, TQT_SLOT( slotFileSaveSelectionAsProjectTemplate() ),
+ m_mainWindow, TQ_SLOT( slotFileSaveSelectionAsProjectTemplate() ),
ac, "save_selection_project_template" );
adjustActions();
}
@@ -1145,27 +1145,27 @@ void ProjectPrivate::slotNewProject()
wiz->setNextEnabled ( pnf, false );
wiz->setFinishEnabled( pnf, true );
- connect( png, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setNextEnabled(TQWidget*,bool)));
- connect( png, TQT_SIGNAL(setBaseURL(const KURL&)),
- pnl, TQT_SLOT( setBaseURL(const KURL&)));
- connect( png, TQT_SIGNAL(setBaseURL(const KURL&)),
- pnw, TQT_SLOT( setBaseURL(const KURL&)));
- connect( this,TQT_SIGNAL(setLocalFiles(bool)),
- pnl, TQT_SLOT(slotSetFiles(bool)));
+ connect( png, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setNextEnabled(TQWidget*,bool)));
+ connect( png, TQ_SIGNAL(setBaseURL(const KURL&)),
+ pnl, TQ_SLOT( setBaseURL(const KURL&)));
+ connect( png, TQ_SIGNAL(setBaseURL(const KURL&)),
+ pnw, TQ_SLOT( setBaseURL(const KURL&)));
+ connect( this,TQ_SIGNAL(setLocalFiles(bool)),
+ pnl, TQ_SLOT(slotSetFiles(bool)));
- connect(wiz, TQT_SIGNAL(selected(const TQString &)),
- this, TQT_SLOT (slotSelectProjectType(const TQString &)));
- connect(wiz, TQT_SIGNAL(helpClicked()), TQT_SLOT(slotNewProjectHelpClicked()));
-
- connect( pnw, TQT_SIGNAL(enableMessagesWidget()),
- parent, TQT_SIGNAL(enableMessageWidget()));
- connect( pnw, TQT_SIGNAL(messages(const TQString&)),
- parent, TQT_SLOT (slotGetMessages(const TQString&)));
- connect( pnw, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setNextEnabled(TQWidget*,bool)));
- connect( pnw, TQT_SIGNAL(enableNextButton(TQWidget *,bool)),
- wiz, TQT_SLOT(setBackEnabled(TQWidget*,bool)));
+ connect(wiz, TQ_SIGNAL(selected(const TQString &)),
+ this, TQ_SLOT (slotSelectProjectType(const TQString &)));
+ connect(wiz, TQ_SIGNAL(helpClicked()), TQ_SLOT(slotNewProjectHelpClicked()));
+
+ connect( pnw, TQ_SIGNAL(enableMessagesWidget()),
+ parent, TQ_SIGNAL(enableMessageWidget()));
+ connect( pnw, TQ_SIGNAL(messages(const TQString&)),
+ parent, TQ_SLOT (slotGetMessages(const TQString&)));
+ connect( pnw, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setNextEnabled(TQWidget*,bool)));
+ connect( pnw, TQ_SIGNAL(enableNextButton(TQWidget *,bool)),
+ wiz, TQ_SLOT(setBackEnabled(TQWidget*,bool)));
TQStringList lst = DTDs::ref()->nickNameList(true);
pnf->dtdCombo->insertStringList(lst);
@@ -1204,13 +1204,13 @@ void ProjectPrivate::slotNewProject()
void ProjectPrivate::slotCloseProject()
{
if (!parent->hasProject()) return;
- connect(ViewManager::ref(), TQT_SIGNAL(filesClosed(bool)), this, TQT_SLOT(slotProceedWithCloseProject(bool)));
+ connect(ViewManager::ref(), TQ_SIGNAL(filesClosed(bool)), this, TQ_SLOT(slotProceedWithCloseProject(bool)));
parent->closeFiles();
}
void ProjectPrivate::slotProceedWithCloseProject(bool success)
{
- disconnect(ViewManager::ref(), TQT_SIGNAL(filesClosed(bool)), this, TQT_SLOT(slotProceedWithCloseProject(bool)));
+ disconnect(ViewManager::ref(), TQ_SIGNAL(filesClosed(bool)), this, TQ_SLOT(slotProceedWithCloseProject(bool)));
if (!success) return;
emit eventHappened("before_project_close", baseURL.url(), TQString());
if (!uploadProjectFile())
@@ -1446,10 +1446,10 @@ void ProjectPrivate::slotAddFiles()
if ( !destination.isEmpty())
{
CopyTo *dlg = new CopyTo( baseURL);
- connect(dlg, TQT_SIGNAL(deleteDialog(CopyTo*)),
- TQT_SLOT (slotDeleteCopytoDlg(CopyTo*)));
- connect(dlg, TQT_SIGNAL(addFilesToProject(const KURL::List&)), parent,
- TQT_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
+ connect(dlg, TQ_SIGNAL(deleteDialog(CopyTo*)),
+ TQ_SLOT (slotDeleteCopytoDlg(CopyTo*)));
+ connect(dlg, TQ_SIGNAL(addFilesToProject(const KURL::List&)), parent,
+ TQ_SLOT (slotInsertFilesAfterCopying(const KURL::List&)));
list = dlg->copy( list, destination );
return;
}