Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 35a77ad24c)
r14.1.x
Michele Calgaro 4 months ago
parent b8b37954c0
commit 762d93a87a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -60,7 +60,7 @@ namespace KileDocument
//reRef.setPattern("^\\\\(pageref|ref|xyz)\\{");
m_completeTimer = new TQTimer( this );
connect(m_completeTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotCompleteValueList() ) );
connect(m_completeTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotCompleteValueList() ) );
}
CodeCompletion::~CodeCompletion() {}
@ -1402,8 +1402,8 @@ namespace KileDocument
{
m_abbrevListview = listview;
connect( m_abbrevListview, TQT_SIGNAL(updateAbbrevList(const TQString &, const TQString &)),
this, TQT_SLOT(slotUpdateAbbrevList(const TQString &, const TQString &)) );
connect( m_abbrevListview, TQ_SIGNAL(updateAbbrevList(const TQString &, const TQString &)),
this, TQ_SLOT(slotUpdateAbbrevList(const TQString &, const TQString &)) );
}

@ -107,10 +107,10 @@ void ConfigChecker::run()
{
m_tester = new Tester(this, "configtester");
connect(m_tester, TQT_SIGNAL(started()), this, TQT_SLOT(started()));
connect(m_tester, TQT_SIGNAL(percentageDone(int)), this, TQT_SLOT(setPercentageDone(int)));
connect(m_tester, TQT_SIGNAL(finished(bool)), this, TQT_SLOT(finished(bool)));
connect(this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(saveResults()));
connect(m_tester, TQ_SIGNAL(started()), this, TQ_SLOT(started()));
connect(m_tester, TQ_SIGNAL(percentageDone(int)), this, TQ_SLOT(setPercentageDone(int)));
connect(m_tester, TQ_SIGNAL(finished(bool)), this, TQ_SLOT(finished(bool)));
connect(this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(saveResults()));
m_tester->runTests();
}

@ -132,9 +132,9 @@ ConfigCodeCompletion::ConfigCodeCompletion(TDEConfig *config, KileWidget::LogMsg
vbox->addWidget(lb_automodes);
vbox->addStretch();
connect(tab,TQT_SIGNAL(currentChanged(TQWidget*)),this,TQT_SLOT(showPage(TQWidget*)));
connect(add,TQT_SIGNAL(clicked()),this,TQT_SLOT(addClicked()));
connect(remove,TQT_SIGNAL(clicked()),this,TQT_SLOT(removeClicked()));
connect(tab,TQ_SIGNAL(currentChanged(TQWidget*)),this,TQ_SLOT(showPage(TQWidget*)));
connect(add,TQ_SIGNAL(clicked()),this,TQ_SLOT(addClicked()));
connect(remove,TQ_SIGNAL(clicked()),this,TQ_SLOT(removeClicked()));
// justify height
TQCheckListItem *item = new TQCheckListItem(m_listview[AbbreviationPage], "Test", TQCheckListItem::CheckBox);
@ -169,7 +169,7 @@ void ConfigCodeCompletion::addPage(TQTabWidget *tab, CompletionPage page, const
// remember directory name
m_dirname << dirname;
connect(m_listview[page], TQT_SIGNAL(clicked( TQListViewItem *)), this, TQT_SLOT(slotListviewClicked(TQListViewItem *)));
connect(m_listview[page], TQ_SIGNAL(clicked( TQListViewItem *)), this, TQ_SLOT(slotListviewClicked(TQListViewItem *)));
}
//////////////////// read/write configuration ////////////////////

@ -78,7 +78,7 @@ KileTable::KileTable(TQWidget *dialog, TQWidget *parent, const char *name) : TQT
horizontalHeader()->setResizeEnabled(false);
horizontalHeader()->setClickEnabled(false);
connect(this,TQT_SIGNAL(clickedCell(KileTable *,int,int)),dialog,TQT_SLOT(clickedTable(KileTable *,int,int)));
connect(this,TQ_SIGNAL(clickedCell(KileTable *,int,int)),dialog,TQ_SLOT(clickedTable(KileTable *,int,int)));
}
void KileTable::contentsMousePressEvent(TQMouseEvent *ev)
@ -194,9 +194,9 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name )
showSectioning(m_docclasses["latex"]);
remove->setEnabled(false);
connect(m_structurelevel,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(spinboxChanged(int)));
connect(comboclasses,TQT_SIGNAL(activated(const TQString &)),this,TQT_SLOT(comboboxChanged(const TQString &)));
connect(add,TQT_SIGNAL(clicked()),this,TQT_SLOT(clickedAdd()));
connect(m_structurelevel,TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(spinboxChanged(int)));
connect(comboclasses,TQ_SIGNAL(activated(const TQString &)),this,TQ_SLOT(comboboxChanged(const TQString &)));
connect(add,TQ_SIGNAL(clicked()),this,TQ_SLOT(clickedAdd()));
add->setEnabled(false);
}

@ -178,8 +178,8 @@ void Tester::runTests()
*m_process << "cd " + KShellProcess::quote(destdir) + " && ";
*m_process << "cp " + KShellProcess::quote(srcdir) +"/* " + KShellProcess::quote(destdir) + " && ";
*m_process << "source runTests.sh " + KShellProcess::quote(m_resultsFile) + " " + KShellProcess::quote(destdir);
connect(m_process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(determineProgress(TDEProcess *, char *, int)));
connect(m_process, TQT_SIGNAL(processExited(TDEProcess *)), this, TQT_SLOT(processTestResults(TDEProcess *)));
connect(m_process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQ_SLOT(determineProgress(TDEProcess *, char *, int)));
connect(m_process, TQ_SIGNAL(processExited(TDEProcess *)), this, TQ_SLOT(processTestResults(TDEProcess *)));
if (m_process->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput)) emit(started());
}

@ -36,9 +36,9 @@ DocumentationViewer::DocumentationViewer(TQWidget *parent, const char *name ) :
//( const_cast<TDEHTMLSettings *>(set) )->init( &konqConfig, false );
TQString rc = TDEGlobal::dirs()->findResource("appdata", "docpartui.rc");
setXMLFile(rc);
(void) KStdAction::back(this, TQT_SLOT(back()), actionCollection(),"Back" );
(void) KStdAction::forward(this, TQT_SLOT(forward()), actionCollection(),"Forward" );
(void) KStdAction::home(this, TQT_SLOT(home()), actionCollection(),"Home" );
(void) KStdAction::back(this, TQ_SLOT(back()), actionCollection(),"Back" );
(void) KStdAction::forward(this, TQ_SLOT(forward()), actionCollection(),"Forward" );
(void) KStdAction::home(this, TQ_SLOT(home()), actionCollection(),"Home" );
}
DocumentationViewer::~DocumentationViewer() {}

@ -146,8 +146,8 @@ namespace KileEditorKeySequence {
}
Recorder::Recorder(Kate::View *view, Manager *manager) : TQObject(view), m_manager(manager), m_view(view) {
connect(m_manager, TQT_SIGNAL(watchedKeySequencesChanged()), this, TQT_SLOT(reloadWatchedKeySequences()));
connect(this, TQT_SIGNAL(detectedTypedKeySequence(const TQString&)), m_manager, TQT_SLOT(keySequenceTyped(const TQString&)));
connect(m_manager, TQ_SIGNAL(watchedKeySequencesChanged()), this, TQ_SLOT(reloadWatchedKeySequences()));
connect(this, TQ_SIGNAL(detectedTypedKeySequence(const TQString&)), m_manager, TQ_SLOT(keySequenceTyped(const TQString&)));
m_view->cursorPositionReal(&m_oldLine, &m_oldCol);
reloadWatchedKeySequences();
}

@ -117,8 +117,8 @@ FloatEnvironmentDialog::FloatEnvironmentDialog(TDEConfig *config, KileInfo *ki,
setFocusProxy( m_edCaption );
// signals and slots
connect(m_rbFigure, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEnvironmentClicked()));
connect(m_rbTable, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEnvironmentClicked()));
connect(m_rbFigure, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEnvironmentClicked()));
connect(m_rbTable, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEnvironmentClicked()));
}

@ -159,8 +159,8 @@ IncludeGraphics::IncludeGraphics(TQWidget *parent, const TQString &startdir, Kil
updateFigure();
// connect
connect( pb_choose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( chooseFile() ) );
connect( cb_figure, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateFigure() ) );
connect( pb_choose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( chooseFile() ) );
connect( cb_figure, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateFigure() ) );
setFocusProxy( edit_file );
}
@ -410,12 +410,12 @@ void IncludeGraphics::execute(const TQString &command)
m_proc->clearArguments();
(*m_proc) << TQStringList::split(' ',command);
connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_output = "";
KILE_DEBUG() << "=== IncludeGraphics::execute ====================" << endl;

@ -104,7 +104,7 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_singlemode = (m_masterName.isEmpty());
m_AutosaveTimer = new TQTimer();
connect(m_AutosaveTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(autoSaveAll()));
connect(m_AutosaveTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(autoSaveAll()));
m_latexCommands = new KileDocument::LatexCommands(m_config,this); // at first (dani)
m_edit = new KileDocument::EditorExtension(this);
@ -115,8 +115,8 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_quickPreview = new KileTool::QuickPreview(this);
m_extensions = new KileDocument::Extensions();
connect( m_partManager, TQT_SIGNAL( activePartChanged( KParts::Part * ) ), this, TQT_SLOT(activePartGUI ( KParts::Part * ) ) );
connect(this,TQT_SIGNAL(configChanged()), m_eventFilter, TQT_SLOT(readConfig()));
connect( m_partManager, TQ_SIGNAL( activePartChanged( KParts::Part * ) ), this, TQ_SLOT(activePartGUI ( KParts::Part * ) ) );
connect(this,TQ_SIGNAL(configChanged()), m_eventFilter, TQ_SLOT(readConfig()));
readGUISettings();
@ -143,9 +143,9 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_verticalSplitter=new TQSplitter(TQt::Vertical, m_horizontalSplitter, "verticalSplitter");
viewManager()->createTabs(m_verticalSplitter);
connect(viewManager(), TQT_SIGNAL(activateView(TQWidget*, bool)), this, TQT_SLOT(activateView(TQWidget*, bool)));
connect(viewManager(), TQT_SIGNAL(prepareForPart(const TQString& )), this, TQT_SLOT(prepareForPart(const TQString& )));
connect(viewManager(), TQT_SIGNAL(startQuickPreview(int)), this, TQT_SLOT(slotQuickPreview(int)) );
connect(viewManager(), TQ_SIGNAL(activateView(TQWidget*, bool)), this, TQ_SLOT(activateView(TQWidget*, bool)));
connect(viewManager(), TQ_SIGNAL(prepareForPart(const TQString& )), this, TQ_SLOT(prepareForPart(const TQString& )));
connect(viewManager(), TQ_SIGNAL(startQuickPreview(int)), this, TQ_SLOT(slotQuickPreview(int)) );
setupBottomBar();
setupGraphicTools();
@ -172,26 +172,26 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_partManager->setActivePart( 0L );
m_lyxserver = new KileLyxServer(KileConfig::runLyxServer());
connect(m_lyxserver, TQT_SIGNAL(insert(const KileAction::TagData &)), this, TQT_SLOT(insertTag(const KileAction::TagData &)));
connect(m_lyxserver, TQ_SIGNAL(insert(const KileAction::TagData &)), this, TQ_SLOT(insertTag(const KileAction::TagData &)));
applyMainWindowSettings(m_config, "KileMainWindow" );
m_manager = new KileTool::Manager(this, m_config, m_logWidget, m_outputWidget, m_partManager, m_topWidgetStack, m_paStop, 10000); //FIXME make timeout configurable
connect(m_manager, TQT_SIGNAL(requestGUIState(const TQString &)), this, TQT_SLOT(prepareForPart(const TQString &)));
connect(m_manager, TQT_SIGNAL(requestSaveAll(bool, bool)), docManager(), TQT_SLOT(fileSaveAll(bool, bool)));
connect(m_manager, TQT_SIGNAL(jumpToFirstError()), m_errorHandler, TQT_SLOT(jumpToFirstError()));
connect(m_manager, TQT_SIGNAL(toolStarted()), m_errorHandler, TQT_SLOT(reset()));
connect(m_manager, TQT_SIGNAL(previewDone()), this, TQT_SLOT(focusPreview()));
connect(m_manager, TQ_SIGNAL(requestGUIState(const TQString &)), this, TQ_SLOT(prepareForPart(const TQString &)));
connect(m_manager, TQ_SIGNAL(requestSaveAll(bool, bool)), docManager(), TQ_SLOT(fileSaveAll(bool, bool)));
connect(m_manager, TQ_SIGNAL(jumpToFirstError()), m_errorHandler, TQ_SLOT(jumpToFirstError()));
connect(m_manager, TQ_SIGNAL(toolStarted()), m_errorHandler, TQ_SLOT(reset()));
connect(m_manager, TQ_SIGNAL(previewDone()), this, TQ_SLOT(focusPreview()));
m_toolFactory = new KileTool::Factory(m_manager, m_config);
m_manager->setFactory(m_toolFactory);
m_help->setUserhelp(m_manager,menuBar()); // kile user help (dani)
connect(docManager(), TQT_SIGNAL(updateModeStatus()), this, TQT_SLOT(updateModeStatus()));
connect(docManager(), TQT_SIGNAL(updateStructure(bool, KileDocument::Info*)), viewManager(), TQT_SLOT(updateStructure(bool, KileDocument::Info*)));
connect(docManager(), TQT_SIGNAL(closingDocument(KileDocument::Info* )), m_kwStructure, TQT_SLOT(closeDocumentInfo(KileDocument::Info *)));
connect(docManager(), TQT_SIGNAL(documentInfoCreated(KileDocument::Info* )), m_kwStructure, TQT_SLOT(addDocumentInfo(KileDocument::Info* )));
connect(docManager(), TQT_SIGNAL(updateReferences(KileDocument::Info *)), m_kwStructure, TQT_SLOT(updateReferences(KileDocument::Info *)));
connect(docManager(), TQ_SIGNAL(updateModeStatus()), this, TQ_SLOT(updateModeStatus()));
connect(docManager(), TQ_SIGNAL(updateStructure(bool, KileDocument::Info*)), viewManager(), TQ_SLOT(updateStructure(bool, KileDocument::Info*)));
connect(docManager(), TQ_SIGNAL(closingDocument(KileDocument::Info* )), m_kwStructure, TQ_SLOT(closeDocumentInfo(KileDocument::Info *)));
connect(docManager(), TQ_SIGNAL(documentInfoCreated(KileDocument::Info* )), m_kwStructure, TQ_SLOT(addDocumentInfo(KileDocument::Info* )));
connect(docManager(), TQ_SIGNAL(updateReferences(KileDocument::Info *)), m_kwStructure, TQ_SLOT(updateReferences(KileDocument::Info *)));
readConfig();
@ -257,8 +257,8 @@ void Kile::setupSideBar()
m_fileSelector= new KileFileSelect(m_extensions,m_sideBar,"File Selector");
m_sideBar->addTab(m_fileSelector, SmallIcon("document-open"), i18n("Open File"));
connect(m_fileSelector,TQT_SIGNAL(fileSelected(const KFileItem*)), docManager(), TQT_SLOT(fileSelected(const KFileItem*)));
connect(m_fileSelector->comboEncoding(), TQT_SIGNAL(activated(int)),this,TQT_SLOT(changeInputEncoding()));
connect(m_fileSelector,TQ_SIGNAL(fileSelected(const KFileItem*)), docManager(), TQ_SLOT(fileSelected(const KFileItem*)));
connect(m_fileSelector->comboEncoding(), TQ_SIGNAL(activated(int)),this,TQ_SLOT(changeInputEncoding()));
m_fileSelector->comboEncoding()->lineEdit()->setText(KileConfig::defaultEncoding());
m_fileSelector->readConfig();
@ -278,26 +278,26 @@ void Kile::setupProjectView()
KileProjectView *projectview = new KileProjectView(m_sideBar, this);
// viewManager()->setProjectView(projectview);
m_sideBar->addTab(projectview, SmallIcon("relation"), i18n("Files and Projects"));
connect(projectview, TQT_SIGNAL(fileSelected(const KileProjectItem *)), docManager(), TQT_SLOT(fileSelected(const KileProjectItem *)));
connect(projectview, TQT_SIGNAL(fileSelected(const KURL &)), docManager(), TQT_SLOT(fileSelected(const KURL &)));
connect(projectview, TQT_SIGNAL(closeURL(const KURL&)), docManager(), TQT_SLOT(fileClose(const KURL&)));
connect(projectview, TQT_SIGNAL(closeProject(const KURL&)), docManager(), TQT_SLOT(projectClose(const KURL&)));
connect(projectview, TQT_SIGNAL(projectOptions(const KURL&)), docManager(), TQT_SLOT(projectOptions(const KURL&)));
connect(projectview, TQT_SIGNAL(projectArchive(const KURL&)), this, TQT_SLOT(runArchiveTool(const KURL&)));
connect(projectview, TQT_SIGNAL(removeFromProject(const KileProjectItem *)), docManager(), TQT_SLOT(removeFromProject(const KileProjectItem *)));
connect(projectview, TQT_SIGNAL(addFiles(const KURL &)), docManager(), TQT_SLOT(projectAddFiles(const KURL &)));
connect(projectview, TQT_SIGNAL(openAllFiles(const KURL &)), docManager(), TQT_SLOT(projectOpenAllFiles(const KURL &)));
connect(projectview, TQT_SIGNAL(toggleArchive(KileProjectItem *)), docManager(), TQT_SLOT(toggleArchive(KileProjectItem *)));
connect(projectview, TQT_SIGNAL(addToProject(const KURL &)), docManager(), TQT_SLOT(addToProject(const KURL &)));
connect(projectview, TQT_SIGNAL(saveURL(const KURL &)), docManager(), TQT_SLOT(saveURL(const KURL &)));
connect(projectview, TQT_SIGNAL(buildProjectTree(const KURL &)), docManager(), TQT_SLOT(buildProjectTree(const KURL &)));
connect(docManager(), TQT_SIGNAL(projectTreeChanged(const KileProject *)), projectview, TQT_SLOT(refreshProjectTree(const KileProject *)));
connect(docManager(), TQT_SIGNAL(removeFromProjectView(const KURL &)),projectview,TQT_SLOT(remove(const KURL &)));
connect(docManager(), TQT_SIGNAL(removeFromProjectView(const KileProject *)),projectview,TQT_SLOT(remove(const KileProject *)));
connect(docManager(), TQT_SIGNAL(addToProjectView(const KURL &)),projectview,TQT_SLOT(add(const KURL &)));
connect(docManager(), TQT_SIGNAL(addToProjectView(const KileProject *)),projectview,TQT_SLOT(add(const KileProject *)));
connect(docManager(),TQT_SIGNAL(removeItemFromProjectView(const KileProjectItem *, bool)),projectview,TQT_SLOT(removeItem(const KileProjectItem *, bool)));
connect(docManager(),TQT_SIGNAL(addToProjectView(KileProjectItem *)),projectview,TQT_SLOT(add(KileProjectItem *)));
connect(projectview, TQ_SIGNAL(fileSelected(const KileProjectItem *)), docManager(), TQ_SLOT(fileSelected(const KileProjectItem *)));
connect(projectview, TQ_SIGNAL(fileSelected(const KURL &)), docManager(), TQ_SLOT(fileSelected(const KURL &)));
connect(projectview, TQ_SIGNAL(closeURL(const KURL&)), docManager(), TQ_SLOT(fileClose(const KURL&)));
connect(projectview, TQ_SIGNAL(closeProject(const KURL&)), docManager(), TQ_SLOT(projectClose(const KURL&)));
connect(projectview, TQ_SIGNAL(projectOptions(const KURL&)), docManager(), TQ_SLOT(projectOptions(const KURL&)));
connect(projectview, TQ_SIGNAL(projectArchive(const KURL&)), this, TQ_SLOT(runArchiveTool(const KURL&)));
connect(projectview, TQ_SIGNAL(removeFromProject(const KileProjectItem *)), docManager(), TQ_SLOT(removeFromProject(const KileProjectItem *)));
connect(projectview, TQ_SIGNAL(addFiles(const KURL &)), docManager(), TQ_SLOT(projectAddFiles(const KURL &)));
connect(projectview, TQ_SIGNAL(openAllFiles(const KURL &)), docManager(), TQ_SLOT(projectOpenAllFiles(const KURL &)));
connect(projectview, TQ_SIGNAL(toggleArchive(KileProjectItem *)), docManager(), TQ_SLOT(toggleArchive(KileProjectItem *)));
connect(projectview, TQ_SIGNAL(addToProject(const KURL &)), docManager(), TQ_SLOT(addToProject(const KURL &)));
connect(projectview, TQ_SIGNAL(saveURL(const KURL &)), docManager(), TQ_SLOT(saveURL(const KURL &)));
connect(projectview, TQ_SIGNAL(buildProjectTree(const KURL &)), docManager(), TQ_SLOT(buildProjectTree(const KURL &)));
connect(docManager(), TQ_SIGNAL(projectTreeChanged(const KileProject *)), projectview, TQ_SLOT(refreshProjectTree(const KileProject *)));
connect(docManager(), TQ_SIGNAL(removeFromProjectView(const KURL &)),projectview,TQ_SLOT(remove(const KURL &)));
connect(docManager(), TQ_SIGNAL(removeFromProjectView(const KileProject *)),projectview,TQ_SLOT(remove(const KileProject *)));
connect(docManager(), TQ_SIGNAL(addToProjectView(const KURL &)),projectview,TQ_SLOT(add(const KURL &)));
connect(docManager(), TQ_SIGNAL(addToProjectView(const KileProject *)),projectview,TQ_SLOT(add(const KileProject *)));
connect(docManager(),TQ_SIGNAL(removeItemFromProjectView(const KileProjectItem *, bool)),projectview,TQ_SLOT(removeItem(const KileProjectItem *, bool)));
connect(docManager(),TQ_SIGNAL(addToProjectView(KileProjectItem *)),projectview,TQ_SLOT(add(KileProjectItem *)));
}
void Kile::setupStructureView()
@ -305,18 +305,18 @@ void Kile::setupStructureView()
m_kwStructure = new KileWidget::Structure(this, m_sideBar);
m_sideBar->addTab(m_kwStructure, SmallIcon("view_tree"), i18n("Structure"));
m_kwStructure->setFocusPolicy(TQWidget::ClickFocus);
connect(this, TQT_SIGNAL(configChanged()), m_kwStructure, TQT_SIGNAL(configChanged()));
connect(m_kwStructure, TQT_SIGNAL(setCursor(const KURL &,int,int)), this, TQT_SLOT(setCursor(const KURL &,int,int)));
connect(m_kwStructure, TQT_SIGNAL(fileOpen(const KURL&, const TQString & )), docManager(), TQT_SLOT(fileOpen(const KURL&, const TQString& )));
connect(m_kwStructure, TQT_SIGNAL(fileNew(const KURL&)), docManager(), TQT_SLOT(fileNew(const KURL&)));
connect(m_kwStructure, TQT_SIGNAL(sendText(const TQString &)), this, TQT_SLOT(insertText(const TQString &)));
connect(m_kwStructure, TQT_SIGNAL(sectioningPopup(KileListViewItem *,int)), m_edit, TQT_SLOT(sectioningCommand(KileListViewItem *,int)));
connect(this, TQ_SIGNAL(configChanged()), m_kwStructure, TQ_SIGNAL(configChanged()));
connect(m_kwStructure, TQ_SIGNAL(setCursor(const KURL &,int,int)), this, TQ_SLOT(setCursor(const KURL &,int,int)));
connect(m_kwStructure, TQ_SIGNAL(fileOpen(const KURL&, const TQString & )), docManager(), TQ_SLOT(fileOpen(const KURL&, const TQString& )));
connect(m_kwStructure, TQ_SIGNAL(fileNew(const KURL&)), docManager(), TQ_SLOT(fileNew(const KURL&)));
connect(m_kwStructure, TQ_SIGNAL(sendText(const TQString &)), this, TQ_SLOT(insertText(const TQString &)));
connect(m_kwStructure, TQ_SIGNAL(sectioningPopup(KileListViewItem *,int)), m_edit, TQ_SLOT(sectioningCommand(KileListViewItem *,int)));
}
void Kile::setupScriptsManagementView()
{
m_scriptsManagementWidget = new KileWidget::ScriptsManagement(this, m_sideBar);
connect((TQObject*)editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), m_scriptsManagementWidget, TQT_SLOT(updateListView()));
connect((TQObject*)editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), m_scriptsManagementWidget, TQ_SLOT(updateListView()));
m_sideBar->addTab(m_scriptsManagementWidget, SmallIcon("jspage"), i18n("Scripts"));
}
@ -328,23 +328,23 @@ void Kile::enableSymbolViewMFUS()
Click on an icon to insert the command, additionally pressing SHIFT inserts it in math mode,\
pressing CTRL in curly brackets."));
connect(m_symbolViewRelation,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewOperators,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewArrows,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewMiscMath,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewMiscText,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewDelimiters,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewGreek,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewSpecial,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewCyrillic,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewUser,TQT_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQT_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewRelation,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewOperators,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewArrows,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewMiscMath,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewMiscText,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewDelimiters,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewGreek,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewSpecial,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewCyrillic,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
connect(m_symbolViewUser,TQ_SIGNAL(addToList(const TQIconViewItem *)),m_symbolViewMFUS,TQ_SLOT(slotAddToList(const TQIconViewItem *)));
}
void Kile::disableSymbolViewMFUS()
{
m_toolBox->setItemEnabled(m_toolBox->indexOf(m_symbolViewMFUS),false);
m_toolBox->setItemToolTip(m_toolBox->indexOf(m_symbolViewMFUS),TQString());
disconnect(m_symbolViewMFUS,TQT_SIGNAL(addtoList(const TQIconViewItem *)));
disconnect(m_symbolViewMFUS,TQ_SIGNAL(addtoList(const TQIconViewItem *)));
}
@ -357,58 +357,58 @@ void Kile::setupSymbolViews()
m_symbolViewMFUS = new SymbolView(m_toolBox,SymbolView::MFUS);
m_toolBox->addItem(m_symbolViewMFUS,i18n("Most Frequently Used"));
m_toolBox->setItemEnabled(m_toolBox->indexOf(m_symbolViewMFUS),false);
connect(m_symbolViewMFUS, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewMFUS, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewRelation = new SymbolView(m_toolBox,SymbolView::Relation);
m_toolBox->addItem(m_symbolViewRelation,SmallIcon("math1"),i18n("Relation"));
connect(m_symbolViewRelation, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewRelation, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewOperators = new SymbolView(m_toolBox,SymbolView::Operator);
m_toolBox->addItem(m_symbolViewOperators,SmallIcon("math2"),i18n("Operators"));
connect(m_symbolViewOperators, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewOperators, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewArrows = new SymbolView(m_toolBox,SymbolView::Arrow);
m_toolBox->addItem(m_symbolViewArrows,SmallIcon("math3"),i18n("Arrows"));
connect(m_symbolViewArrows, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewArrows, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewMiscMath = new SymbolView(m_toolBox,SymbolView::MiscMath);
m_toolBox->addItem(m_symbolViewMiscMath,SmallIcon("math4"),i18n("Miscellaneous Math"));
connect(m_symbolViewMiscMath, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewMiscMath, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewMiscText = new SymbolView(m_toolBox,SymbolView::MiscText);
m_toolBox->addItem(m_symbolViewMiscText,SmallIcon("math5"),i18n("Miscellaneous Text"));
connect(m_symbolViewMiscText, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewMiscText, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewDelimiters= new SymbolView(m_toolBox,SymbolView::Delimiters);
m_toolBox->addItem(m_symbolViewDelimiters,SmallIcon("math6"),i18n("Delimiters"));
connect(m_symbolViewDelimiters, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
connect(m_symbolViewDelimiters, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString& ,const TQStringList&)));
m_symbolViewGreek = new SymbolView(m_toolBox,SymbolView::Greek);
m_toolBox->addItem(m_symbolViewGreek,SmallIcon("math7"),i18n("Greek"));
connect(m_symbolViewGreek, TQT_SIGNAL(insertText(const TQString&, const TQStringList&)),
this, TQT_SLOT(insertText(const TQString&, const TQStringList&)));
connect(m_symbolViewGreek, TQ_SIGNAL(insertText(const TQString&, const TQStringList&)),
this, TQ_SLOT(insertText(const TQString&, const TQStringList&)));
m_symbolViewSpecial = new SymbolView(m_toolBox,SymbolView::Special);
m_toolBox->addItem(m_symbolViewSpecial,SmallIcon("math8"),i18n("Special Characters"));
connect(m_symbolViewSpecial, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString&, const TQStringList&)));
connect(m_symbolViewSpecial, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString&, const TQStringList&)));
m_symbolViewCyrillic = new SymbolView(m_toolBox,SymbolView::Cyrillic);
m_toolBox->addItem(m_symbolViewCyrillic,SmallIcon("math10"),i18n("Cyrillic Characters"));
connect(m_symbolViewCyrillic, TQT_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQT_SLOT(insertText(const TQString&, const TQStringList&)));
connect(m_symbolViewCyrillic, TQ_SIGNAL(insertText(const TQString& ,const TQStringList&)),
this, TQ_SLOT(insertText(const TQString&, const TQStringList&)));
m_symbolViewUser = new SymbolView(m_toolBox,SymbolView::User);
m_toolBox->addItem(m_symbolViewUser,SmallIcon("math9"),i18n("User Defined"));
connect(m_symbolViewUser, TQT_SIGNAL(insertText(const TQString&, const TQStringList&)),
this, TQT_SLOT(insertText(const TQString&, const TQStringList& )));
connect(m_symbolViewUser, TQ_SIGNAL(insertText(const TQString&, const TQStringList&)),
this, TQ_SLOT(insertText(const TQString&, const TQStringList& )));
for (int i=0; i< m_toolBox->count(); i++)
m_toolBox->setItemToolTip(i, i18n("Move the mouse over the icons to see the corresponding LaTeX commands.\nClick on the images to insert the command, additionally pressing SHIFT inserts it in math mode, pressing CTRL in curly brackets."));
@ -420,7 +420,7 @@ void Kile::setupAbbreviationView()
m_edit->complete()->setAbbreviationListview(m_kileAbbrevView);
m_sideBar->addTab(m_kileAbbrevView, SmallIcon("complete3"), i18n("Abbreviation"));
connect(m_kileAbbrevView, TQT_SIGNAL(sendText(const TQString& )), this, TQT_SLOT(insertText(const TQString& )));
connect(m_kileAbbrevView, TQ_SIGNAL(sendText(const TQString& )), this, TQ_SLOT(insertText(const TQString& )));
}
void Kile::setupBottomBar()
@ -429,10 +429,10 @@ void Kile::setupBottomBar()
m_bottomBar->setFocusPolicy(TQWidget::ClickFocus);
m_logWidget = new KileWidget::LogMsg( this, m_bottomBar );
connect(m_logWidget, TQT_SIGNAL(showingErrorMessage(TQWidget* )), m_bottomBar, TQT_SLOT(showPage(TQWidget* )));
connect(m_logWidget, TQT_SIGNAL(fileOpen(const KURL&, const TQString & )), docManager(), TQT_SLOT(fileOpen(const KURL&, const TQString& )));
connect(m_logWidget, TQT_SIGNAL(setLine(const TQString& )), this, TQT_SLOT(setLine(const TQString& )));
connect(m_docManager,TQT_SIGNAL(printMsg(int, const TQString &, const TQString &)),m_logWidget,TQT_SLOT(printMsg(int, const TQString &, const TQString &)));
connect(m_logWidget, TQ_SIGNAL(showingErrorMessage(TQWidget* )), m_bottomBar, TQ_SLOT(showPage(TQWidget* )));
connect(m_logWidget, TQ_SIGNAL(fileOpen(const KURL&, const TQString & )), docManager(), TQ_SLOT(fileOpen(const KURL&, const TQString& )));
connect(m_logWidget, TQ_SIGNAL(setLine(const TQString& )), this, TQ_SLOT(setLine(const TQString& )));
connect(m_docManager,TQ_SIGNAL(printMsg(int, const TQString &, const TQString &)),m_logWidget,TQ_SLOT(printMsg(int, const TQString &, const TQString &)));
m_logWidget->setFocusPolicy(TQWidget::ClickFocus);
m_logWidget->setMinimumHeight(40);
@ -447,11 +447,11 @@ void Kile::setupBottomBar()
m_outputInfo=new LatexOutputInfoArray();
m_outputFilter=new LatexOutputFilter(m_outputInfo,m_extensions);
connect(m_outputFilter, TQT_SIGNAL(problem(int, const TQString& )), m_logWidget, TQT_SLOT(printProblem(int, const TQString& )));
connect(m_outputFilter, TQ_SIGNAL(problem(int, const TQString& )), m_logWidget, TQ_SLOT(printProblem(int, const TQString& )));
m_texKonsole=new KileWidget::Konsole(this, m_bottomBar,"konsole");
m_bottomBar->addTab(m_texKonsole, SmallIcon("konsole"),i18n("Konsole"));
connect(viewManager()->tabs(), TQT_SIGNAL( currentChanged( TQWidget * ) ), m_texKonsole, TQT_SLOT(sync()));
connect(viewManager()->tabs(), TQ_SIGNAL( currentChanged( TQWidget * ) ), m_texKonsole, TQ_SLOT(sync()));
m_previewView = new TQScrollView (m_bottomBar);
m_previewWidget = new KileWidget::PreviewWidget (this, m_previewView);
@ -492,159 +492,159 @@ void Kile::setupPreviewTools()
void Kile::setupActions()
{
m_paPrint = KStdAction::print(0,0, actionCollection(), "file_print");
(void) KStdAction::openNew(docManager(), TQT_SLOT(fileNew()), actionCollection(), "file_new" );
(void) KStdAction::open(docManager(), TQT_SLOT(fileOpen()), actionCollection(),"file_open" );
m_actRecentFiles = KStdAction::openRecent(docManager(), TQT_SLOT(fileOpen(const KURL&)), actionCollection(), "file_open_recent");
connect(docManager(), TQT_SIGNAL(addToRecentFiles(const KURL& )), m_actRecentFiles, TQT_SLOT(addURL(const KURL& )));
(void) KStdAction::openNew(docManager(), TQ_SLOT(fileNew()), actionCollection(), "file_new" );
(void) KStdAction::open(docManager(), TQ_SLOT(fileOpen()), actionCollection(),"file_open" );
m_actRecentFiles = KStdAction::openRecent(docManager(), TQ_SLOT(fileOpen(const KURL&)), actionCollection(), "file_open_recent");
connect(docManager(), TQ_SIGNAL(addToRecentFiles(const KURL& )), m_actRecentFiles, TQ_SLOT(addURL(const KURL& )));
m_actRecentFiles->loadEntries(m_config, "Recent Files");
(void) new TDEAction(i18n("Save All"),"save_all", 0, docManager(), TQT_SLOT(fileSaveAll()), actionCollection(),"file_save_all");
(void) new TDEAction(i18n("Save Copy As..."),"save_copy_as", 0, docManager(), TQT_SLOT(fileSaveCopyAs()), actionCollection(),"file_save_copy_as");
(void) new TDEAction(i18n("Create Template From Document..."), 0, docManager(), TQT_SLOT(createTemplate()), actionCollection(),"template_create");
(void) new TDEAction(i18n("&Remove Template..."),0, docManager(), TQT_SLOT(removeTemplate()), actionCollection(), "template_remove");
(void) KStdAction::close(docManager(), TQT_SLOT(fileClose()), actionCollection(),"file_close" );
(void) new TDEAction(i18n("Close All"), 0, docManager(), TQT_SLOT(fileCloseAll()), actionCollection(),"file_close_all" );
(void) new TDEAction(i18n("Close All Ot&hers"), 0, docManager(), TQT_SLOT(fileCloseAllOthers()), actionCollection(),"file_close_all_others" );
(void) new TDEAction(i18n("S&tatistics"), 0, this, TQT_SLOT(showDocInfo()), actionCollection(), "Statistics" );
(void) new TDEAction(i18n("&ASCII"), 0, this, TQT_SLOT(convertToASCII()), actionCollection(), "file_export_ascii" );
(void) new TDEAction(i18n("Latin-&1 (iso 8859-1)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin1" );
(void) new TDEAction(i18n("Latin-&2 (iso 8859-2)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin2" );
(void) new TDEAction(i18n("Latin-&3 (iso 8859-3)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin3" );
(void) new TDEAction(i18n("Latin-&4 (iso 8859-4)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin4" );
(void) new TDEAction(i18n("Latin-&5 (iso 8859-5)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin5" );
(void) new TDEAction(i18n("Latin-&9 (iso 8859-9)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin9" );
(void) new TDEAction(i18n("&Central European (cp-1250)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_cp1250" );
(void) new TDEAction(i18n("&Western European (cp-1252)"), 0, this, TQT_SLOT(convertToEnc()), actionCollection(), "file_export_cp1252" );
(void) KStdAction::quit(this, TQT_SLOT(close()), actionCollection(),"file_quit" );
(void) KStdAction::gotoLine(m_edit, TQT_SLOT(gotoLine()), actionCollection(),"edit_goto_line" );
(void) new TDEAction(i18n("Next section"), "nextsection", ALT+Key_Down, m_edit, TQT_SLOT(gotoNextSectioning()), actionCollection(),"edit_next_section" );
(void) new TDEAction(i18n("Prev section"), "prevsection", ALT+Key_Up, m_edit, TQT_SLOT(gotoPrevSectioning()), actionCollection(),"edit_prev_section" );
(void) new TDEAction(i18n("Next paragraph"), "nextparagraph", ALT+SHIFT+Key_Down, m_edit, TQT_SLOT(gotoNextParagraph()), actionCollection(),"edit_next_paragraph" );
(void) new TDEAction(i18n("Prev paragraph"), "prevparagraph", ALT+SHIFT+Key_Up, m_edit, TQT_SLOT(gotoPrevParagraph()), actionCollection(),"edit_prev_paragraph" );
(void) new TDEAction(i18n("Find &in Files..."), "filegrep", ALT+SHIFT+Key_F, this, TQT_SLOT(findInFiles()), actionCollection(),"FindInFiles" );
(void) new TDEAction(i18n("Refresh Str&ucture"), "refreshstructure", Key_F12, this, TQT_SLOT(refreshStructure()), actionCollection(),"RefreshStructure" );
(void) new TDEAction(i18n("Save All"),"save_all", 0, docManager(), TQ_SLOT(fileSaveAll()), actionCollection(),"file_save_all");
(void) new TDEAction(i18n("Save Copy As..."),"save_copy_as", 0, docManager(), TQ_SLOT(fileSaveCopyAs()), actionCollection(),"file_save_copy_as");
(void) new TDEAction(i18n("Create Template From Document..."), 0, docManager(), TQ_SLOT(createTemplate()), actionCollection(),"template_create");
(void) new TDEAction(i18n("&Remove Template..."),0, docManager(), TQ_SLOT(removeTemplate()), actionCollection(), "template_remove");
(void) KStdAction::close(docManager(), TQ_SLOT(fileClose()), actionCollection(),"file_close" );
(void) new TDEAction(i18n("Close All"), 0, docManager(), TQ_SLOT(fileCloseAll()), actionCollection(),"file_close_all" );
(void) new TDEAction(i18n("Close All Ot&hers"), 0, docManager(), TQ_SLOT(fileCloseAllOthers()), actionCollection(),"file_close_all_others" );
(void) new TDEAction(i18n("S&tatistics"), 0, this, TQ_SLOT(showDocInfo()), actionCollection(), "Statistics" );
(void) new TDEAction(i18n("&ASCII"), 0, this, TQ_SLOT(convertToASCII()), actionCollection(), "file_export_ascii" );
(void) new TDEAction(i18n("Latin-&1 (iso 8859-1)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin1" );
(void) new TDEAction(i18n("Latin-&2 (iso 8859-2)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin2" );
(void) new TDEAction(i18n("Latin-&3 (iso 8859-3)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin3" );
(void) new TDEAction(i18n("Latin-&4 (iso 8859-4)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin4" );
(void) new TDEAction(i18n("Latin-&5 (iso 8859-5)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin5" );
(void) new TDEAction(i18n("Latin-&9 (iso 8859-9)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_latin9" );
(void) new TDEAction(i18n("&Central European (cp-1250)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_cp1250" );
(void) new TDEAction(i18n("&Western European (cp-1252)"), 0, this, TQ_SLOT(convertToEnc()), actionCollection(), "file_export_cp1252" );
(void) KStdAction::quit(this, TQ_SLOT(close()), actionCollection(),"file_quit" );
(void) KStdAction::gotoLine(m_edit, TQ_SLOT(gotoLine()), actionCollection(),"edit_goto_line" );
(void) new TDEAction(i18n("Next section"), "nextsection", ALT+Key_Down, m_edit, TQ_SLOT(gotoNextSectioning()), actionCollection(),"edit_next_section" );
(void) new TDEAction(i18n("Prev section"), "prevsection", ALT+Key_Up, m_edit, TQ_SLOT(gotoPrevSectioning()), actionCollection(),"edit_prev_section" );
(void) new TDEAction(i18n("Next paragraph"), "nextparagraph", ALT+SHIFT+Key_Down, m_edit, TQ_SLOT(gotoNextParagraph()), actionCollection(),"edit_next_paragraph" );
(void) new TDEAction(i18n("Prev paragraph"), "prevparagraph", ALT+SHIFT+Key_Up, m_edit, TQ_SLOT(gotoPrevParagraph()), actionCollection(),"edit_prev_paragraph" );
(void) new TDEAction(i18n("Find &in Files..."), "filegrep", ALT+SHIFT+Key_F, this, TQ_SLOT(findInFiles()), actionCollection(),"FindInFiles" );
(void) new TDEAction(i18n("Refresh Str&ucture"), "refreshstructure", Key_F12, this, TQ_SLOT(refreshStructure()), actionCollection(),"RefreshStructure" );
//project actions
(void) new TDEAction(i18n("&New Project..."), "window-new", 0, docManager(), TQT_SLOT(projectNew()), actionCollection(), "project_new");
(void) new TDEAction(i18n("&Open Project..."), "project_open", 0, docManager(), TQT_SLOT(projectOpen()), actionCollection(), "project_open");
m_actRecentProjects = new TDERecentFilesAction(i18n("Open &Recent Project"), 0, docManager(), TQT_SLOT(projectOpen(const KURL &)), actionCollection(), "project_openrecent");
connect(docManager(), TQT_SIGNAL(removeFromRecentProjects(const KURL& )), m_actRecentProjects, TQT_SLOT(removeURL(const KURL& )));
connect(docManager(), TQT_SIGNAL(addToRecentProjects(const KURL& )), m_actRecentProjects, TQT_SLOT(addURL(const KURL& )));
(void) new TDEAction(i18n("&New Project..."), "window-new", 0, docManager(), TQ_SLOT(projectNew()), actionCollection(), "project_new");
(void) new TDEAction(i18n("&Open Project..."), "project_open", 0, docManager(), TQ_SLOT(projectOpen()), actionCollection(), "project_open");
m_actRecentProjects = new TDERecentFilesAction(i18n("Open &Recent Project"), 0, docManager(), TQ_SLOT(projectOpen(const KURL &)), actionCollection(), "project_openrecent");
connect(docManager(), TQ_SIGNAL(removeFromRecentProjects(const KURL& )), m_actRecentProjects, TQ_SLOT(removeURL(const KURL& )));
connect(docManager(), TQ_SIGNAL(addToRecentProjects(const KURL& )), m_actRecentProjects, TQ_SLOT(addURL(const KURL& )));
m_actRecentProjects->loadEntries(m_config, "Projects");
(void) new TDEAction(i18n("A&dd Files to Project..."),"project_add", 0, docManager(), TQT_SLOT(projectAddFiles()), actionCollection(), "project_add");
(void) new TDEAction(i18n("Refresh Project &Tree"), "rebuild", 0, docManager(), TQT_SLOT(buildProjectTree()), actionCollection(), "project_buildtree");
(void) new TDEAction(i18n("&Archive"), "package", 0, this, TQT_SLOT(runArchiveTool()), actionCollection(), "project_archive");
(void) new TDEAction(i18n("Project &Options"), "configure_project", 0, docManager(), TQT_SLOT(projectOptions()), actionCollection(), "project_options");
(void) new TDEAction(i18n("&Close Project"), "window-close", 0, docManager(), TQT_SLOT(projectClose()), actionCollection(), "project_close");
(void) new TDEAction(i18n("A&dd Files to Project..."),"project_add", 0, docManager(), TQ_SLOT(projectAddFiles()), actionCollection(), "project_add");
(void) new TDEAction(i18n("Refresh Project &Tree"), "rebuild", 0, docManager(), TQ_SLOT(buildProjectTree()), actionCollection(), "project_buildtree");
(void) new TDEAction(i18n("&Archive"), "package", 0, this, TQ_SLOT(runArchiveTool()), actionCollection(), "project_archive");
(void) new TDEAction(i18n("Project &Options"), "configure_project", 0, docManager(), TQ_SLOT(projectOptions()), actionCollection(), "project_options");
(void) new TDEAction(i18n("&Close Project"), "window-close", 0, docManager(), TQ_SLOT(projectClose()), actionCollection(), "project_close");
// new project actions (dani)
(void) new TDEAction(i18n("&Show Projects..."), 0, docManager(), TQT_SLOT(projectShow()), actionCollection(), "project_show");
(void) new TDEAction(i18n("Re&move Files From Project..."),"project_remove", 0, docManager(), TQT_SLOT(projectRemoveFiles()), actionCollection(), "project_remove");
(void) new TDEAction(i18n("Show Project &Files..."),"project_show", 0, docManager(), TQT_SLOT(projectShowFiles()), actionCollection(), "project_showfiles");
(void) new TDEAction(i18n("&Show Projects..."), 0, docManager(), TQ_SLOT(projectShow()), actionCollection(), "project_show");
(void) new TDEAction(i18n("Re&move Files From Project..."),"project_remove", 0, docManager(), TQ_SLOT(projectRemoveFiles()), actionCollection(), "project_remove");
(void) new TDEAction(i18n("Show Project &Files..."),"project_show", 0, docManager(), TQ_SLOT(projectShowFiles()), actionCollection(), "project_showfiles");
// tbraun
(void) new TDEAction(i18n("Open All &Project Files"), 0, docManager(), TQT_SLOT(projectOpenAllFiles()), actionCollection(), "project_openallfiles");
(void) new TDEAction(i18n("Find in &Project..."), "projectgrep", 0, this, TQT_SLOT(findInProjects()), actionCollection(),"project_findfiles" );
(void) new TDEAction(i18n("Open All &Project Files"), 0, docManager(), TQ_SLOT(projectOpenAllFiles()), actionCollection(), "project_openallfiles");
(void) new TDEAction(i18n("Find in &Project..."), "projectgrep", 0, this, TQ_SLOT(findInProjects()), actionCollection(),"project_findfiles" );
//build actions
(void) new TDEAction(i18n("Clean"),"trashcan_full",0 , this, TQT_SLOT(cleanAll()), actionCollection(),"CleanAll" );
(void) new TDEAction(i18n("View Log File"),"viewlog", ALT+Key_0, m_errorHandler, TQT_SLOT(ViewLog()), actionCollection(),"ViewLog" );
(void) new TDEAction(i18n("Previous LaTeX Error"),"errorprev", 0, m_errorHandler, TQT_SLOT(PreviousError()), actionCollection(),"PreviousError" );
(void) new TDEAction(i18n("Next LaTeX Error"),"errornext", 0, m_errorHandler, TQT_SLOT(NextError()), actionCollection(),"NextError" );
(void) new TDEAction(i18n("Previous LaTeX Warning"),"warnprev", 0, m_errorHandler, TQT_SLOT(PreviousWarning()), actionCollection(),"PreviousWarning" );
(void) new TDEAction(i18n("Next LaTeX Warning"),"warnnext", 0, m_errorHandler, TQT_SLOT(NextWarning()), actionCollection(),"NextWarning" );
(void) new TDEAction(i18n("Previous LaTeX BadBox"),"bboxprev", 0, m_errorHandler, TQT_SLOT(PreviousBadBox()), actionCollection(),"PreviousBadBox" );
(void) new TDEAction(i18n("Next LaTeX BadBox"),"bboxnext", 0, m_errorHandler, TQT_SLOT(NextBadBox()), actionCollection(),"NextBadBox" );
(void) new TDEAction(i18n("Clean"),"trashcan_full",0 , this, TQ_SLOT(cleanAll()), actionCollection(),"CleanAll" );
(void) new TDEAction(i18n("View Log File"),"viewlog", ALT+Key_0, m_errorHandler, TQ_SLOT(ViewLog()), actionCollection(),"ViewLog" );
(void) new TDEAction(i18n("Previous LaTeX Error"),"errorprev", 0, m_errorHandler, TQ_SLOT(PreviousError()), actionCollection(),"PreviousError" );
(void) new TDEAction(i18n("Next LaTeX Error"),"errornext", 0, m_errorHandler, TQ_SLOT(NextError()), actionCollection(),"NextError" );
(void) new TDEAction(i18n("Previous LaTeX Warning"),"warnprev", 0, m_errorHandler, TQ_SLOT(PreviousWarning()), actionCollection(),"PreviousWarning" );
(void) new TDEAction(i18n("Next LaTeX Warning"),"warnnext", 0, m_errorHandler, TQ_SLOT(NextWarning()), actionCollection(),"NextWarning" );
(void) new TDEAction(i18n("Previous LaTeX BadBox"),"bboxprev", 0, m_errorHandler, TQ_SLOT(PreviousBadBox()), actionCollection(),"PreviousBadBox" );
(void) new TDEAction(i18n("Next LaTeX BadBox"),"bboxnext", 0, m_errorHandler, TQ_SLOT(NextBadBox()), actionCollection(),"NextBadBox" );
m_paStop = new TDEAction(i18n("&Stop"),"process-stop",Key_Escape,0,0,actionCollection(),"Stop");
m_paStop->setEnabled(false);
(void) new TDEAction(i18n("Editor View"),"edit",CTRL+Key_E , this, TQT_SLOT(showEditorWidget()), actionCollection(),"EditorView" );
(void) new TDEAction(i18n("Next Document"),"forward",ALT+Key_Right, viewManager(), TQT_SLOT(gotoNextView()), actionCollection(), "gotoNextDocument" );
(void) new TDEAction(i18n("Previous Document"),"back",ALT+Key_Left, viewManager(), TQT_SLOT(gotoPrevView()), actionCollection(), "gotoPrevDocument" );
(void) new TDEAction(i18n("Focus Log/Messages View"), CTRL+ALT+Key_M, this, TQT_SLOT(focusLog()), actionCollection(), "focus_log");
(void) new TDEAction(i18n("Focus Output View"), CTRL+ALT+Key_O, this, TQT_SLOT(focusOutput()), actionCollection(), "focus_output");
(void) new TDEAction(i18n("Focus Konsole View"), CTRL+ALT+Key_K, this, TQT_SLOT(focusKonsole()), actionCollection(), "focus_konsole");
(void) new TDEAction(i18n("Focus Editor View"), CTRL+ALT+Key_E, this, TQT_SLOT(focusEditor()), actionCollection(), "focus_editor");
(void) new TDEAction(i18n("Editor View"),"edit",CTRL+Key_E , this, TQ_SLOT(showEditorWidget()), actionCollection(),"EditorView" );
(void) new TDEAction(i18n("Next Document"),"forward",ALT+Key_Right, viewManager(), TQ_SLOT(gotoNextView()), actionCollection(), "gotoNextDocument" );
(void) new TDEAction(i18n("Previous Document"),"back",ALT+Key_Left, viewManager(), TQ_SLOT(gotoPrevView()), actionCollection(), "gotoPrevDocument" );
(void) new TDEAction(i18n("Focus Log/Messages View"), CTRL+ALT+Key_M, this, TQ_SLOT(focusLog()), actionCollection(), "focus_log");
(void) new TDEAction(i18n("Focus Output View"), CTRL+ALT+Key_O, this, TQ_SLOT(focusOutput()), actionCollection(), "focus_output");
(void) new TDEAction(i18n("Focus Konsole View"), CTRL+ALT+Key_K, this, TQ_SLOT(focusKonsole()), actionCollection(), "focus_konsole");
(void) new TDEAction(i18n("Focus Editor View"), CTRL+ALT+Key_E, this, TQ_SLOT(focusEditor()), actionCollection(), "focus_editor");
// CodeCompletion (dani)
(void) new TDEAction(i18n("(La)TeX Command"),"complete1",CTRL+Key_Space, m_edit, TQT_SLOT(completeWord()), actionCollection(), "edit_complete_word");
(void) new TDEAction(i18n("Environment"),"complete2",ALT+Key_Space, m_edit, TQT_SLOT(completeEnvironment()), actionCollection(), "edit_complete_env");
(void) new TDEAction(i18n("Abbreviation"),"complete3",CTRL+ALT+Key_Space, m_edit, TQT_SLOT(completeAbbreviation()), actionCollection(), "edit_complete_abbrev");
(void) new TDEAction(i18n("(La)TeX Command"),"complete1",CTRL+Key_Space, m_edit, TQ_SLOT(completeWord()), actionCollection(), "edit_complete_word");
(void) new TDEAction(i18n("Environment"),"complete2",ALT+Key_Space, m_edit, TQ_SLOT(completeEnvironment()), actionCollection(), "edit_complete_env");
(void) new TDEAction(i18n("Abbreviation"),"complete3",CTRL+ALT+Key_Space, m_edit, TQ_SLOT(completeAbbreviation()), actionCollection(), "edit_complete_abbrev");
(void) new TDEAction(i18n("Next Bullet"),"nextbullet",CTRL+ALT+Key_Right, m_edit, TQT_SLOT(nextBullet()), actionCollection(), "edit_next_bullet");
(void) new TDEAction(i18n("Prev Bullet"),"prevbullet",CTRL+ALT+Key_Left, m_edit, TQT_SLOT(prevBullet()), actionCollection(), "edit_prev_bullet");
(void) new TDEAction(i18n("Next Bullet"),"nextbullet",CTRL+ALT+Key_Right, m_edit, TQ_SLOT(nextBullet()), actionCollection(), "edit_next_bullet");
(void) new TDEAction(i18n("Prev Bullet"),"prevbullet",CTRL+ALT+Key_Left, m_edit, TQ_SLOT(prevBullet()), actionCollection(), "edit_prev_bullet");
// advanced editor (dani)
(void) new TDEAction(i18n("Environment (inside)"),"selenv_i",TDEShortcut("CTRL+Alt+S,E"), m_edit, TQT_SLOT(selectEnvInside()), actionCollection(), "edit_select_inside_env");
(void) new TDEAction(i18n("Environment (outside)"),"selenv_o",TDEShortcut("CTRL+Alt+S,F"), m_edit, TQT_SLOT(selectEnvOutside()), actionCollection(), "edit_select_outside_env");
(void) new TDEAction(i18n("TeX Group (inside)"),"selgroup_i",TDEShortcut("CTRL+Alt+S,T"), m_edit, TQT_SLOT(selectTexgroupInside()), actionCollection(), "edit_select_inside_group");
(void) new TDEAction(i18n("TeX Group (outside)"), "selgroup_o",TDEShortcut("CTRL+Alt+S,U"),m_edit, TQT_SLOT(selectTexgroupOutside()), actionCollection(), "edit_select_outside_group");
(void) new TDEAction(i18n("Math Group"), "selmath",TDEShortcut("CTRL+Alt+S,M"),m_edit, TQT_SLOT(selectMathgroup()), actionCollection(), "edit_select_mathgroup");
(void) new TDEAction(i18n("Paragraph"),"selpar",TDEShortcut("CTRL+Alt+S,P"),m_edit, TQT_SLOT(selectParagraph()), actionCollection(), "edit_select_paragraph");
(void) new TDEAction(i18n("Line"),"selline",TDEShortcut("CTRL+Alt+S,L"),m_edit, TQT_SLOT(selectLine()), actionCollection(), "edit_select_line");
(void) new TDEAction(i18n("TeX Word"),"selword",TDEShortcut("CTRL+Alt+S,W"),m_edit, TQT_SLOT(selectWord()), actionCollection(), "edit_select_word");
(void) new TDEAction(i18n("Environment (inside)"),"delenv_i",TDEShortcut("CTRL+Alt+T,E"), m_edit, TQT_SLOT(deleteEnvInside()), actionCollection(), "edit_delete_inside_env");
(void) new TDEAction(i18n("Environment (outside)"),"delenv_o",TDEShortcut("CTRL+Alt+T,F"),m_edit, TQT_SLOT(deleteEnvOutside()), actionCollection(), "edit_delete_outside_env");
(void) new TDEAction(i18n("TeX Group (inside)"),"delgroup_i",TDEShortcut("CTRL+Alt+T,T"), m_edit, TQT_SLOT(deleteTexgroupInside()), actionCollection(),"edit_delete_inside_group");
(void) new TDEAction(i18n("TeX Group (outside)"),"delgroup_o",TDEShortcut("CTRL+Alt+T,U"),m_edit, TQT_SLOT(deleteTexgroupInside()), actionCollection(), "edit_delete_outside_group");
(void) new TDEAction(i18n("Math Group"),"delmath",TDEShortcut("CTRL+Alt+T,M"),m_edit, TQT_SLOT(deleteMathgroup()), actionCollection(), "edit_delete_mathgroup");
(void) new TDEAction(i18n("Paragraph"),"delpar",TDEShortcut("CTRL+Alt+T,P"),m_edit, TQT_SLOT(deleteParagraph()), actionCollection(), "edit_delete_paragraph");
(void) new TDEAction(i18n("To End of Line"),"deleol",TDEShortcut("CTRL+Alt+T,I"),m_edit, TQT_SLOT(deleteEndOfLine()), actionCollection(), "edit_delete_eol");
(void) new TDEAction(i18n("TeX Word"),"delword",TDEShortcut("CTRL+Alt+T,W"),m_edit, TQT_SLOT(deleteWord()), actionCollection(), "edit_delete_word");
(void) new TDEAction(i18n("Goto Begin"),"gotobeginenv",TDEShortcut("CTRL+Alt+E,B"), m_edit, TQT_SLOT(gotoBeginEnv()), actionCollection(), "edit_begin_env");
(void) new TDEAction(i18n("Goto End"),"gotoendenv",TDEShortcut("CTRL+Alt+E,E"), m_edit, TQT_SLOT(gotoEndEnv()), actionCollection(), "edit_end_env");
(void) new TDEAction(i18n("Match"),"matchenv",TDEShortcut("CTRL+Alt+E,M"), m_edit, TQT_SLOT(matchEnv()), actionCollection(), "edit_match_env");
(void) new TDEAction(i18n("Close"),"closeenv",TDEShortcut("CTRL+Alt+E,C"), m_edit, TQT_SLOT(closeEnv()), actionCollection(), "edit_close_env");
(void) new TDEAction(i18n("Close All"),"closeallenv",TDEShortcut("CTRL+Alt+E,A"), m_edit, TQT_SLOT(closeAllEnv()), actionCollection(), "edit_closeall_env");
(void) new TDEAction(i18n("Goto Begin"),"gotobegingroup",TDEShortcut("CTRL+Alt+G,B"), m_edit, TQT_SLOT(gotoBeginTexgroup()), actionCollection(), "edit_begin_group");
(void) new TDEAction(i18n("Goto End"),"gotoendgroup",TDEShortcut("CTRL+Alt+G,E"), m_edit, TQT_SLOT(gotoEndTexgroup()), actionCollection(), "edit_end_group");
(void) new TDEAction(i18n("Match"),"matchgroup",TDEShortcut("CTRL+Alt+G,M"), m_edit, TQT_SLOT(matchTexgroup()), actionCollection(), "edit_match_group");
(void) new TDEAction(i18n("Close"),"closegroup",TDEShortcut("CTRL+Alt+G,C"), m_edit, TQT_SLOT(closeTexgroup()), actionCollection(), "edit_close_group");
(void) new TDEAction(i18n("Selection"),"preview_sel",TDEShortcut("CTRL+Alt+P,S"), this, TQT_SLOT(quickPreviewSelection()), actionCollection(),"quickpreview_selection" );
(void) new TDEAction(i18n("Environment"),"preview_env",TDEShortcut("CTRL+Alt+P,E"), this, TQT_SLOT(quickPreviewEnvironment()), actionCollection(),"quickpreview_environment" );
(void) new TDEAction(i18n("Subdocument"),"preview_subdoc",TDEShortcut("CTRL+Alt+P,D"), this, TQT_SLOT(quickPreviewSubdocument()), actionCollection(),"quickpreview_subdocument" );
(void) new TDEAction (i18n ("Mathgroup"), "edu_mathematics", TDEShortcut("CTRL+Alt+P,M"), this, TQT_SLOT(quickPreviewMathgroup()), actionCollection(), "quickpreview_math");
(void) new TDEAction(i18n("Environment (inside)"),"selenv_i",TDEShortcut("CTRL+Alt+S,E"), m_edit, TQ_SLOT(selectEnvInside()), actionCollection(), "edit_select_inside_env");
(void) new TDEAction(i18n("Environment (outside)"),"selenv_o",TDEShortcut("CTRL+Alt+S,F"), m_edit, TQ_SLOT(selectEnvOutside()), actionCollection(), "edit_select_outside_env");
(void) new TDEAction(i18n("TeX Group (inside)"),"selgroup_i",TDEShortcut("CTRL+Alt+S,T"), m_edit, TQ_SLOT(selectTexgroupInside()), actionCollection(), "edit_select_inside_group");
(void) new TDEAction(i18n("TeX Group (outside)"), "selgroup_o",TDEShortcut("CTRL+Alt+S,U"),m_edit, TQ_SLOT(selectTexgroupOutside()), actionCollection(), "edit_select_outside_group");
(void) new TDEAction(i18n("Math Group"), "selmath",TDEShortcut("CTRL+Alt+S,M"),m_edit, TQ_SLOT(selectMathgroup()), actionCollection(), "edit_select_mathgroup");
(void) new TDEAction(i18n("Paragraph"),"selpar",TDEShortcut("CTRL+Alt+S,P"),m_edit, TQ_SLOT(selectParagraph()), actionCollection(), "edit_select_paragraph");
(void) new TDEAction(i18n("Line"),"selline",TDEShortcut("CTRL+Alt+S,L"),m_edit, TQ_SLOT(selectLine()), actionCollection(), "edit_select_line");
(void) new TDEAction(i18n("TeX Word"),"selword",TDEShortcut("CTRL+Alt+S,W"),m_edit, TQ_SLOT(selectWord()), actionCollection(), "edit_select_word");
(void) new TDEAction(i18n("Environment (inside)"),"delenv_i",TDEShortcut("CTRL+Alt+T,E"), m_edit, TQ_SLOT(deleteEnvInside()), actionCollection(), "edit_delete_inside_env");
(void) new TDEAction(i18n("Environment (outside)"),"delenv_o",TDEShortcut("CTRL+Alt+T,F"),m_edit, TQ_SLOT(deleteEnvOutside()), actionCollection(), "edit_delete_outside_env");
(void) new TDEAction(i18n("TeX Group (inside)"),"delgroup_i",TDEShortcut("CTRL+Alt+T,T"), m_edit, TQ_SLOT(deleteTexgroupInside()), actionCollection(),"edit_delete_inside_group");
(void) new TDEAction(i18n("TeX Group (outside)"),"delgroup_o",TDEShortcut("CTRL+Alt+T,U"),m_edit, TQ_SLOT(deleteTexgroupInside()), actionCollection(), "edit_delete_outside_group");
(void) new TDEAction(i18n("Math Group"),"delmath",TDEShortcut("CTRL+Alt+T,M"),m_edit, TQ_SLOT(deleteMathgroup()), actionCollection(), "edit_delete_mathgroup");
(void) new TDEAction(i18n("Paragraph"),"delpar",TDEShortcut("CTRL+Alt+T,P"),m_edit, TQ_SLOT(deleteParagraph()), actionCollection(), "edit_delete_paragraph");
(void) new TDEAction(i18n("To End of Line"),"deleol",TDEShortcut("CTRL+Alt+T,I"),m_edit, TQ_SLOT(deleteEndOfLine()), actionCollection(), "edit_delete_eol");
(void) new TDEAction(i18n("TeX Word"),"delword",TDEShortcut("CTRL+Alt+T,W"),m_edit, TQ_SLOT(deleteWord()), actionCollection(), "edit_delete_word");
(void) new TDEAction(i18n("Goto Begin"),"gotobeginenv",TDEShortcut("CTRL+Alt+E,B"), m_edit, TQ_SLOT(gotoBeginEnv()), actionCollection(), "edit_begin_env");
(void) new TDEAction(i18n("Goto End"),"gotoendenv",TDEShortcut("CTRL+Alt+E,E"), m_edit, TQ_SLOT(gotoEndEnv()), actionCollection(), "edit_end_env");
(void) new TDEAction(i18n("Match"),"matchenv",TDEShortcut("CTRL+Alt+E,M"), m_edit, TQ_SLOT(matchEnv()), actionCollection(), "edit_match_env");
(void) new TDEAction(i18n("Close"),"closeenv",TDEShortcut("CTRL+Alt+E,C"), m_edit, TQ_SLOT(closeEnv()), actionCollection(), "edit_close_env");
(void) new TDEAction(i18n("Close All"),"closeallenv",TDEShortcut("CTRL+Alt+E,A"), m_edit, TQ_SLOT(closeAllEnv()), actionCollection(), "edit_closeall_env");
(void) new TDEAction(i18n("Goto Begin"),"gotobegingroup",TDEShortcut("CTRL+Alt+G,B"), m_edit, TQ_SLOT(gotoBeginTexgroup()), actionCollection(), "edit_begin_group");
(void) new TDEAction(i18n("Goto End"),"gotoendgroup",TDEShortcut("CTRL+Alt+G,E"), m_edit, TQ_SLOT(gotoEndTexgroup()), actionCollection(), "edit_end_group");
(void) new TDEAction(i18n("Match"),"matchgroup",TDEShortcut("CTRL+Alt+G,M"), m_edit, TQ_SLOT(matchTexgroup()), actionCollection(), "edit_match_group");
(void) new TDEAction(i18n("Close"),"closegroup",TDEShortcut("CTRL+Alt+G,C"), m_edit, TQ_SLOT(closeTexgroup()), actionCollection(), "edit_close_group");
(void) new TDEAction(i18n("Selection"),"preview_sel",TDEShortcut("CTRL+Alt+P,S"), this, TQ_SLOT(quickPreviewSelection()), actionCollection(),"quickpreview_selection" );
(void) new TDEAction(i18n("Environment"),"preview_env",TDEShortcut("CTRL+Alt+P,E"), this, TQ_SLOT(quickPreviewEnvironment()), actionCollection(),"quickpreview_environment" );
(void) new TDEAction(i18n("Subdocument"),"preview_subdoc",TDEShortcut("CTRL+Alt+P,D"), this, TQ_SLOT(quickPreviewSubdocument()), actionCollection(),"quickpreview_subdocument" );
(void) new TDEAction (i18n ("Mathgroup"), "edu_mathematics", TDEShortcut("CTRL+Alt+P,M"), this, TQ_SLOT(quickPreviewMathgroup()), actionCollection(), "quickpreview_math");
KileStdActions::setupStdTags(this,this);
KileStdActions::setupMathTags(this);
KileStdActions::setupBibTags(this);
(void) new TDEAction(i18n("Quick Start"),"quickwizard",0 , this, TQT_SLOT(quickDocument()), actionCollection(),"wizard_document" );
connect(docManager(), TQT_SIGNAL(startWizard()), this, TQT_SLOT(quickDocument()));
(void) new TDEAction(i18n("Tabular"),"wizard_tabular",0 , this, TQT_SLOT(quickTabular()), actionCollection(),"wizard_tabular" );
(void) new TDEAction(i18n("Array"),"wizard_array",0 , this, TQT_SLOT(quickArray()), actionCollection(),"wizard_array" );
(void) new TDEAction(i18n("Tabbing"),"wizard_tabbing",0 , this, TQT_SLOT(quickTabbing()), actionCollection(),"wizard_tabbing" );
(void) new TDEAction(i18n("Floats"),"wizard_float",0, this, TQT_SLOT(quickFloat()), actionCollection(),"wizard_float" );
(void) new TDEAction(i18n("Math"),"wizard_math",0, this, TQT_SLOT(quickMathenv()), actionCollection(),"wizard_mathenv" );
(void) new TDEAction(i18n("Postscript Tools"),"wizard_pstools",0 , this, TQT_SLOT(quickPostscript()), actionCollection(),"wizard_postscript" );
(void) new TDEAction(i18n("Quick Start"),"quickwizard",0 , this, TQ_SLOT(quickDocument()), actionCollection(),"wizard_document" );
connect(docManager(), TQ_SIGNAL(startWizard()), this, TQ_SLOT(quickDocument()));
(void) new TDEAction(i18n("Tabular"),"wizard_tabular",0 , this, TQ_SLOT(quickTabular()), actionCollection(),"wizard_tabular" );
(void) new TDEAction(i18n("Array"),"wizard_array",0 , this, TQ_SLOT(quickArray()), actionCollection(),"wizard_array" );
(void) new TDEAction(i18n("Tabbing"),"wizard_tabbing",0 , this, TQ_SLOT(quickTabbing()), actionCollection(),"wizard_tabbing" );
(void) new TDEAction(i18n("Floats"),"wizard_float",0, this, TQ_SLOT(quickFloat()), actionCollection(),"wizard_float" );
(void) new TDEAction(i18n("Math"),"wizard_math",0, this, TQ_SLOT(quickMathenv()), actionCollection(),"wizard_mathenv" );
(void) new TDEAction(i18n("Postscript Tools"),"wizard_pstools",0 , this, TQ_SLOT(quickPostscript()), actionCollection(),"wizard_postscript" );
(void) new TDEAction(i18n("Clean"),0 , this, TQT_SLOT(cleanBib()), actionCollection(),"CleanBib" );
(void) new TDEAction(i18n("Clean"),0 , this, TQ_SLOT(cleanBib()), actionCollection(),"CleanBib" );
ModeAction=new TDEToggleAction(i18n("Define Current Document as '&Master Document'"),"master",0 , this, TQT_SLOT(toggleMode()), actionCollection(),"Mode" );
ModeAction=new TDEToggleAction(i18n("Define Current Document as '&Master Document'"),"master",0 , this, TQ_SLOT(toggleMode()), actionCollection(),"Mode" );
TDEToggleAction *tact = new TDEToggleAction(i18n("Show S&ide Bar"), 0, 0, 0, actionCollection(),"StructureView" );
tact->setChecked(KileConfig::sideBar());
connect(tact, TQT_SIGNAL(toggled(bool)), m_sideBar, TQT_SLOT(setVisible(bool)));
connect(m_sideBar, TQT_SIGNAL(visibilityChanged(bool )), tact, TQT_SLOT(setChecked(bool)));
connect(m_sideBar, TQT_SIGNAL(visibilityChanged(bool )), this, TQT_SLOT(sideOrBottomBarChanged(bool)));
connect(tact, TQ_SIGNAL(toggled(bool)), m_sideBar, TQ_SLOT(setVisible(bool)));
connect(m_sideBar, TQ_SIGNAL(visibilityChanged(bool )), tact, TQ_SLOT(setChecked(bool)));
connect(m_sideBar, TQ_SIGNAL(visibilityChanged(bool )), this, TQ_SLOT(sideOrBottomBarChanged(bool)));
m_actionMessageView = new TDEToggleAction(i18n("Show Mess&ages Bar"), 0, 0, 0, actionCollection(),"MessageView" );
m_actionMessageView->setChecked(true);
connect(m_actionMessageView, TQT_SIGNAL(toggled(bool)), m_bottomBar, TQT_SLOT(setVisible(bool)));
connect(m_bottomBar, TQT_SIGNAL(visibilityChanged(bool )), m_actionMessageView, TQT_SLOT(setChecked(bool)));
connect(m_bottomBar, TQT_SIGNAL(visibilityChanged(bool )), this, TQT_SLOT(sideOrBottomBarChanged(bool)));
connect(m_actionMessageView, TQ_SIGNAL(toggled(bool)), m_bottomBar, TQ_SLOT(setVisible(bool)));
connect(m_bottomBar, TQ_SIGNAL(visibilityChanged(bool )), m_actionMessageView, TQ_SLOT(setChecked(bool)));
connect(m_bottomBar, TQ_SIGNAL(visibilityChanged(bool )), this, TQ_SLOT(sideOrBottomBarChanged(bool)));
if (m_singlemode) {ModeAction->setChecked(false);}
else {ModeAction->setChecked(true);}
WatchFileAction=new TDEToggleAction(i18n("Watch File Mode"),"watchfile",0 , this, TQT_SLOT(toggleWatchFile()), actionCollection(), "WatchFile");
WatchFileAction=new TDEToggleAction(i18n("Watch File Mode"),"watchfile",0 , this, TQ_SLOT(toggleWatchFile()), actionCollection(), "WatchFile");
if (m_bWatchFile) {WatchFileAction->setChecked(true);}
else {WatchFileAction->setChecked(false);}
@ -652,27 +652,27 @@ void Kile::setupActions()
const TDEAboutData *aboutData = TDEGlobal::instance()->aboutData();
KHelpMenu *help_menu = new KHelpMenu( this, aboutData);
KStdAction::tipOfDay(this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday");
(void) new TDEAction(i18n("TeX Guide"),TDEShortcut("CTRL+Alt+H,G"), m_help, TQT_SLOT(helpTexGuide()), actionCollection(), "help_tex_guide");
(void) new TDEAction(i18n("LaTeX"),TDEShortcut("CTRL+Alt+H,L"), m_help, TQT_SLOT(helpLatexIndex()), actionCollection(), "help_latex_index");
(void) new TDEAction(i18n("LaTeX Command"),TDEShortcut("CTRL+Alt+H,C"), m_help, TQT_SLOT(helpLatexCommand()), actionCollection(), "help_latex_command");
(void) new TDEAction(i18n("LaTeX Subject"),TDEShortcut("CTRL+Alt+H,S"), m_help, TQT_SLOT(helpLatexSubject()), actionCollection(), "help_latex_subject");
(void) new TDEAction(i18n("LaTeX Env"),TDEShortcut("CTRL+Alt+H,E"), m_help, TQT_SLOT(helpLatexEnvironment()), actionCollection(), "help_latex_env");
(void) new TDEAction(i18n("Context Help"),TDEShortcut("CTRL+Alt+H,K"), m_help, TQT_SLOT(helpKeyword()), actionCollection(), "help_context");
(void) new TDEAction(i18n("Documentation Browser"),TDEShortcut("CTRL+Alt+H,B"), m_help, TQT_SLOT(helpDocBrowser()), actionCollection(), "help_docbrowser");
(void) new TDEAction(i18n("LaTeX Reference"),"help",0 , this, TQT_SLOT(helpLaTex()), actionCollection(),"help_latex_reference" );
(void) KStdAction::helpContents(help_menu, TQT_SLOT(appHelpActivated()), actionCollection(), "help_handbook");
(void) KStdAction::reportBug (help_menu, TQT_SLOT(reportBug()), actionCollection(), "report_bug");
(void) KStdAction::aboutApp(help_menu, TQT_SLOT(aboutApplication()), actionCollection(),"help_aboutKile" );
(void) KStdAction::aboutKDE(help_menu, TQT_SLOT(aboutKDE()), actionCollection(),"help_aboutKDE" );
TDEAction *kileconfig = KStdAction::preferences(this, TQT_SLOT(generalOptions()), actionCollection(),"settings_configure" );
KStdAction::tipOfDay(this, TQ_SLOT(showTip()), actionCollection(), "help_tipofday");
(void) new TDEAction(i18n("TeX Guide"),TDEShortcut("CTRL+Alt+H,G"), m_help, TQ_SLOT(helpTexGuide()), actionCollection(), "help_tex_guide");
(void) new TDEAction(i18n("LaTeX"),TDEShortcut("CTRL+Alt+H,L"), m_help, TQ_SLOT(helpLatexIndex()), actionCollection(), "help_latex_index");
(void) new TDEAction(i18n("LaTeX Command"),TDEShortcut("CTRL+Alt+H,C"), m_help, TQ_SLOT(helpLatexCommand()), actionCollection(), "help_latex_command");
(void) new TDEAction(i18n("LaTeX Subject"),TDEShortcut("CTRL+Alt+H,S"), m_help, TQ_SLOT(helpLatexSubject()), actionCollection(), "help_latex_subject");
(void) new TDEAction(i18n("LaTeX Env"),TDEShortcut("CTRL+Alt+H,E"), m_help, TQ_SLOT(helpLatexEnvironment()), actionCollection(), "help_latex_env");
(void) new TDEAction(i18n("Context Help"),TDEShortcut("CTRL+Alt+H,K"), m_help, TQ_SLOT(helpKeyword()), actionCollection(), "help_context");
(void) new TDEAction(i18n("Documentation Browser"),TDEShortcut("CTRL+Alt+H,B"), m_help, TQ_SLOT(helpDocBrowser()), actionCollection(), "help_docbrowser");
(void) new TDEAction(i18n("LaTeX Reference"),"help",0 , this, TQ_SLOT(helpLaTex()), actionCollection(),"help_latex_reference" );
(void) KStdAction::helpContents(help_menu, TQ_SLOT(appHelpActivated()), actionCollection(), "help_handbook");
(void) KStdAction::reportBug (help_menu, TQ_SLOT(reportBug()), actionCollection(), "report_bug");
(void) KStdAction::aboutApp(help_menu, TQ_SLOT(aboutApplication()), actionCollection(),"help_aboutKile" );
(void) KStdAction::aboutKDE(help_menu, TQ_SLOT(aboutKDE()), actionCollection(),"help_aboutKDE" );
TDEAction *kileconfig = KStdAction::preferences(this, TQ_SLOT(generalOptions()), actionCollection(),"settings_configure" );
kileconfig->setIcon("configure_kile");
(void) KStdAction::keyBindings(this, TQT_SLOT(configureKeys()), actionCollection(),"settings_keys" );
(void) KStdAction::configureToolbars(this, TQT_SLOT(configureToolbars()), actionCollection(),"settings_toolbars" );
new TDEAction(i18n("&System Check..."), 0, this, TQT_SLOT(slotPerformCheck()), actionCollection(), "settings_perform_check");
(void) KStdAction::keyBindings(this, TQ_SLOT(configureKeys()), actionCollection(),"settings_keys" );
(void) KStdAction::configureToolbars(this, TQ_SLOT(configureToolbars()), actionCollection(),"settings_toolbars" );
new TDEAction(i18n("&System Check..."), 0, this, TQ_SLOT(slotPerformCheck()), actionCollection(), "settings_perform_check");
m_menuUserTags = new TDEActionMenu(i18n("User Tags"), SmallIcon("label"), actionCollection(),"menuUserTags");
m_menuUserTags->setDelayed(false);
@ -680,7 +680,7 @@ void Kile::setupActions()
actionCollection()->readShortcutSettings();
m_pFullScreen = KStdAction::fullScreen(this, TQT_SLOT(slotToggleFullScreen()), actionCollection(), this);
m_pFullScreen = KStdAction::fullScreen(this, TQ_SLOT(slotToggleFullScreen()), actionCollection(), this);
}
void Kile::setupTools()
@ -720,7 +720,7 @@ void Kile::setupTools()
if ( action(TQString("tool_"+tools[i]).ascii()) == 0L )
{
TDEAction *act = new TDEAction(tools[i], KileTool::iconFor(tools[i], m_config), TDEShortcut(), this, TQT_SLOT(runTool()), actionCollection(), TQString("tool_"+tools[i]).ascii());
TDEAction *act = new TDEAction(tools[i], KileTool::iconFor(tools[i], m_config), TDEShortcut(), this, TQ_SLOT(runTool()), actionCollection(), TQString("tool_"+tools[i]).ascii());
pl->append(act);
}
}
@ -757,7 +757,7 @@ void Kile::setupUserTagActions()
TDEShortcut tagaccels[10] = {CTRL+SHIFT+Key_1, CTRL+SHIFT+Key_2,CTRL+SHIFT+Key_3,CTRL+SHIFT+Key_4,CTRL+SHIFT+Key_5,CTRL+SHIFT+Key_6,CTRL+SHIFT+Key_7,
CTRL+SHIFT+Key_8,CTRL+SHIFT+Key_9,CTRL+SHIFT+Key_0};
m_actionEditTag = new TDEAction(i18n("Edit User Tags..."),0 , this, TQT_SLOT(editUserMenu()), m_menuUserTags,"EditUserMenu" );
m_actionEditTag = new TDEAction(i18n("Edit User Tags..."),0 , this, TQ_SLOT(editUserMenu()), m_menuUserTags,"EditUserMenu" );
m_menuUserTags->insert(m_actionEditTag);
if ( m_listUserTags.size() > 0 ) {
m_actionEditSeparator = new TDEActionSeparator();
@ -767,7 +767,7 @@ void Kile::setupUserTagActions()
{
TDEShortcut sc; if (i<10) { sc = tagaccels[i]; } else { sc = 0; }
TQString name = TQString::number(i+1)+": "+m_listUserTags[i].text;
KileAction::Tag *menuItem = new KileAction::Tag(name, sc, this, TQT_SLOT(insertTag(const KileAction::TagData &)), actionCollection(), TQString("tag_user_" + m_listUserTags[i].text).ascii(), m_listUserTags[i]);
KileAction::Tag *menuItem = new KileAction::Tag(name, sc, this, TQ_SLOT(insertTag(const KileAction::TagData &)), actionCollection(), TQString("tag_user_" + m_listUserTags[i].text).ascii(), m_listUserTags[i]);
m_listUserTagsActions.append(menuItem);
m_menuUserTags->insert(menuItem);
}
@ -1164,8 +1164,8 @@ void Kile::findInFiles()
KILE_DEBUG() << "grep guard: create findInFiles dlg" << endl;
dlg = new KileGrepDialog(0L,this,KileGrep::Directory);
dlg->show();
connect(dlg, TQT_SIGNAL(itemSelected(const TQString &, int)),
this, TQT_SLOT(grepItemSelected(const TQString &, int)));
connect(dlg, TQ_SIGNAL(itemSelected(const TQString &, int)),
this, TQ_SLOT(grepItemSelected(const TQString &, int)));
}
else
{
@ -1184,8 +1184,8 @@ void Kile::findInProjects()
KILE_DEBUG() << "grep guard: create findInProjects dlg" << endl;
project_dlg = new KileGrepDialog(0L,this,KileGrep::Project);
project_dlg->show();
connect(project_dlg, TQT_SIGNAL(itemSelected(const TQString &, int)),
this, TQT_SLOT(grepItemSelected(const TQString &, int)));
connect(project_dlg, TQ_SIGNAL(itemSelected(const TQString &, int)),
this, TQ_SLOT(grepItemSelected(const TQString &, int)));
}
else
{
@ -1265,7 +1265,7 @@ void Kile::activePartGUI(KParts::Part * part)
KParts::BrowserExtension *ext = KParts::BrowserExtension::childObject(part);
if (ext && ext->metaObject()->slotNames().contains( "print()" ) ) //part is a BrowserExtension, connect printAction()
{
connect(m_paPrint, TQT_SIGNAL(activated()), ext, TQT_SLOT(print()));
connect(m_paPrint, TQ_SIGNAL(activated()), ext, TQ_SLOT(print()));
m_paPrint->plug(toolBar("mainToolBar"),3); //plug this action into its default location
m_paPrint->setEnabled(true);
}

@ -44,11 +44,11 @@ KileAbbrevView::KileAbbrevView(TQWidget *parent, const char *name)
m_popup = new TQPopupMenu( this );
connect(this, TQT_SIGNAL(mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)),
this, TQT_SLOT(slotMouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)));
connect(this, TQ_SIGNAL(mouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)),
this, TQ_SLOT(slotMouseButtonClicked(int,TQListViewItem *,const TQPoint &,int)));
connect(this, TQT_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint &)),
this, TQT_SLOT(slotContextMenu(TDEListView *,TQListViewItem *,const TQPoint &)));
connect(this, TQ_SIGNAL(contextMenu(TDEListView *,TQListViewItem *,const TQPoint &)),
this, TQ_SLOT(slotContextMenu(TDEListView *,TQListViewItem *,const TQPoint &)));
}
KileAbbrevView::~KileAbbrevView()
@ -161,7 +161,7 @@ void KileAbbrevView::slotContextMenu(TDEListView *, TQListViewItem *item, const
m_popup->insertItem(i18n("&Delete"),ALVdelete);
}
connect(m_popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotPopupAbbreviation(int)));
connect(m_popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotPopupAbbreviation(int)));
// show context menu
m_popup->exec(pos);
@ -269,10 +269,10 @@ KileAbbrevInputDialog::KileAbbrevInputDialog(KileAbbrevView *listview, TDEListVi
TQRegExpValidator *abbrevValidator = new TQRegExpValidator(reg,this);
m_leAbbrev->setValidator(abbrevValidator);
connect(m_leAbbrev,TQT_SIGNAL(textChanged(const TQString &)),
this,TQT_SLOT(slotTextChanged(const TQString &)));
connect(m_leExpansion,TQT_SIGNAL(textChanged(const TQString &)),
this,TQT_SLOT(slotTextChanged(const TQString &)));
connect(m_leAbbrev,TQ_SIGNAL(textChanged(const TQString &)),
this,TQ_SLOT(slotTextChanged(const TQString &)));
connect(m_leExpansion,TQ_SIGNAL(textChanged(const TQString &)),
this,TQ_SLOT(slotTextChanged(const TQString &)));
slotTextChanged(TQString());
m_leAbbrev->setFocus();

@ -88,8 +88,8 @@ Tag::~Tag()
void Tag::init(const TQObject *receiver, const char *slot)
{
connect(this, TQT_SIGNAL(activated()), TQT_SLOT(emitData()));
connect(this, TQT_SIGNAL(activated(const KileAction::TagData&)), receiver, slot);
connect(this, TQ_SIGNAL(activated()), TQ_SLOT(emitData()));
connect(this, TQ_SIGNAL(activated(const KileAction::TagData&)), receiver, slot);
}
void Tag::emitData()
@ -215,8 +215,8 @@ InputDialog::InputDialog(const TQString &caption, uint options, const TQStringLi
input->setMinimumWidth(300);
focus = input;
connect(input, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(setTag(const TQString&)));
connect(this, TQT_SIGNAL(setInput(const TQString&)), input, TQT_SLOT(setEditText(const TQString&)));
connect(input, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(setTag(const TQString&)));
connect(this, TQ_SIGNAL(setInput(const TQString&)), input, TQ_SLOT(setEditText(const TQString&)));
if ( options & KileAction::ShowBrowseButton )
gbox->addWidget(input,1,0);
else
@ -252,8 +252,8 @@ InputDialog::InputDialog(const TQString &caption, uint options, const TQStringLi
input->setMinimumWidth(300);
focus = input;
connect(input, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(setTag(const TQString&)));
connect(this, TQT_SIGNAL(setInput(const TQString&)), input, TQT_SLOT(setText(const TQString&)));
connect(input, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(setTag(const TQString&)));
connect(this, TQ_SIGNAL(setInput(const TQString&)), input, TQ_SLOT(setText(const TQString&)));
if ( options & KileAction::ShowBrowseButton )
gbox->addWidget(input,1,0);
else
@ -273,13 +273,13 @@ InputDialog::InputDialog(const TQString &caption, uint options, const TQStringLi
gbox->addWidget(pbutton,1,2);
gbox->setColSpacing(1,8);
gbox->setColSpacing(2, pbutton->sizeHint().width()+5 );
connect(pbutton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBrowse()));
connect(pbutton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBrowse()));
}
if ( options & KileAction::ShowAlternative)
{
TQCheckBox * m_checkbox = new TQCheckBox(alter, page, "input_dialog_checkbox");
connect(m_checkbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAltClicked()));
connect(m_checkbox, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAltClicked()));
m_useAlternative=false;
gbox->addMultiCellWidget(m_checkbox,2,2,0,2);
}
@ -368,7 +368,7 @@ Select::Select(const TQString &text, const TDEShortcut &cut, TDEActionCollection
void Select::init()
{
connect(this, TQT_SIGNAL(activated(const TQString&)), TQT_SLOT(emitData(const TQString &)));
connect(this, TQ_SIGNAL(activated(const TQString&)), TQ_SLOT(emitData(const TQString &)));
}
void Select::emitData(const TQString & name)

@ -96,8 +96,8 @@ namespace KileDialog
setInitialSize( configDialogSize("KileConfigDialog") );
// setup connections
//connect(m_manager, TQT_SIGNAL(widgetModified()), this, TQT_SLOT(slotWidgetModified()));
connect(this, TQT_SIGNAL(okClicked()), m_manager, TQT_SLOT(updateSettings()));
//connect(m_manager, TQ_SIGNAL(widgetModified()), this, TQ_SLOT(slotWidgetModified()));
connect(this, TQ_SIGNAL(okClicked()), m_manager, TQ_SLOT(updateSettings()));
}
Config::~Config()
@ -283,7 +283,7 @@ namespace KileDialog
TQVBox *page = addVBoxPage(path,iface->configPageFullName(i), iface->configPagePixmap(i) );
#endif
KTextEditor::ConfigPage *configPage = iface->configPage(i,page);
connect( configPage, TQT_SIGNAL(changed()), this, TQT_SLOT(slotChanged()) );
connect( configPage, TQ_SIGNAL(changed()), this, TQ_SLOT(slotChanged()) );
editorPages.append(configPage);
}
}

@ -483,16 +483,16 @@ Kate::Document* Manager::createDocument(const TQString& name, const KURL& url, T
doc->setDocName(name.isEmpty() ? url.fileName() : name);
//handle changes of the document
connect(doc, TQT_SIGNAL(nameChanged(Kate::Document *)), m_ki->parentWidget(), TQT_SLOT(newCaption()));
connect(doc, TQT_SIGNAL(fileNameChanged()), m_ki->parentWidget(), TQT_SLOT(newCaption()));
connect(doc, TQT_SIGNAL(modStateChanged(Kate::Document*)), this, TQT_SLOT(newDocumentStatus(Kate::Document*)));
connect(doc, TQT_SIGNAL(modifiedOnDisc(Kate::Document*, bool, unsigned char)), this, TQT_SIGNAL(documentStatusChanged(Kate::Document*, bool, unsigned char)));
connect(doc, TQ_SIGNAL(nameChanged(Kate::Document *)), m_ki->parentWidget(), TQ_SLOT(newCaption()));
connect(doc, TQ_SIGNAL(fileNameChanged()), m_ki->parentWidget(), TQ_SLOT(newCaption()));
connect(doc, TQ_SIGNAL(modStateChanged(Kate::Document*)), this, TQ_SLOT(newDocumentStatus(Kate::Document*)));
connect(doc, TQ_SIGNAL(modifiedOnDisc(Kate::Document*, bool, unsigned char)), this, TQ_SIGNAL(documentStatusChanged(Kate::Document*, bool, unsigned char)));
docinfo->setDoc(doc);
docinfo->setHighlightMode(highlight);
// FIXME: the whole structure updating stuff needs to be rewritten; updates should originate from
// the docinfo only, i.e. the structure view should just react to changes!
connect(docinfo, TQT_SIGNAL(completed(KileDocument::Info*)), m_ki->structureWidget(), TQT_SLOT(update(KileDocument::Info*)));
connect(docinfo, TQ_SIGNAL(completed(KileDocument::Info*)), m_ki->structureWidget(), TQ_SLOT(update(KileDocument::Info*)));
KILE_DEBUG() << "createDocument: url " << doc->url() << " name " << doc->docName() << endl;
KILE_DEBUG() << "createDocument: SANITY check: " << (docinfo->getDoc() == docFor(docinfo->url())) << endl;
@ -1187,7 +1187,7 @@ void Manager::addProject(const KileProject *project)
m_projects.append(project);
KILE_DEBUG() << "\tnow " << m_projects.count() << " projects" << endl;
emit addToProjectView(project);
connect(project, TQT_SIGNAL(projectTreeChanged(const KileProject *)), this, TQT_SIGNAL(projectTreeChanged(const KileProject *)));
connect(project, TQ_SIGNAL(projectTreeChanged(const KileProject *)), this, TQ_SIGNAL(projectTreeChanged(const KileProject *)));
}
KileProject* Manager::selectProject(const TQString& caption)

@ -458,8 +458,8 @@ void TextInfo::setDoc(Kate::Document *doc)
{
m_doc = doc;
m_url = doc->url();
connect(m_doc, TQT_SIGNAL(fileNameChanged()), this, TQT_SLOT(slotFileNameChanged()));
connect(m_doc, TQT_SIGNAL(completed()), this, TQT_SLOT(slotCompleted()));
connect(m_doc, TQ_SIGNAL(fileNameChanged()), this, TQ_SLOT(slotFileNameChanged()));
connect(m_doc, TQ_SIGNAL(completed()), this, TQ_SLOT(slotCompleted()));
setHighlightMode(m_defaultHighlightMode);
installEventFilters();
}

@ -52,7 +52,7 @@ KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *p
lo->addWidget(cmbPath);
dir = new KDirOperator(KURL(), this, "operator");
connect(dir, TQT_SIGNAL(fileSelected(const KFileItem*)), this, TQT_SIGNAL(fileSelected(const KFileItem*)));
connect(dir, TQ_SIGNAL(fileSelected(const KFileItem*)), this, TQ_SIGNAL(fileSelected(const KFileItem*)));
dir->setView(KFile::Simple);
dir->setMode(KFile::Files);
@ -80,7 +80,7 @@ KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *p
coll->action("forward")->plug(toolbar);
toolbar->insertButton("document-open", 0, true , i18n( "Open selected" ));
connect(toolbar, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(clickedToolbar(int)));
connect(toolbar, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(clickedToolbar(int)));
lo->addWidget(dir);
lo->setStretchFactor(dir, 2);
@ -92,9 +92,9 @@ KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *p
TQToolTip::add(m_comboEncoding, i18n("Set encoding"));
lo->addWidget(m_comboEncoding);
connect( cmbPath, TQT_SIGNAL( urlActivated( const KURL& )),this, TQT_SLOT( cmbPathActivated( const KURL& ) ));
connect( cmbPath, TQT_SIGNAL( returnPressed( const TQString& )), this, TQT_SLOT( cmbPathReturnPressed( const TQString& ) ));
connect(dir, TQT_SIGNAL(urlEntered(const KURL&)), this, TQT_SLOT(dirUrlEntered(const KURL&)) );
connect( cmbPath, TQ_SIGNAL( urlActivated( const KURL& )),this, TQ_SLOT( cmbPathActivated( const KURL& ) ));
connect( cmbPath, TQ_SIGNAL( returnPressed( const TQString& )), this, TQ_SLOT( cmbPathReturnPressed( const TQString& ) ));
connect(dir, TQ_SIGNAL(urlEntered(const KURL&)), this, TQ_SLOT(dirUrlEntered(const KURL&)) );
}
KileFileSelect::~KileFileSelect()

@ -312,19 +312,19 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
template_edit->setText(template_list[0]);
slotPatternTextChanged(TQString());
connect( pattern_combo->lineEdit(), TQT_SIGNAL(textChanged ( const TQString & )),
TQT_SLOT( slotPatternTextChanged( const TQString & )));
connect( template_combo, TQT_SIGNAL(activated(int)),
TQT_SLOT(slotTemplateActivated(int)) );
connect( resultbox, TQT_SIGNAL(highlighted(const TQString&)),
TQT_SLOT(slotItemSelected(const TQString&)) );
connect( pattern_combo->lineEdit(), TQ_SIGNAL(textChanged ( const TQString & )),
TQ_SLOT( slotPatternTextChanged( const TQString & )));
connect( template_combo, TQ_SIGNAL(activated(int)),
TQ_SLOT(slotTemplateActivated(int)) );
connect( resultbox, TQ_SIGNAL(highlighted(const TQString&)),
TQ_SLOT(slotItemSelected(const TQString&)) );
connect( search_button, TQT_SIGNAL(clicked()), TQT_SLOT(slotSearch()) );
connect( clear_button, TQT_SIGNAL(clicked()), TQT_SLOT(slotClear()) );
connect( close_button, TQT_SIGNAL(clicked()), TQT_SIGNAL(closeClicked()) );
connect( search_button, TQ_SIGNAL(clicked()), TQ_SLOT(slotSearch()) );
connect( clear_button, TQ_SIGNAL(clicked()), TQ_SLOT(slotClear()) );
connect( close_button, TQ_SIGNAL(clicked()), TQ_SIGNAL(closeClicked()) );
connect( this, TQT_SIGNAL(closeClicked()), TQT_SLOT(slotClose()) );
connect( this, TQT_SIGNAL(finished()), TQT_SLOT(slotFinished()) );
connect( this, TQ_SIGNAL(closeClicked()), TQ_SLOT(slotClose()) );
connect( this, TQ_SIGNAL(finished()), TQ_SLOT(slotFinished()) );
resize(450,sizeHint().height());
KILE_DEBUG() << "==KileGrepDialog (create dialog)=============================" << endl;
@ -495,12 +495,12 @@ void KileGrepDialog::startGrep()
}
m_grepJobs--;
connect( childproc, TQT_SIGNAL(processExited(TDEProcess *)),
TQT_SLOT(childExited()) );
connect( childproc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
TQT_SLOT(receivedOutput(TDEProcess *, char *, int)) );
connect( childproc, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
TQT_SLOT(receivedErrOutput(TDEProcess *, char *, int)) );
connect( childproc, TQ_SIGNAL(processExited(TDEProcess *)),
TQ_SLOT(childExited()) );
connect( childproc, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
TQ_SLOT(receivedOutput(TDEProcess *, char *, int)) );
connect( childproc, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
TQ_SLOT(receivedErrOutput(TDEProcess *, char *, int)) );
childproc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput);
}

@ -54,7 +54,7 @@ KileInfo::KileInfo(TQWidget *parent) :
m_viewManager= new KileView::Manager(this, parent, "KileView::Manager");
m_templateManager = new KileTemplate::Manager(this, parent, "KileTemplate::Manager");
m_editorKeySequenceManager = new KileEditorKeySequence::Manager(this, parent, "KileEditorKeySequence::Manager");
TQObject::connect(m_docManager, TQT_SIGNAL(documentStatusChanged(Kate::Document*, bool, unsigned char)), m_viewManager, TQT_SLOT(reflectDocumentStatus(Kate::Document*, bool, unsigned char)));
TQObject::connect(m_docManager, TQ_SIGNAL(documentStatusChanged(Kate::Document*, bool, unsigned char)), m_viewManager, TQ_SLOT(reflectDocumentStatus(Kate::Document*, bool, unsigned char)));
}
KileInfo::~KileInfo()

@ -512,9 +512,9 @@ namespace KileJScript {
// create a local scripts directory if it doesn't exist yet
m_localJScriptDir = locateLocal("appdata", "scripts/", true);
m_jScriptDirWatch = new KDirWatch(this, "KileJScript::Manager::JScriptDirWatch");
connect(m_jScriptDirWatch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(scanJScriptDirectories()));
connect(m_jScriptDirWatch, TQT_SIGNAL(created(const TQString&)), this, TQT_SLOT(scanJScriptDirectories()));
connect(m_jScriptDirWatch, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(scanJScriptDirectories()));
connect(m_jScriptDirWatch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(scanJScriptDirectories()));
connect(m_jScriptDirWatch, TQ_SIGNAL(created(const TQString&)), this, TQ_SLOT(scanJScriptDirectories()));
connect(m_jScriptDirWatch, TQ_SIGNAL(deleted(const TQString&)), this, TQ_SLOT(scanJScriptDirectories()));
m_jScriptDirWatch->startScan();
}
@ -780,7 +780,7 @@ m_kileInfo->viewManager()->currentView()->down();*/
const KileJScript::JScript *script = m_manager->getScript(m_id);
Q_ASSERT(script);
setText(i18n("Execution of %1").arg(script->getName()));
connect(this, TQT_SIGNAL(activated()), this, TQT_SLOT(executeScript()));
connect(this, TQ_SIGNAL(activated()), this, TQ_SLOT(executeScript()));
}
ScriptExecutionAction::~ScriptExecutionAction() {

@ -55,7 +55,7 @@ namespace KileWidget
((TQFrame*)m_part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
m_bPresent=true;
connect ( m_part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotDestroyed()) );
connect ( m_part, TQ_SIGNAL(destroyed()), this, TQ_SLOT(slotDestroyed()) );
m_part->widget()->show();
show();

@ -65,9 +65,9 @@
else
KILE_DEBUG() << "\tNO KShellProcess created" << endl;
connect(m_proc, TQT_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) );
connect(m_proc, TQT_SIGNAL( receivedStderr(TDEProcess*, char*, int) ),this, TQT_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) );
connect(m_proc, TQT_SIGNAL( processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited(TDEProcess*)));
connect(m_proc, TQ_SIGNAL( receivedStdout(TDEProcess*, char*, int) ), this, TQ_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) );
connect(m_proc, TQ_SIGNAL( receivedStderr(TDEProcess*, char*, int) ),this, TQ_SLOT(slotProcessOutput(TDEProcess*, char*, int ) ) );
connect(m_proc, TQ_SIGNAL( processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited(TDEProcess*)));
}
ProcessLauncher::~ProcessLauncher()
@ -348,7 +348,7 @@
DocumentationViewer *htmlpart = new DocumentationViewer(stack,"help");
m_part = static_cast<KParts::ReadOnlyPart*>(htmlpart);
connect(htmlpart, TQT_SIGNAL(updateStatus(bool, bool)), tool(), TQT_SIGNAL(updateStatus(bool, bool)));
connect(htmlpart, TQ_SIGNAL(updateStatus(bool, bool)), tool(), TQ_SIGNAL(updateStatus(bool, bool)));
tool()->manager()->wantGUIState(m_state);

@ -60,7 +60,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
m_listview->setMinimumSize(w,h);
resize(sizeHint().width(),sizeHint().height()+4);
connect(m_listview, TQT_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint &,int)), this, TQT_SLOT(accept()));
connect(m_listview, TQ_SIGNAL(doubleClicked(TQListViewItem*,const TQPoint &,int)), this, TQ_SLOT(accept()));
}
int KileListSelectorBase::currentItem()

@ -35,7 +35,7 @@ namespace KileWidget
m_info(info)
{
setTabStopWidth(10);
connect(this, TQT_SIGNAL(clicked(int, int)), this, TQT_SLOT(slotClicked(int, int)));
connect(this, TQ_SIGNAL(clicked(int, int)), this, TQ_SLOT(slotClicked(int, int)));
}
LogMsg::~LogMsg(){
@ -185,8 +185,8 @@ namespace KileWidget
m_idWarning = popup->insertItem(i18n("Hide (La)TeX &Warnings"));
popup->setItemChecked(m_idWarning, KileConfig::hideProblemWarning());
disconnect ( popup , TQT_SIGNAL(activated(int)), this , TQT_SLOT(handlePopup(int )));
connect ( popup , TQT_SIGNAL(activated(int)), this , TQT_SLOT(handlePopup(int )));
disconnect ( popup , TQ_SIGNAL(activated(int)), this , TQ_SLOT(handlePopup(int )));
connect ( popup , TQ_SIGNAL(activated(int)), this , TQ_SLOT(handlePopup(int )));
return popup;
}

@ -84,7 +84,7 @@ bool KileLyxServer::start()
if ((*it)->name().right(3) == ".in" )
{
notifier = new TQSocketNotifier((*it)->handle(), TQSocketNotifier::Read, this);
connect(notifier, TQT_SIGNAL(activated(int)), this, TQT_SLOT(receive(int)));
connect(notifier, TQ_SIGNAL(activated(int)), this, TQ_SLOT(receive(int)));
m_notifier.append(notifier);
KILE_DEBUG() << "Created notifier for " << (*it)->name() << endl;
}

@ -408,7 +408,7 @@ KileMultiTabBarButton::KileMultiTabBarButton(const TQPixmap& pic,const TQString&
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KileMultiTabBarButton::KileMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
@ -423,7 +423,7 @@ KileMultiTabBarButton::KileMultiTabBarButton(const TQString& text, TQPopupMenu *
setFixedWidth(24);
m_id=id;
TQToolTip::add(this,text);
connect(this,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotClicked()));
connect(this,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotClicked()));
}
KileMultiTabBarButton::~KileMultiTabBarButton() {

@ -129,8 +129,8 @@ void KileProjectItem::setInfo(KileDocument::TextInfo *docinfo)
m_docinfo = docinfo;
if(docinfo)
{
connect(docinfo,TQT_SIGNAL(urlChanged(KileDocument::Info*, const KURL &)), this, TQT_SLOT(slotChangeURL(KileDocument::Info*, const KURL &)));
connect(docinfo,TQT_SIGNAL(depChanged()), m_project, TQT_SLOT(buildProjectTree()));
connect(docinfo,TQ_SIGNAL(urlChanged(KileDocument::Info*, const KURL &)), this, TQ_SLOT(slotChangeURL(KileDocument::Info*, const KURL &)));
connect(docinfo,TQ_SIGNAL(depChanged()), m_project, TQ_SLOT(buildProjectTree()));
}
}
@ -426,7 +426,7 @@ bool KileProject::load()
item->setOrder(m_config->readNumEntry("order", -1));
item->changePath(groups[i].mid(5));
connect(item, TQT_SIGNAL(urlChanged(KileProjectItem*)), this, TQT_SLOT(itemRenamed(KileProjectItem*)) );
connect(item, TQ_SIGNAL(urlChanged(KileProjectItem*)), this, TQ_SLOT(itemRenamed(KileProjectItem*)) );
}
}
@ -598,7 +598,7 @@ void KileProject::add(KileProjectItem* item)
setType(item);
item->changePath(findRelativePath(item->url()));
connect(item, TQT_SIGNAL(urlChanged(KileProjectItem*)), this, TQT_SLOT(itemRenamed(KileProjectItem*)) );
connect(item, TQ_SIGNAL(urlChanged(KileProjectItem*)), this, TQ_SLOT(itemRenamed(KileProjectItem*)) );
m_projectitems.append(item);

@ -98,11 +98,11 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex
fillProjectDefaults();
connect(m_sel_extensions, TQT_SIGNAL(highlighted(int)),
this, TQT_SLOT(slotExtensionsHighlighted(int)));
connect(m_sel_extensions, TQ_SIGNAL(highlighted(int)),
this, TQ_SLOT(slotExtensionsHighlighted(int)));
connect(m_extensions, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotExtensionsTextChanged(const TQString&)));
connect(m_extensions, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotExtensionsTextChanged(const TQString&)));
}
KileProjectDlgBase::~KileProjectDlgBase()
@ -111,11 +111,11 @@ KileProjectDlgBase::~KileProjectDlgBase()
void KileProjectDlgBase::slotExtensionsHighlighted(int index)
{
disconnect(m_extensions, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotExtensionsTextChanged(const TQString&)));
disconnect(m_extensions, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotExtensionsTextChanged(const TQString&)));
m_extensions->setText(m_val_extensions[index]);
connect(m_extensions, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotExtensionsTextChanged(const TQString&)));
connect(m_extensions, TQ_SIGNAL(textChanged(const TQString&)),
this, TQ_SLOT(slotExtensionsTextChanged(const TQString&)));
m_lbStandardExtensions->setText( m_val_standardExtensions[index] );
}
@ -210,7 +210,7 @@ KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, Kil
// first groupbox
m_pgrid->addWidget(m_plabel, 0,0);
m_pgrid->addWidget(m_title, 0,2);
connect(m_title, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(makeProjectPath()));
connect(m_title, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(makeProjectPath()));
m_location = new KLineEdit(m_pgroup, "le_projectlocation");
m_location->setMinimumWidth(200);
@ -232,7 +232,7 @@ KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, Kil
m_pgrid->setColSpacing(4,8);
m_pgrid->setColStretch(3,1);
connect(m_pbChooseDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(browseLocation()));
connect(m_pbChooseDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(browseLocation()));
// second groupbox
TQVGroupBox* group2= new TQVGroupBox(i18n("File"), plainPage());
@ -254,7 +254,7 @@ KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, Kil
grid2->addWidget(m_file, 1,1);
grid2->addMultiCellWidget(m_templateIconView, 2,2, 0,1);
grid2->setColStretch(1,1);
connect(m_cb, TQT_SIGNAL(clicked()), this, TQT_SLOT(clickedCreateNewFileCb()));
connect(m_cb, TQ_SIGNAL(clicked()), this, TQ_SLOT(clickedCreateNewFileCb()));
// third groupbox
m_egrid->addWidget(m_sel_extensions, 6,0);
@ -534,7 +534,7 @@ KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument:
setProject(project, true);
m_ckMakeIndex = new TQCheckBox(i18n("&MakeIndex options"), group3);
connect(m_ckMakeIndex, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(toggleMakeIndex(bool)));
connect(m_ckMakeIndex, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(toggleMakeIndex(bool)));
m_leMakeIndex = new KLineEdit(group3);
m_ckMakeIndex->setChecked(project->useMakeIndexOptions());
toggleMakeIndex(m_ckMakeIndex->isChecked());

@ -57,7 +57,7 @@ void KileProjectViewItem::nameChanged(const TQString & name)
void KileProjectViewItem::isrootChanged(bool isroot)
{
KILE_DEBUG() << "TQT_SLOT isrootChanged " << text(0) << " to " << isroot << endl;
KILE_DEBUG() << "TQ_SLOT isrootChanged " << text(0) << " to " << isroot << endl;
if (isroot)
{
setPixmap(0,SmallIcon("masteritem"));
@ -115,11 +115,11 @@ KileProjectView::KileProjectView(TQWidget *parent, KileInfo *ki) : TDEListView(p
m_popup = new TDEPopupMenu(this, "projectview_popup");
connect(this, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint & )), this,TQT_SLOT(popup(TDEListView *, TQListViewItem * , const TQPoint & )));
connect(this, TQ_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint & )), this,TQ_SLOT(popup(TDEListView *, TQListViewItem * , const TQPoint & )));
connect(this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotClicked(TQListViewItem*)));
connect(this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotClicked(TQListViewItem*)));
setAcceptDrops(true);
connect(this, TQT_SIGNAL(dropped(TQDropEvent *, TQListViewItem *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
connect(this, TQ_SIGNAL(dropped(TQDropEvent *, TQListViewItem *)), m_ki->docManager(), TQ_SLOT(openDroppedURLs(TQDropEvent *)));
}
void KileProjectView::slotClicked(TQListViewItem *item)
@ -260,7 +260,7 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
apps->insertSeparator();
apps->insertItem(i18n("Other..."), 0);
connect(apps, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotRun(int)));
connect(apps, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotRun(int)));
m_popup->insertItem(SmallIcon("fork"), i18n("&Open With"),apps);
insertsep = true;
}
@ -284,7 +284,7 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
m_popup->insertItem(SmallIcon("project_add"),i18n("&Add to Project"), KPV_ID_ADD);
insertsep = true;
}
connect(m_popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotFile(int)));
connect(m_popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotFile(int)));
}
else if (itm->type() == KileType::ProjectItem || itm->type() == KileType::ProjectExtra)
{
@ -304,7 +304,7 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
m_popup->insertItem(SmallIcon("project_remove"),i18n("&Remove From Project"), KPV_ID_REMOVE);
insertsep = true;
}
connect(m_popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotProjectItem(int)));
connect(m_popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotProjectItem(int)));
}
else if (itm->type() == KileType::Project)
{
@ -317,7 +317,7 @@ void KileProjectView::popup(TDEListView *, TQListViewItem * item, const TQPoint
m_popup->insertItem(SmallIcon("relation"),i18n("Refresh Project &Tree"), KPV_ID_BUILDTREE);
m_popup->insertItem(SmallIcon("configure"),i18n("Project &Options"), KPV_ID_OPTIONS);
m_popup->insertItem(SmallIcon("package"),i18n("&Archive"), KPV_ID_ARCHIVE);
connect(m_popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotProject(int)));
connect(m_popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotProject(int)));
insertsep = true;
}
@ -342,15 +342,15 @@ void KileProjectView::makeTheConnection(KileProjectViewItem *item)
if (project==0)
kdWarning() << "makeTheConnection COULD NOT FIND AN PROJECT OBJECT FOR " << item->url().path() << endl;
else
connect(project, TQT_SIGNAL(nameChanged(const TQString &)), item, TQT_SLOT(nameChanged(const TQString &)));
connect(project, TQ_SIGNAL(nameChanged(const TQString &)), item, TQ_SLOT(nameChanged(const TQString &)));
}
else
{
KileDocument::TextInfo *docinfo = m_ki->docManager()->textInfoFor(item->url().path());
item->setInfo(docinfo);
if (docinfo ==0 ) {KILE_DEBUG() << "\tmakeTheConnection COULD NOT FIND A DOCINFO" << endl; return;}
connect(docinfo, TQT_SIGNAL(urlChanged(KileDocument::Info*, const KURL&)), item, TQT_SLOT(slotURLChanged(KileDocument::Info*, const KURL&)));
connect(docinfo, TQT_SIGNAL(isrootChanged(bool)), item, TQT_SLOT(isrootChanged(bool)));
connect(docinfo, TQ_SIGNAL(urlChanged(KileDocument::Info*, const KURL&)), item, TQ_SLOT(slotURLChanged(KileDocument::Info*, const KURL&)));
connect(docinfo, TQ_SIGNAL(isrootChanged(bool)), item, TQ_SLOT(isrootChanged(bool)));
//set the pixmap
item->isrootChanged(docinfo->isLaTeXRoot());
}

@ -95,7 +95,7 @@ int KileSideBar::addTab(TQWidget *tab, const TQPixmap &pic, const TQString &text
m_tabBar->appendTab(pic, m_nTabs, text);
m_tabStack->addWidget(tab, m_nTabs);
connect(m_tabBar->tab(m_nTabs), TQT_SIGNAL(clicked(int)), this, TQT_SLOT(showTab(int)));
connect(m_tabBar->tab(m_nTabs), TQ_SIGNAL(clicked(int)), this, TQ_SLOT(showTab(int)));
return m_nTabs++;
}
@ -170,7 +170,7 @@ void KileSideBar::removePage(TQWidget *w)
}
int index = *it;
m_tabStack->removeWidget(w);
disconnect(m_tabBar->tab(index), TQT_SIGNAL(clicked(int)), this, TQT_SLOT(showTab(int)));
disconnect(m_tabBar->tab(index), TQ_SIGNAL(clicked(int)), this, TQ_SLOT(showTab(int)));
m_tabBar->removeTab(index);
m_widgetToIndex.remove(it);
if(index == m_nCurrent && m_nTabs >= 2)

@ -32,342 +32,342 @@ namespace KileStdActions
void setupStdTags(KileInfo *ki, TDEMainWindow *parent)
{
(void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "tag_documentclass",
(void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "tag_documentclass",
"\\documentclass[10pt]{","}", 21,0,i18n("\\documentclass[options]{class}\nclass : article,report,book,letter\nsize options : 10pt, 11pt, 12pt\npaper size options: a4paper, a5paper, b5paper, letterpaper, legalpaper, executivepaper\n"
"other options: \nlandscape -- selects landscape format; default is portrait. \ntitlepage, notitlepage -- selects if there should be a separate title page.\nleqno -- display equation number on left side of equations; default is right side.\n"
"fleqn -- display formulae flush left; default is centered.\nonecolumn, twocolumn -- one or two columns; defaults to one column\noneside, twoside -- selects one- or two-sided layout.\n" ));
(void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_usepackage",
(void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_usepackage",
"\\usepackage{","}",12,0,i18n("Any options given in the \\documentclass command that are unknown by the selected document class\n"
"are passed on to the packages loaded with \\usepackage."));
(void) new KileAction::Tag(i18n("AMS Packages"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_amspackages","\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\usepackage{amssymb}\n",TQString(),0,3,i18n("The principal American Mathematical Society packages"));
(void) new KileAction::Tag(i18n("Start Document Body - \\begin{document}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_document","\\begin{document}\n", "\n\\end{document}", 0,1,i18n("Text is allowed only between \\begin{document} and \\end{document}.\nThe 'preamble' (before \\begin{document} ) may contain declarations only."));
(void) new KileAction::Tag(i18n("Generate Title - \\maketitle"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_maketitle","\\maketitle",TQString(),10,0,i18n("This command generates a title on a separate title page\n- except in the article class, where the title normally goes at the top of the first page."));
(void) new KileAction::Tag(i18n("Table of Contents - \\tableofcontents"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_tableofcontents","\\tableofcontents",TQString(),16,0,i18n("Put this command where you want the table of contents to go"));
(void) new KileAction::Tag(i18n("Title Definition - \\title{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_title","\\title{","}",7,0,i18n( "\\title{text}\nThe \\title command declares text to be the title.\nUse \\\\ to tell LaTeX where to start a new line in a long title."));
(void) new KileAction::Tag(i18n("Author Definition - \\author{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_author","\\author{","}",8,0,i18n( "\\author{names}\nThe \\author command declares the author(s), where names is a list of authors separated by \\and commands."));
(void) new KileAction::Tag(i18n("AMS Packages"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_amspackages","\\usepackage{amsmath}\n\\usepackage{amsfonts}\n\\usepackage{amssymb}\n",TQString(),0,3,i18n("The principal American Mathematical Society packages"));
(void) new KileAction::Tag(i18n("Start Document Body - \\begin{document}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_document","\\begin{document}\n", "\n\\end{document}", 0,1,i18n("Text is allowed only between \\begin{document} and \\end{document}.\nThe 'preamble' (before \\begin{document} ) may contain declarations only."));
(void) new KileAction::Tag(i18n("Generate Title - \\maketitle"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_maketitle","\\maketitle",TQString(),10,0,i18n("This command generates a title on a separate title page\n- except in the article class, where the title normally goes at the top of the first page."));
(void) new KileAction::Tag(i18n("Table of Contents - \\tableofcontents"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_tableofcontents","\\tableofcontents",TQString(),16,0,i18n("Put this command where you want the table of contents to go"));
(void) new KileAction::Tag(i18n("Title Definition - \\title{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_title","\\title{","}",7,0,i18n( "\\title{text}\nThe \\title command declares text to be the title.\nUse \\\\ to tell LaTeX where to start a new line in a long title."));
(void) new KileAction::Tag(i18n("Author Definition - \\author{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_author","\\author{","}",8,0,i18n( "\\author{names}\nThe \\author command declares the author(s), where names is a list of authors separated by \\and commands."));
(void) new KileAction::Tag(i18n("Center - \\begin{center}"),"text_center",0, parent,
TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_center", "\\begin{center}\n","%E\n\\end{center}", 0,1, i18n("Each line must be terminated with the string \\\\."));
(void) new KileAction::Tag(i18n("Align Left - \\begin{flushleft}"),"format-text-direction-ltr",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushleft", "\\begin{flushleft}\n","%E\n\\end{flushleft}", 0,1, i18n("Each line must be terminated with the string \\\\.") );
(void) new KileAction::Tag(i18n("Align Right - \\begin{flushright}"),"format-text-direction-rtl",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushright", "\\begin{flushright}\n","%E\n\\end{flushright}", 0,1, i18n("Each line must be terminated with the string \\\\.") );
(void) new KileAction::Tag(i18n("Quote - \\begin{quote}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quote","\\begin{quote}\n","%E\n\\end{quote} ",0,1,i18n("The text is justified at both margins.\nLeaving a blank line between text produces a new paragraph.") );
(void) new KileAction::Tag(i18n("Quotation - \\begin{quotation}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quotation","\\begin{quotation}\n","%E\n\\end{quotation} ",0,1, i18n("The text is justified at both margins and there is paragraph indentation.\nLeaving a blank line between text produces a new paragraph.") );
(void) new KileAction::Tag(i18n("Verse - \\begin{verse}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_verse", "\\begin{verse}\n","%E\n\\end{verse} ",0,1,i18n("The verse environment is designed for poetry.\nSeparate the lines of each stanza with \\\\, and use one or more blank lines to separate the stanzas.") );
(void) new KileAction::Tag(i18n("Verbatim - \\begin{verbatim}"),"verbatim",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_verbatim","\\begin{verbatim}\n","%E\n\\end{verbatim} ",0,1,i18n("Environment that gets LaTeX to print exactly what you type in."));
(void) new KileAction::Tag(i18n("Bulleted List - \\begin{itemize}"),"itemize",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_itemize","\\begin{itemize}\n%E\\item \n", "\\end{itemize}\n", 6,1,i18n("The itemize environment produces a 'bulleted' list.\nEach item of an itemized list begins with an \\item command."));
(void) new KileAction::Tag(i18n("Enumeration - \\begin{enumerate}"),"enumerate",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_enumerate","\\begin{enumerate}\n%E\\item \n","\\end{enumerate}\n", 6,1,i18n("The enumerate environment produces a numbered list.\nEach item of an enumerated list begins with an \\item command."));
(void) new KileAction::Tag(i18n("Description - \\begin{description}"),"description",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_description","\\begin{description}\n%E\\item[]\n ", "\\end{description}",6,1,i18n("The description environment is used to make labeled lists.\nEach item of the list begins with an \\item[label] command.\nThe 'label' is bold face and flushed right."));
(void) new KileAction::Tag(i18n("Table - \\begin{table}"),"frame_spreadsheet",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_table","\\begin{table}\n","%E\n\\caption{}\n\\end{table} ",0,1,
TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_center", "\\begin{center}\n","%E\n\\end{center}", 0,1, i18n("Each line must be terminated with the string \\\\."));
(void) new KileAction::Tag(i18n("Align Left - \\begin{flushleft}"),"format-text-direction-ltr",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushleft", "\\begin{flushleft}\n","%E\n\\end{flushleft}", 0,1, i18n("Each line must be terminated with the string \\\\.") );
(void) new KileAction::Tag(i18n("Align Right - \\begin{flushright}"),"format-text-direction-rtl",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_flushright", "\\begin{flushright}\n","%E\n\\end{flushright}", 0,1, i18n("Each line must be terminated with the string \\\\.") );
(void) new KileAction::Tag(i18n("Quote - \\begin{quote}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quote","\\begin{quote}\n","%E\n\\end{quote} ",0,1,i18n("The text is justified at both margins.\nLeaving a blank line between text produces a new paragraph.") );
(void) new KileAction::Tag(i18n("Quotation - \\begin{quotation}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quotation","\\begin{quotation}\n","%E\n\\end{quotation} ",0,1, i18n("The text is justified at both margins and there is paragraph indentation.\nLeaving a blank line between text produces a new paragraph.") );
(void) new KileAction::Tag(i18n("Verse - \\begin{verse}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_verse", "\\begin{verse}\n","%E\n\\end{verse} ",0,1,i18n("The verse environment is designed for poetry.\nSeparate the lines of each stanza with \\\\, and use one or more blank lines to separate the stanzas.") );
(void) new KileAction::Tag(i18n("Verbatim - \\begin{verbatim}"),"verbatim",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_verbatim","\\begin{verbatim}\n","%E\n\\end{verbatim} ",0,1,i18n("Environment that gets LaTeX to print exactly what you type in."));
(void) new KileAction::Tag(i18n("Bulleted List - \\begin{itemize}"),"itemize",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_itemize","\\begin{itemize}\n%E\\item \n", "\\end{itemize}\n", 6,1,i18n("The itemize environment produces a 'bulleted' list.\nEach item of an itemized list begins with an \\item command."));
(void) new KileAction::Tag(i18n("Enumeration - \\begin{enumerate}"),"enumerate",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_enumerate","\\begin{enumerate}\n%E\\item \n","\\end{enumerate}\n", 6,1,i18n("The enumerate environment produces a numbered list.\nEach item of an enumerated list begins with an \\item command."));
(void) new KileAction::Tag(i18n("Description - \\begin{description}"),"description",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_description","\\begin{description}\n%E\\item[]\n ", "\\end{description}",6,1,i18n("The description environment is used to make labeled lists.\nEach item of the list begins with an \\item[label] command.\nThe 'label' is bold face and flushed right."));
(void) new KileAction::Tag(i18n("Table - \\begin{table}"),"frame_spreadsheet",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_table","\\begin{table}\n","%E\n\\caption{}\n\\end{table} ",0,1,
i18n("\\begin{table}[placement]\nbody of the table\n\\caption{table title}\n\\end{table}\nTables are objects that are not part of the normal text, and are usually floated to a convenient place\n"
"The optional argument [placement] determines where LaTeX will try to place your table\nh : Here - at the position in the text where the table environment appear\nt : Top - at the top of a text page\nb : Bottom - at the bottom of a text page\n"
"p : Page of floats - on a separate float page, which is a page containing no text, only floats\nThe body of the table is made up of whatever text, LaTeX commands, etc., you wish.\nThe \\caption command allows you to title your table."));
(void) new KileAction::Tag(i18n("Figure - \\begin{figure}"),"frame_image",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_figure" ,"\\begin{figure}\n","%E\n\\caption{}\n\\end{figure} ",0,1,
(void) new KileAction::Tag(i18n("Figure - \\begin{figure}"),"frame_image",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_figure" ,"\\begin{figure}\n","%E\n\\caption{}\n\\end{figure} ",0,1,
i18n("\\begin{figure}[placement]\nbody of the figure\n\\caption{figure title}\n\\end{figure}\nFigures are objects that are not part of the normal text, and are usually floated to a convenient place\n"
"The optional argument [placement] determines where LaTeX will try to place your figure\nh : Here - at the position in the text where the figure environment appear\nt : Top - at the top of a text page\n"
"b : Bottom - at the bottom of a text page\np : Page of floats - on a separate float page, which is a page containing no text, only floats\nThe body of the figure is made up of whatever text, LaTeX commands, etc., you wish.\nThe \\caption command allows you to title your figure."));
(void) new KileAction::Tag(i18n("Title Page - \\begin{titlepage}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_titlepage" ,"\\begin{titlepage}\n","%E\n\\end{titlepage} ",0,1,
(void) new KileAction::Tag(i18n("Title Page - \\begin{titlepage}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_titlepage" ,"\\begin{titlepage}\n","%E\n\\end{titlepage} ",0,1,
i18n("\\begin{titlepage}\ntext\n\\end{titlepage}\nThe titlepage environment creates a title page, i.e. a page with no printed page number or heading."));
new KileAction::Tag(i18n("Italics - \\textit{}"),"format-text-italic",TQt::ALT+TQt::SHIFT+TQt::Key_I, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textit","\\textit{","}",8,0,i18n("\\textit{italic text}"));
new KileAction::Tag(i18n("Slanted - \\textsl{}"),"slanted",TQt::ALT+TQt::SHIFT+TQt::Key_A, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsl","\\textsl{","}",8,0,i18n("\\textsl{slanted text}"));
new KileAction::Tag(i18n("Boldface - \\textbf{}"),"format-text-bold",TQt::ALT+TQt::SHIFT+TQt::Key_B, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textbf","\\textbf{","}",8,0,i18n("\\textbf{boldface text}"));
new KileAction::Tag(i18n("Typewriter - \\texttt{}"),"typewriter",TQt::ALT+TQt::SHIFT+TQt::Key_T, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_texttt","\\texttt{","}",8,0,i18n("\\texttt{typewriter text}"));
new KileAction::Tag(i18n("Small Caps - \\textsc{}"),TQt::ALT+TQt::SHIFT+TQt::Key_C, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsc","\\textsc{","}",8,0,i18n("\\textsc{small caps text}"));
new KileAction::Tag("\\item","item",TQt::ALT+TQt::SHIFT+TQt::Key_H, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_item","\\item ",TQString(),6,0, i18n("\\item[label] Hello!"));
(void) new KileAction::Tag(i18n("Tabbing - \\begin{tabbing}"),"tabbing",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_tabbing" ,"\\begin{tabbing}\n","%E\n\\end{tabbing} ",0,1,i18n("The tabbing environment provides a way to align text in columns.\n\\begin{tabbing}\ntext \\= more text \\= still more text \\= last text \\\\\nsecond row \\> \\> more \\\\\n\\end{tabbing}\nCommands :\n\\= Sets a tab stop at the current position.\n\\> Advances to the next tab stop.\n\\< Allows you to put something to the left of the local margin without changing the margin. Can only be used at the start of the line.\n\\+ Moves the left margin of the next and all the following commands one tab stop to the right\n\\- Moves the left margin of the next and all the following commands one tab stop to the left\n\\' Moves everything that you have typed so far in the current column to the right of the previous column, flush against the current column's tab stop. \n\\` Allows you to put text flush right against any tab stop, including tab stop 0\n\\kill Sets tab stops without producing text.\n\\a In a tabbing environment, the commands \\=, \\' and \\` do not produce accents as normal. Instead, the commands \\a=, \\a' and \\a` are used."));
(void) new KileAction::Tag("Tabular - \\begin{tabular}","tabular",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_tabular" ,"\\begin{tabular}{","}\n%E\n\\end{tabular} ",16,0,i18n("\\begin{tabular}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular}\npos : Specifies the vertical position; default is alignment on the center of the environment.\n t - align on top row\n b - align on bottom row\ncols : Specifies the column formatting.\n l - A column of left-aligned items.\n r - A column of right-aligned items.\n c - A column of centered items.\n | - A vertical line the full height and depth of the environment.\n @{text} - this inserts text in every row.\nThe \\hline command draws a horizontal line the width of the table.\nThe \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,\nThe \\vline command draws a vertical line extending the full height and depth of its row."));
(void) new KileAction::Tag("Multicolumn Cells - \\multicolumn","multicolumn",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),parent->actionCollection(),"tag_multicolumn","\\multicolumn{","}{}{} ",13,0,i18n("\\multicolumn{cols}{pos}{text}\ncol, specifies the number of columns to span.\npos specifies the formatting of the entry: c for centered, l for flushleft, r for flushright.\ntext specifies what text is to make up the entry."));
(void) new KileAction::Tag(i18n("Horizontal Line - \\hline"),"hline",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_hline" ,"\\hline ",TQString(),7,0,i18n("The \\hline command draws a horizontal line the width of the table."));
(void) new KileAction::Tag(i18n("Vertical Line - \\vline"),"vline",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_vline" ,"\\vline ",TQString(),7,0,i18n("The \\vline command draws a vertical line extending the full height and depth of its row."));
(void) new KileAction::Tag(i18n("Horizontal Line Across Columns - \\cline{m-n}"),"cline",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_cline" ,"\\cline{-} ",TQString(),7,0,i18n("The \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,"));
(void) new KileAction::Tag(i18n("Newpage - \\newpage"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_newpage","\\newpage ",TQString(),9,0,i18n("The \\newpage command ends the current page"));
(void) new KileAction::Tag(i18n("Line Break - \\linebreak"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_linebreak","\\linebreak ",TQString(),11,0,i18n("The \\linebreak command tells LaTeX to break the current line at the point of the command."));
(void) new KileAction::Tag(i18n("Page Break - \\pagebreak"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_pagebreak","\\pagebreak ",TQString(),11,0,i18n("The \\pagebreak command tells LaTeX to break the current page at the point of the command."));
(void) new KileAction::Tag(i18n("\"Big\" Vertical Space - \\bigskip"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bigskip","\\bigskip ",TQString(),9,0,i18n("The \\bigskip command adds a 'big' vertical space."));
(void) new KileAction::Tag(i18n("\"Medium\" vertical Space - \\medskip"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_medskip","\\medskip ",TQString(),9,0,i18n("The \\medskip command adds a 'medium' vertical space."));
new KileAction::Tag(i18n("Italics - \\textit{}"),"format-text-italic",TQt::ALT+TQt::SHIFT+TQt::Key_I, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textit","\\textit{","}",8,0,i18n("\\textit{italic text}"));
new KileAction::Tag(i18n("Slanted - \\textsl{}"),"slanted",TQt::ALT+TQt::SHIFT+TQt::Key_A, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsl","\\textsl{","}",8,0,i18n("\\textsl{slanted text}"));
new KileAction::Tag(i18n("Boldface - \\textbf{}"),"format-text-bold",TQt::ALT+TQt::SHIFT+TQt::Key_B, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textbf","\\textbf{","}",8,0,i18n("\\textbf{boldface text}"));
new KileAction::Tag(i18n("Typewriter - \\texttt{}"),"typewriter",TQt::ALT+TQt::SHIFT+TQt::Key_T, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_texttt","\\texttt{","}",8,0,i18n("\\texttt{typewriter text}"));
new KileAction::Tag(i18n("Small Caps - \\textsc{}"),TQt::ALT+TQt::SHIFT+TQt::Key_C, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_textsc","\\textsc{","}",8,0,i18n("\\textsc{small caps text}"));
new KileAction::Tag("\\item","item",TQt::ALT+TQt::SHIFT+TQt::Key_H, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_item","\\item ",TQString(),6,0, i18n("\\item[label] Hello!"));
(void) new KileAction::Tag(i18n("Tabbing - \\begin{tabbing}"),"tabbing",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_tabbing" ,"\\begin{tabbing}\n","%E\n\\end{tabbing} ",0,1,i18n("The tabbing environment provides a way to align text in columns.\n\\begin{tabbing}\ntext \\= more text \\= still more text \\= last text \\\\\nsecond row \\> \\> more \\\\\n\\end{tabbing}\nCommands :\n\\= Sets a tab stop at the current position.\n\\> Advances to the next tab stop.\n\\< Allows you to put something to the left of the local margin without changing the margin. Can only be used at the start of the line.\n\\+ Moves the left margin of the next and all the following commands one tab stop to the right\n\\- Moves the left margin of the next and all the following commands one tab stop to the left\n\\' Moves everything that you have typed so far in the current column to the right of the previous column, flush against the current column's tab stop. \n\\` Allows you to put text flush right against any tab stop, including tab stop 0\n\\kill Sets tab stops without producing text.\n\\a In a tabbing environment, the commands \\=, \\' and \\` do not produce accents as normal. Instead, the commands \\a=, \\a' and \\a` are used."));
(void) new KileAction::Tag("Tabular - \\begin{tabular}","tabular",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_tabular" ,"\\begin{tabular}{","}\n%E\n\\end{tabular} ",16,0,i18n("\\begin{tabular}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular}\npos : Specifies the vertical position; default is alignment on the center of the environment.\n t - align on top row\n b - align on bottom row\ncols : Specifies the column formatting.\n l - A column of left-aligned items.\n r - A column of right-aligned items.\n c - A column of centered items.\n | - A vertical line the full height and depth of the environment.\n @{text} - this inserts text in every row.\nThe \\hline command draws a horizontal line the width of the table.\nThe \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,\nThe \\vline command draws a vertical line extending the full height and depth of its row."));
(void) new KileAction::Tag("Multicolumn Cells - \\multicolumn","multicolumn",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),parent->actionCollection(),"tag_multicolumn","\\multicolumn{","}{}{} ",13,0,i18n("\\multicolumn{cols}{pos}{text}\ncol, specifies the number of columns to span.\npos specifies the formatting of the entry: c for centered, l for flushleft, r for flushright.\ntext specifies what text is to make up the entry."));
(void) new KileAction::Tag(i18n("Horizontal Line - \\hline"),"hline",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_hline" ,"\\hline ",TQString(),7,0,i18n("The \\hline command draws a horizontal line the width of the table."));
(void) new KileAction::Tag(i18n("Vertical Line - \\vline"),"vline",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_vline" ,"\\vline ",TQString(),7,0,i18n("The \\vline command draws a vertical line extending the full height and depth of its row."));
(void) new KileAction::Tag(i18n("Horizontal Line Across Columns - \\cline{m-n}"),"cline",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_cline" ,"\\cline{-} ",TQString(),7,0,i18n("The \\cline{i-j} command draws horizontal lines across the columns specified, beginning in column i and ending in column j,"));
(void) new KileAction::Tag(i18n("Newpage - \\newpage"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_newpage","\\newpage ",TQString(),9,0,i18n("The \\newpage command ends the current page"));
(void) new KileAction::Tag(i18n("Line Break - \\linebreak"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_linebreak","\\linebreak ",TQString(),11,0,i18n("The \\linebreak command tells LaTeX to break the current line at the point of the command."));
(void) new KileAction::Tag(i18n("Page Break - \\pagebreak"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_pagebreak","\\pagebreak ",TQString(),11,0,i18n("The \\pagebreak command tells LaTeX to break the current page at the point of the command."));
(void) new KileAction::Tag(i18n("\"Big\" Vertical Space - \\bigskip"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bigskip","\\bigskip ",TQString(),9,0,i18n("The \\bigskip command adds a 'big' vertical space."));
(void) new KileAction::Tag(i18n("\"Medium\" vertical Space - \\medskip"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_medskip","\\medskip ",TQString(),9,0,i18n("The \\medskip command adds a 'medium' vertical space."));
// includegraphics (dani)
(void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", TDEShortcut("Alt+I,G"),parent, TQT_SLOT(includeGraphics()), parent->actionCollection(),"tag_includegraphics",0L);
(void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", TDEShortcut("Alt+I,G"),parent, TQ_SLOT(includeGraphics()), parent->actionCollection(),"tag_includegraphics",0L);
// two new shortcuts (dani)
(void) new KileAction::InputTag(ki,i18n("Customizable File Inclusion - \\include{file}"),"include",TDEShortcut("Alt+I,F"), parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_include",parent, KileAction::KeepHistory | KileAction::ShowBrowseButton | KileAction::AddProjectFile, "\\include{%R","}",9,0, i18n("\\include{file}\nThe \\include command is used in conjunction with the \\includeonly command for selective inclusion of files."),i18n("Type or select a filename: "));
(void) new KileAction::InputTag(ki,i18n("File Inclusion - \\input{file}"),"include",TDEShortcut("Alt+I,P"), parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_input", parent, KileAction::KeepHistory | KileAction::ShowBrowseButton | KileAction::AddProjectFile, "\\input{%R","}",7,0,i18n("\\input{file}\nThe \\input command causes the indicated file to be read and processed, exactly as if its contents had been inserted in the current file at that point."),i18n("Type or select a filename: "));
(void) new KileAction::Tag(i18n("Bibliography Style Selection - \\bibliographystyle{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bibliographystyle", "\\bibliographystyle{","} ",19,0,i18n("The argument to \\bibliographystyle refers to a file style.bst, which defines how your citations will look\nThe standard styles distributed with BibTeX are:\nalpha : sorted alphabetically. Labels are formed from name of author and year of publication.\nplain : sorted alphabetically. Labels are numeric.\nunsrt : like plain, but entries are in order of citation.\nabbrv : like plain, but more compact labels."));
(void) new KileAction::Tag(i18n("Bibliography Generation - \\bibliography{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bibliography","\\bibliography{%S", "}\n",14, 0,i18n("The argument to \\bibliography refers to the bib file (without extension)\nwhich should contain your database in BibTeX format.\nKile inserts automatically the base name of the TeX file"));
(void) new KileAction::InputTag(ki,i18n("Customizable File Inclusion - \\include{file}"),"include",TDEShortcut("Alt+I,F"), parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_include",parent, KileAction::KeepHistory | KileAction::ShowBrowseButton | KileAction::AddProjectFile, "\\include{%R","}",9,0, i18n("\\include{file}\nThe \\include command is used in conjunction with the \\includeonly command for selective inclusion of files."),i18n("Type or select a filename: "));
(void) new KileAction::InputTag(ki,i18n("File Inclusion - \\input{file}"),"include",TDEShortcut("Alt+I,P"), parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_input", parent, KileAction::KeepHistory | KileAction::ShowBrowseButton | KileAction::AddProjectFile, "\\input{%R","}",7,0,i18n("\\input{file}\nThe \\input command causes the indicated file to be read and processed, exactly as if its contents had been inserted in the current file at that point."),i18n("Type or select a filename: "));
(void) new KileAction::Tag(i18n("Bibliography Style Selection - \\bibliographystyle{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bibliographystyle", "\\bibliographystyle{","} ",19,0,i18n("The argument to \\bibliographystyle refers to a file style.bst, which defines how your citations will look\nThe standard styles distributed with BibTeX are:\nalpha : sorted alphabetically. Labels are formed from name of author and year of publication.\nplain : sorted alphabetically. Labels are numeric.\nunsrt : like plain, but entries are in order of citation.\nabbrv : like plain, but more compact labels."));
(void) new KileAction::Tag(i18n("Bibliography Generation - \\bibliography{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bibliography","\\bibliography{%S", "}\n",14, 0,i18n("The argument to \\bibliography refers to the bib file (without extension)\nwhich should contain your database in BibTeX format.\nKile inserts automatically the base name of the TeX file"));
KileAction::Select *actionstructure_list = new KileAction::Select(i18n("Sectioning"), 0, parent->actionCollection(), "structure_list");
TQPtrList<TDEAction> alist;
alist.append(new KileAction::InputTag(ki,"&part","part",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_part", parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\part%A{%R}","\n", 0,1,i18n("\\part{title}\n\\part*{title} : do not include a number and do not make an entry in the table of contents\n"), i18n("&Part"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"&chapter","chapter",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_chapter" ,parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\chapter%A{%R}","\n", 0,1,i18n("\\chapter{title}\n\\chapter*{title} : do not include a number and do not make an entry in the table of contents\nOnly for 'report' and 'book' class document."), i18n("C&hapter"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"&section","section",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_section",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\section%A{%R}","\n", 0,1,i18n("\\section{title}\n\\section*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Section"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"s&ubsection","subsection",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subsection" ,parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subsection%A{%R}","\n", 0,1,i18n("\\subsection{title}\n\\subsection*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subsection"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"su&bsubsection","subsubsection",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subsubsection",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subsubsection%A{%R}","\n", 0,1,i18n("\\subsubsection{title}\n\\subsubsection*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subsubsection"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"p&aragraph",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_paragraph",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\paragraph%A{%R}","\n", 0,1,i18n("\\paragraph{title}\n\\paragraph*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Paragraph"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"subpa&ragraph",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subparagraph",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subparagraph%A{%R}","\n", 0,1,i18n("\\subparagraph{title}\n\\subparagraph*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subparagraph"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"&part","part",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_part", parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\part%A{%R}","\n", 0,1,i18n("\\part{title}\n\\part*{title} : do not include a number and do not make an entry in the table of contents\n"), i18n("&Part"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"&chapter","chapter",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_chapter" ,parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\chapter%A{%R}","\n", 0,1,i18n("\\chapter{title}\n\\chapter*{title} : do not include a number and do not make an entry in the table of contents\nOnly for 'report' and 'book' class document."), i18n("C&hapter"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"&section","section",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_section",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\section%A{%R}","\n", 0,1,i18n("\\section{title}\n\\section*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Section"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"s&ubsection","subsection",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subsection" ,parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subsection%A{%R}","\n", 0,1,i18n("\\subsection{title}\n\\subsection*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subsection"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"su&bsubsection","subsubsection",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subsubsection",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subsubsection%A{%R}","\n", 0,1,i18n("\\subsubsection{title}\n\\subsubsection*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subsubsection"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"p&aragraph",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_paragraph",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\paragraph%A{%R}","\n", 0,1,i18n("\\paragraph{title}\n\\paragraph*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Paragraph"),i18n("No &numbering")));
alist.append(new KileAction::InputTag(ki,"subpa&ragraph",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subparagraph",parent, KileAction::ShowAlternative|KileAction::ShowLabel , "\\subparagraph%A{%R}","\n", 0,1,i18n("\\subparagraph{title}\n\\subparagraph*{title} : do not include a number and do not make an entry in the table of contents"), i18n("&Subparagraph"),i18n("No &numbering")));
actionstructure_list->setItems(alist);
actionstructure_list->setCurrentItem(2);
KileAction::Select *actionsize_list = new KileAction::Select(i18n("Size"), 0, parent->actionCollection(), "size_list");
alist.clear();
alist.append(new KileAction::Tag(i18n("tiny"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{tiny}","\\end{tiny}",12,0));
alist.append(new KileAction::Tag(i18n("scriptsize"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{scriptsize}","\\end{scriptsize}",18,0));
alist.append(new KileAction::Tag(i18n("footnotesize"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{footnotesize}","\\end{footnotesize}",20,0));
alist.append(new KileAction::Tag(i18n("small"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{small}","\\end{small}",13,0));
alist.append(new KileAction::Tag(i18n("normalsize"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{normalsize}","\\end{normalsize}",18,0));
alist.append(new KileAction::Tag(i18n("large"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{large}","\\end{large}",13,0));
alist.append(new KileAction::Tag(i18n("Large"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{Large}","\\end{Large}",13,0));
alist.append(new KileAction::Tag(i18n("LARGE"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{LARGE}","\\end{LARGE}",13,0));
alist.append(new KileAction::Tag(i18n("huge"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{huge}","\\end{huge}", 12,0));
alist.append(new KileAction::Tag(i18n("Huge"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{Huge}","\\end{Huge}", 12,0));
alist.append(new KileAction::Tag(i18n("tiny"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{tiny}","\\end{tiny}",12,0));
alist.append(new KileAction::Tag(i18n("scriptsize"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{scriptsize}","\\end{scriptsize}",18,0));
alist.append(new KileAction::Tag(i18n("footnotesize"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{footnotesize}","\\end{footnotesize}",20,0));
alist.append(new KileAction::Tag(i18n("small"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{small}","\\end{small}",13,0));
alist.append(new KileAction::Tag(i18n("normalsize"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{normalsize}","\\end{normalsize}",18,0));
alist.append(new KileAction::Tag(i18n("large"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{large}","\\end{large}",13,0));
alist.append(new KileAction::Tag(i18n("Large"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{Large}","\\end{Large}",13,0));
alist.append(new KileAction::Tag(i18n("LARGE"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{LARGE}","\\end{LARGE}",13,0));
alist.append(new KileAction::Tag(i18n("huge"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{huge}","\\end{huge}", 12,0));
alist.append(new KileAction::Tag(i18n("Huge"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{Huge}","\\end{Huge}", 12,0));
actionsize_list->setItems(alist);
actionsize_list->setCurrentItem(4);
KileAction::Select *actionother_list = new KileAction::Select(i18n("Other"), 0, parent->actionCollection(), "other_list");
alist.clear();
alist.append(new KileAction::Tag("label", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_label", "\\label{","} ",7,0,i18n("\\label{key}")));
alist.append(new KileAction::Tag("index", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_index","\\index{","}",7,0,i18n( "\\index{word}")));
alist.append(new KileAction::Tag("footnote",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_footnote", "\\footnote{","}",10,0,i18n( "\\footnote{text}")));
alist.append(new KileAction::InputTag(ki,"ref",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_ref", parent, KileAction::FromLabelList, "\\ref{%R", "}", 5,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"pageref",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_pageref", parent, KileAction::FromLabelList, "\\pageref{%R", "}", 9,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"cite",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_cite", parent, KileAction::FromBibItemList, "\\cite{%R", "}", 6,0, i18n("This command generates an in-text citation to the reference associated with the ref entry in the bib file\nYou can open the bib file with Kile to see all the available references"), i18n("Reference")));
alist.append(new TDEAction(i18n("cite from ViewBib"),0, parent, TQT_SLOT(citeViewBib()), parent->actionCollection(),"citeViewBib" ));
alist.append(new KileAction::Tag("label", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_label", "\\label{","} ",7,0,i18n("\\label{key}")));
alist.append(new KileAction::Tag("index", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_index","\\index{","}",7,0,i18n( "\\index{word}")));
alist.append(new KileAction::Tag("footnote",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_footnote", "\\footnote{","}",10,0,i18n( "\\footnote{text}")));
alist.append(new KileAction::InputTag(ki,"ref",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_ref", parent, KileAction::FromLabelList, "\\ref{%R", "}", 5,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"pageref",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_pageref", parent, KileAction::FromLabelList, "\\pageref{%R", "}", 9,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"cite",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_cite", parent, KileAction::FromBibItemList, "\\cite{%R", "}", 6,0, i18n("This command generates an in-text citation to the reference associated with the ref entry in the bib file\nYou can open the bib file with Kile to see all the available references"), i18n("Reference")));
alist.append(new TDEAction(i18n("cite from ViewBib"),0, parent, TQ_SLOT(citeViewBib()), parent->actionCollection(),"citeViewBib" ));
actionother_list->setItems(alist);
(void) new KileAction::Tag(i18n("Underline - \\underline{}"),"format-text-underline",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_underline", "\\underline{","}",11);
(void) new KileAction::Tag(i18n("Underline - \\underline{}"),"format-text-underline",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_underline", "\\underline{","}",11);
TQString icon = ( locate("icon","default.tde/22x22/actions/key_enter.png").isEmpty() ) ? "newline" : "key_enter";
(void) new TDEAction(i18n("Smart New Line"), icon, TQt::SHIFT+TQt::Key_Return , ki->editorExtension(), TQT_SLOT(insertIntelligentNewline()), parent->actionCollection(),"tag_newline");
(void) new TDEAction(i18n("Smart Tabulator"), TQt::ALT+TQt::Key_Ampersand, ki->editorExtension(), TQT_SLOT(insertIntelligentTabulator()), parent->actionCollection(),"tag_tabulator" );
(void) new TDEAction(i18n("Smart New Line"), icon, TQt::SHIFT+TQt::Key_Return , ki->editorExtension(), TQ_SLOT(insertIntelligentNewline()), parent->actionCollection(),"tag_newline");
(void) new TDEAction(i18n("Smart Tabulator"), TQt::ALT+TQt::Key_Ampersand, ki->editorExtension(), TQ_SLOT(insertIntelligentTabulator()), parent->actionCollection(),"tag_tabulator" );
// new tags (dani 29.01.2005)
TDEActionCollection* ac = parent->actionCollection();
// environments
(void) new KileAction::Tag(i18n("Abstract - \\begin{abstract}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_abstract","\\begin{abstract}\n","%E\n\\end{abstract} ",0,1, i18n("\\begin{abstract}\ntext\n\\end{abstract}\nThe abstract environment creates a title page, i.e. a page with no printed page number or heading."));
(void) new KileAction::Tag(i18n("Abstract - \\begin{abstract}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_abstract","\\begin{abstract}\n","%E\n\\end{abstract} ",0,1, i18n("\\begin{abstract}\ntext\n\\end{abstract}\nThe abstract environment creates a title page, i.e. a page with no printed page number or heading."));
(void) new KileAction::Tag("Tabular* - \\begin{tabular*}",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_tabular*","\\begin{tabular*}{}{","}\n%E\n\\end{tabular*}\n",17,0, i18n("\\begin{tabular*}{width}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular*}\nThis is an extended version of the tabular environment with an extra parameter for the width. There must be rubber space between columns that can stretch to fill out the specified width."));
(void) new KileAction::Tag("Tabular* - \\begin{tabular*}",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_tabular*","\\begin{tabular*}{}{","}\n%E\n\\end{tabular*}\n",17,0, i18n("\\begin{tabular*}{width}[pos]{cols}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\\n...\n\\end{tabular*}\nThis is an extended version of the tabular environment with an extra parameter for the width. There must be rubber space between columns that can stretch to fill out the specified width."));
(void) new KileAction::Tag(i18n("Minipage - \\begin{minipage}"),"minipage",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_env_minipage","\\begin{minipage}[","]{}\n%E\n\\end{minipage} ",17,0, i18n("The minipage environment is similar to a \\parbox command. It takes the same optional position argument and mandatory width argument. You may use other paragraph-making environments inside a minipage."));
(void) new KileAction::Tag(i18n("Minipage - \\begin{minipage}"),"minipage",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_env_minipage","\\begin{minipage}[","]{}\n%E\n\\end{minipage} ",17,0, i18n("The minipage environment is similar to a \\parbox command. It takes the same optional position argument and mandatory width argument. You may use other paragraph-making environments inside a minipage."));
// lists
(void) new KileAction::Tag(i18n("Table of Figures - \\listoffigures"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_listoffigures","\\listoffigures",TQString(),14,0, i18n("Put this command where you want the list of figures to go."));
(void) new KileAction::Tag(i18n("Table of Figures - \\listoffigures"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_listoffigures","\\listoffigures",TQString(),14,0, i18n("Put this command where you want the list of figures to go."));
(void) new KileAction::Tag(i18n("Table of Tables - \\listoftables"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_listoftables","\\listoftables",TQString(),14,0, i18n("Put this command where you want the list of tables to go."));
(void) new KileAction::Tag(i18n("Table of Tables - \\listoftables"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_listoftables","\\listoftables",TQString(),14,0, i18n("Put this command where you want the list of tables to go."));
(void) new KileAction::Tag(i18n("Generate Index - \\makeindex"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_makeindex","\\makeindex",TQString(),10,0, i18n("Put this command when you want to generate the raw index."));
(void) new KileAction::Tag(i18n("Generate Index - \\makeindex"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_makeindex","\\makeindex",TQString(),10,0, i18n("Put this command when you want to generate the raw index."));
(void) new KileAction::Tag(i18n("Print Index - \\printindex"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_printindex","\\printindex",TQString(),11,0, i18n("Put this command when you want to print the formatted index."));
(void) new KileAction::Tag(i18n("Print Index - \\printindex"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_printindex","\\printindex",TQString(),11,0, i18n("Put this command when you want to print the formatted index."));
(void) new KileAction::Tag(i18n("Glossary - \\makeglossary"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_makeglossary","\\makeglossary",TQString(),13,0, i18n("Put this command when you want to print a glossary."));
(void) new KileAction::Tag(i18n("Glossary - \\makeglossary"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_makeglossary","\\makeglossary",TQString(),13,0, i18n("Put this command when you want to print a glossary."));
(void) new KileAction::Tag("Bibliography - \\begin{thebibliography}",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_thebibliography" ,"\\begin{thebibliography}{","}\n\n\\end{thebibliography} ",24,0, i18n("\\begin{thebibliography}{widest-label}\n\\bibitem[label]{cite_key}\n...\n\\end{thebibliography}\n\nwidest-label : Text that, when printed, is approximately as wide as the widest item label produces by the \\bibitem commands\n\\bibitem : Specify a bibliography item"));
(void) new KileAction::Tag("Bibliography - \\begin{thebibliography}",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_thebibliography" ,"\\begin{thebibliography}{","}\n\n\\end{thebibliography} ",24,0, i18n("\\begin{thebibliography}{widest-label}\n\\bibitem[label]{cite_key}\n...\n\\end{thebibliography}\n\nwidest-label : Text that, when printed, is approximately as wide as the widest item label produces by the \\bibitem commands\n\\bibitem : Specify a bibliography item"));
// verbatim code
(void) new KileAction::Tag(i18n("Verbatim (show spaces) - \\begin{verbatim*}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_env_verbatim*","\\begin{verbatim*}\n","%E\n\\end{verbatim*}\n",0,1, i18n("Environment that gets LaTeX to print exactly what you type in. In this variant, spaces are printed in a special manner."));
(void) new KileAction::Tag(i18n("Verbatim (show spaces) - \\begin{verbatim*}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_env_verbatim*","\\begin{verbatim*}\n","%E\n\\end{verbatim*}\n",0,1, i18n("Environment that gets LaTeX to print exactly what you type in. In this variant, spaces are printed in a special manner."));
(void) new KileAction::Tag(i18n("Embedded Code - \\verb||"),"verb",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_verb","\\verb|","|",6,0, i18n("Macro form of the verbatim environment."));
(void) new KileAction::Tag(i18n("Embedded Code - \\verb||"),"verb",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_verb","\\verb|","|",6,0, i18n("Macro form of the verbatim environment."));
(void) new KileAction::Tag(i18n("Embedded Code (show spaces) - \\verb*||"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_verb*","\\verb*|","|",7,0, i18n("Macro form of the verbatim* environment."));
(void) new KileAction::Tag(i18n("Embedded Code (show spaces) - \\verb*||"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_verb*","\\verb*|","|",7,0, i18n("Macro form of the verbatim* environment."));
// horizontal/vertical space
(void) new KileAction::Tag(i18n("\"Small\" Vertical Space - \\smallskip"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_smallskip","\\smallskip ",TQString(),10,0, i18n("The \\smallskip command adds a 'small' vertical space."));
(void) new KileAction::Tag(i18n("\"Small\" Vertical Space - \\smallskip"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_smallskip","\\smallskip ",TQString(),10,0, i18n("The \\smallskip command adds a 'small' vertical space."));
(void) new KileAction::Tag("\\enskip",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_enskip", "\\enskip ", TQString(), 8);
(void) new KileAction::Tag("\\enskip",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_enskip", "\\enskip ", TQString(), 8);
(void) new KileAction::Tag(i18n("Horizontal Variable Space - \\hfill"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hfill","\\hfill",TQString(),6,0, i18n("The \\hfill fill command produces a \"rubber length\" which can stretch or shrink horizontally. It will be filled with spaces."));
(void) new KileAction::Tag(i18n("Horizontal Variable Space - \\hfill"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hfill","\\hfill",TQString(),6,0, i18n("The \\hfill fill command produces a \"rubber length\" which can stretch or shrink horizontally. It will be filled with spaces."));
(void) new KileAction::Tag(i18n("Horizontal Dots - \\dotfill"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_dotfill","\\dotfill",TQString(),8,0, i18n("The \\dotfill command produces a \"rubber length\" that produces dots instead of just spaces."));
(void) new KileAction::Tag(i18n("Horizontal Dots - \\dotfill"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_dotfill","\\dotfill",TQString(),8,0, i18n("The \\dotfill command produces a \"rubber length\" that produces dots instead of just spaces."));
(void) new KileAction::Tag(i18n("Horizontal Rule - \\hrulefill"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hrulefill","\\hrulefill",TQString(),10,0, i18n("The \\hrulefill fill command produces a \"rubber length\" which can stretch or shrink horizontally. It will be filled with a horizontal rule."));
(void) new KileAction::Tag(i18n("Horizontal Rule - \\hrulefill"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hrulefill","\\hrulefill",TQString(),10,0, i18n("The \\hrulefill fill command produces a \"rubber length\" which can stretch or shrink horizontally. It will be filled with a horizontal rule."));
(void) new KileAction::Tag(i18n("Vertical Variable Space - \\vfill"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vfill","\\vfill",TQString(),6,0, i18n("The \\vfill fill command produces a \"rubber length\" which can stretch or shrink vertically."));
(void) new KileAction::Tag(i18n("Vertical Variable Space - \\vfill"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vfill","\\vfill",TQString(),6,0, i18n("The \\vfill fill command produces a \"rubber length\" which can stretch or shrink vertically."));
(void) new KileAction::Tag(i18n("Horizontal Space - \\hspace{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hspace","\\hspace{","}",8,0, i18n("The \\hspace command adds horizontal space. The length of the space can be expressed in any terms that LaTeX understands, i.e., points, inches, etc. You can add negative as well as positive space with an \\hspace command. Adding negative space is like backspacing."));
(void) new KileAction::Tag(i18n("Horizontal Space - \\hspace{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hspace","\\hspace{","}",8,0, i18n("The \\hspace command adds horizontal space. The length of the space can be expressed in any terms that LaTeX understands, i.e., points, inches, etc. You can add negative as well as positive space with an \\hspace command. Adding negative space is like backspacing."));
(void) new KileAction::Tag(i18n("Horizontal Space (forced) - \\hspace*{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hspace*","\\hspace*{","}",9,0, i18n("The \\hspace* command adds horizontal space like the \\hspace command. LaTeX removes horizontal space that comes at the end of a line. If you do not want LaTeX to remove this space, include the optional * argument. Then the space is never removed."));
(void) new KileAction::Tag(i18n("Horizontal Space (forced) - \\hspace*{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_hspace*","\\hspace*{","}",9,0, i18n("The \\hspace* command adds horizontal space like the \\hspace command. LaTeX removes horizontal space that comes at the end of a line. If you do not want LaTeX to remove this space, include the optional * argument. Then the space is never removed."));
(void) new KileAction::Tag(i18n("Vertical Space - \\vspace{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vspace","\\vspace{","}",8,0, i18n("The \\vspace command adds vertical space. The length of the space can be expressed in any terms that LaTeX understands, i.e., points, inches, etc. You can add negative as well as positive space with an \\vspace command."));
(void) new KileAction::Tag(i18n("Vertical Space - \\vspace{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vspace","\\vspace{","}",8,0, i18n("The \\vspace command adds vertical space. The length of the space can be expressed in any terms that LaTeX understands, i.e., points, inches, etc. You can add negative as well as positive space with an \\vspace command."));
(void) new KileAction::Tag(i18n("Vertical Space (forced) - \\vspace*{}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vspace*","\\vspace*{","}",9,0, i18n("The \\vspace* command adds vertical space like the \\vspace command. LaTeX removes vertical space that comes at the end of a page. If you do not want LaTeX to remove this space, include the optional * argument. Then the space is never removed."));
(void) new KileAction::Tag(i18n("Vertical Space (forced) - \\vspace*{}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)),ac,"tag_vspace*","\\vspace*{","}",9,0, i18n("The \\vspace* command adds vertical space like the \\vspace command. LaTeX removes vertical space that comes at the end of a page. If you do not want LaTeX to remove this space, include the optional * argument. Then the space is never removed."));
// fonts
new KileAction::Tag(i18n("Emphasized - \\emph{}"),"emph",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_emph","\\emph{","}",6,0,i18n("\\emph{emphasized text}"));
new KileAction::Tag(i18n("Strong - \\strong{}"),"strong",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_strong","\\strong{","}",8,0,i18n("\\strong{text}"));
new KileAction::Tag(i18n("Emphasized - \\emph{}"),"emph",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_emph","\\emph{","}",6,0,i18n("\\emph{emphasized text}"));
new KileAction::Tag(i18n("Strong - \\strong{}"),"strong",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_strong","\\strong{","}",8,0,i18n("\\strong{text}"));
(void) new KileAction::Tag("Roman - \\rmfamily",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_rmfamily", "\\rmfamily", TQString(), 9);
(void) new KileAction::Tag("Sansserif - \\sffamily",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sffamily", "\\sffamily", TQString(), 9);
(void) new KileAction::Tag("Monospace - \\ttfamily",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ttfamily", "\\ttfamily", TQString(), 9);
(void) new KileAction::Tag("Roman - \\rmfamily",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_rmfamily", "\\rmfamily", TQString(), 9);
(void) new KileAction::Tag("Sansserif - \\sffamily",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sffamily", "\\sffamily", TQString(), 9);
(void) new KileAction::Tag("Monospace - \\ttfamily",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ttfamily", "\\ttfamily", TQString(), 9);
(void) new KileAction::Tag("Medium - \\mdseries",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_mdseries", "\\mdseries", TQString(), 9);
(void) new KileAction::Tag("Bold - \\bfseries",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bfseries", "\\bfseries", TQString(), 9);
(void) new KileAction::Tag("Medium - \\mdseries",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_mdseries", "\\mdseries", TQString(), 9);
(void) new KileAction::Tag("Bold - \\bfseries",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bfseries", "\\bfseries", TQString(), 9);
(void) new KileAction::Tag("Upright - \\upshape",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_upshape", "\\upshape", TQString(), 8);
(void) new KileAction::Tag("Italic - \\itshape",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_itshape", "\\itshape", TQString(), 8);
(void) new KileAction::Tag("Slanted - \\slshape",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_slshape", "\\slshape", TQString(), 8);
(void) new KileAction::Tag("Smallcaps - \\scshape",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_scshape", "\\scshape", TQString(), 8);
(void) new KileAction::Tag("Upright - \\upshape",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_upshape", "\\upshape", TQString(), 8);
(void) new KileAction::Tag("Italic - \\itshape",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_itshape", "\\itshape", TQString(), 8);
(void) new KileAction::Tag("Slanted - \\slshape",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_slshape", "\\slshape", TQString(), 8);
(void) new KileAction::Tag("Smallcaps - \\scshape",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_scshape", "\\scshape", TQString(), 8);
}
void setupBibTags(TDEMainWindow *parent)
{
(void) new KileAction::Tag(i18n("Article in Journal"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_article","@Article{,\nauthor = {},\ntitle = {},\njournal = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTpages = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),9,0,i18n("Bib fields - Article in Journal\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Article in Conference Proceedings"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_inproc","@InProceedings{,\nauthor = {},\ntitle = {},\nbooktitle = {},\nOPTcrossref = {},\nOPTkey = {},\nOPTpages = {},\nOPTyear = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTorganization = {},\nOPTpublisher = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),15,0,i18n("Bib fields - Article in Conference Proceedings\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Article in Collection"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_incol","@InCollection{,\nauthor = {},\ntitle = {},\nbooktitle = {},\nOPTcrossref = {},\nOPTkey = {},\nOPTpages = {},\nOPTpublisher = {},\nOPTyear = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTtype = {},\nOPTchapter = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),14,0,i18n("Bib fields - Article in a Collection\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Chapter or Pages in Book"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_inbook","@InBook{,\nALTauthor = {},\nALTeditor = {},\ntitle = {},\nchapter = {},\npublisher = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTtype = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTpages = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),8,0,i18n("Bib fields - Chapter or Pages in a Book\nALT.... : you have the choice between these two fields\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Conference Proceedings"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_proceedings","@Proceedings{,\ntitle = {},\nyear = {},\nOPTkey = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTorganization = {},\nOPTpublisher = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),13,0,i18n("Bib Fields - Conference Proceedings\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Book"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_book","@Book{,\nALTauthor = {},\nALTeditor = {},\ntitle = {},\npublisher = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),6,0,i18n("Bib Fields - Book\nALT.... : you have the choice between these two fields\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Booklet"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_booklet","@Booklet{,\ntitle = {},\nOPTkey = {},\nOPTauthor = {},\nOPThowpublished = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),9,0,i18n("Bib fields - Booklet\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("PhD. Thesis"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_phdthesis","@PhdThesis{,\nauthor = {},\ntitle = {},\nschool = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),11,0,i18n("Bib fields - PhD. Thesis\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Master's Thesis"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_masterthesis","@MastersThesis{,\nauthor = {},\ntitle = {},\nschool = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),15,0,i18n("Bib fields - Master's Thesis\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Technical Report"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_techreport","@TechReport{,\nauthor = {},\ntitle = {},\ninstitution = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTnumber = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),12,0,i18n("Bib fields - Technical Report\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Technical Manual"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_manual","@Manual{,\ntitle = {},\nOPTkey = {},\nOPTauthor = {},\nOPTorganization = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),8,0,i18n("Bib fields - Technical Manual\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Unpublished"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_unpublished","@Unpublished{,\nauthor = {},\ntitle = {},\nnote = {},\nOPTkey = {},\nOPTmonth = {},\nOPTyear = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),13,0,i18n("Bib fields - Unpublished\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Miscellaneous"),0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_misc","@Misc{,\nOPTkey = {},\nOPTauthor = {},\nOPTtitle = {},\nOPThowpublished = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),6,0,i18n("Bib fields - Miscellaneous\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Article in Journal"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_article","@Article{,\nauthor = {},\ntitle = {},\njournal = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTpages = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),9,0,i18n("Bib fields - Article in Journal\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Article in Conference Proceedings"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_inproc","@InProceedings{,\nauthor = {},\ntitle = {},\nbooktitle = {},\nOPTcrossref = {},\nOPTkey = {},\nOPTpages = {},\nOPTyear = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTorganization = {},\nOPTpublisher = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),15,0,i18n("Bib fields - Article in Conference Proceedings\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Article in Collection"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_incol","@InCollection{,\nauthor = {},\ntitle = {},\nbooktitle = {},\nOPTcrossref = {},\nOPTkey = {},\nOPTpages = {},\nOPTpublisher = {},\nOPTyear = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTtype = {},\nOPTchapter = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),14,0,i18n("Bib fields - Article in a Collection\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Chapter or Pages in Book"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_inbook","@InBook{,\nALTauthor = {},\nALTeditor = {},\ntitle = {},\nchapter = {},\npublisher = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTtype = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTpages = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),8,0,i18n("Bib fields - Chapter or Pages in a Book\nALT.... : you have the choice between these two fields\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Conference Proceedings"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_proceedings","@Proceedings{,\ntitle = {},\nyear = {},\nOPTkey = {},\nOPTeditor = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTorganization = {},\nOPTpublisher = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),13,0,i18n("Bib Fields - Conference Proceedings\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Book"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_book","@Book{,\nALTauthor = {},\nALTeditor = {},\ntitle = {},\npublisher = {},\nyear = {},\nOPTkey = {},\nOPTvolume = {},\nOPTnumber = {},\nOPTseries = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),6,0,i18n("Bib Fields - Book\nALT.... : you have the choice between these two fields\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Booklet"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_booklet","@Booklet{,\ntitle = {},\nOPTkey = {},\nOPTauthor = {},\nOPThowpublished = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),9,0,i18n("Bib fields - Booklet\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("PhD. Thesis"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_phdthesis","@PhdThesis{,\nauthor = {},\ntitle = {},\nschool = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),11,0,i18n("Bib fields - PhD. Thesis\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Master's Thesis"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_masterthesis","@MastersThesis{,\nauthor = {},\ntitle = {},\nschool = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),15,0,i18n("Bib fields - Master's Thesis\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Technical Report"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_techreport","@TechReport{,\nauthor = {},\ntitle = {},\ninstitution = {},\nyear = {},\nOPTkey = {},\nOPTtype = {},\nOPTnumber = {},\nOPTaddress = {},\nOPTmonth = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),12,0,i18n("Bib fields - Technical Report\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Technical Manual"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_manual","@Manual{,\ntitle = {},\nOPTkey = {},\nOPTauthor = {},\nOPTorganization = {},\nOPTaddress = {},\nOPTedition = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),8,0,i18n("Bib fields - Technical Manual\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Unpublished"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_unpublished","@Unpublished{,\nauthor = {},\ntitle = {},\nnote = {},\nOPTkey = {},\nOPTmonth = {},\nOPTyear = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),13,0,i18n("Bib fields - Unpublished\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
(void) new KileAction::Tag(i18n("Miscellaneous"),0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bib_misc","@Misc{,\nOPTkey = {},\nOPTauthor = {},\nOPTtitle = {},\nOPThowpublished = {},\nOPTmonth = {},\nOPTyear = {},\nOPTnote = {},\nOPTannote = {},\nOPTurl = {},\nOPTdoi = {},\nOPTissn = {},\nOPTlocalfile = {},\nOPTabstract = {}\n}\n",TQString(),6,0,i18n("Bib fields - Miscellaneous\nOPT.... : optional fields (use the 'Clean' command to remove them)"));
}
void setupMathTags(TDEMainWindow *parent)
{
(void) new KileAction::Tag("\\mathrm{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathrm","\\mathrm{","}",8);
(void) new KileAction::Tag("\\mathit{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathit" ,"\\mathit{","}",8);
(void) new KileAction::Tag("\\mathbf{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbf" ,"\\mathbf{","}",8);
(void) new KileAction::Tag("\\mathsf{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathsf" ,"\\mathsf{","}",8);
(void) new KileAction::Tag("\\mathtt{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathtt" ,"\\mathtt{","}",8);
(void) new KileAction::Tag("\\mathcal{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathcal" ,"\\mathcal{","}",9);
(void) new KileAction::Tag("\\mathbb{}", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbb" ,"\\mathbb{","}",8);
(void) new KileAction::Tag("\\mathfrak{}",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathfrak" ,"\\mathfrak{","}",10);
(void) new KileAction::Tag("\\acute{}","acute",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_acute", "\\acute{","}",7);
(void) new KileAction::Tag("\\grave{}","grave",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_grave", "\\grave{","}", 7);
(void) new KileAction::Tag("\\tilde{}","tilde",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_tilde", "\\tilde{","}", 7);
(void) new KileAction::Tag("\\bar{}","bar", 0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bar", "\\bar{","}", 5);
(void) new KileAction::Tag("\\vec{}","vec", 0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_vec", "\\vec{","}", 5);
(void) new KileAction::Tag("\\hat{}","hat", 0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_hat", "\\hat{","}", 5);
(void) new KileAction::Tag("\\check{}","check",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_check", "\\check{","}", 7);
(void) new KileAction::Tag("\\breve{}","breve",0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_breve", "\\breve{","}", 7);
(void) new KileAction::Tag("\\dot{}","dot", 0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_dot", "\\dot{","}", 5);
(void) new KileAction::Tag("\\ddot{}","ddot", 0 , parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_ddot", "\\ddot{","}", 6);
(void) new KileAction::Tag(i18n("small"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_small", "\\,", TQString(), 2);
(void) new KileAction::Tag(i18n("medium"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_medium", "\\:", TQString(),2);
(void) new KileAction::Tag(i18n("large"), 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_large", "\\;", TQString(),2);
(void) new KileAction::Tag("\\quad", 0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quad", "\\quad ", TQString(), 6);
(void) new KileAction::Tag("\\qquad",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_qquad", "\\qquad ", TQString(), 7);
(void) new KileAction::Tag(i18n("Math Mode - $...$"),"mathmode",TQt::ALT+TQt::SHIFT+TQt::Key_M, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathmode","$","$",1);
(void) new KileAction::Tag("Displaymath Mode - \\[...\\]", "displaymathmode",TQt::ALT+TQt::SHIFT+TQt::Key_E, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_equation", "\\[","\\]", 2);
(void) new KileAction::Tag(i18n("Equation - \\begin{equation}"),"equation",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_equation","\\begin{equation}\n","%E\n\\end{equation} ",0,1);
(void) new KileAction::Tag(i18n("Subscript - _{}"),"math_lsup",TQt::ALT+TQt::SHIFT+TQt::Key_D, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subscript","_{","}",2);
(void) new KileAction::Tag(i18n("Superscript - ^{}"),"math_lsub",TQt::ALT+TQt::SHIFT+TQt::Key_U, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_superscript","^{","}",2);
(void) new KileAction::Tag(i18n("Normal - \\frac{}{}"),"smallfrac",TQt::ALT+TQt::SHIFT+TQt::Key_F, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_frac", "\\frac{","}{}",6);
(void) new KileAction::Tag(i18n("Displaystyle - \\dfrac{}{}"),"dfrac",TQt::ALT+TQt::SHIFT+TQt::Key_Q, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), parent->actionCollection(),"tag_dfrac", "\\dfrac{","}{}", 7);
(void) new KileAction::Tag(i18n("Square Root - \\sqrt{}"),"math_sqrt",TQt::ALT+TQt::SHIFT+TQt::Key_S, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_sqrt", "\\sqrt{","}", 6);
(void) new KileAction::Tag("\\left",TQt::ALT+TQt::SHIFT+TQt::Key_L, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_left", "\\left", TQString(), 5);
(void) new KileAction::Tag("\\right",TQt::ALT+TQt::SHIFT+TQt::Key_R, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_right", "\\right", TQString(), 6);
(void) new KileAction::Tag(i18n("Array - \\begin{array}"),"array",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_array", "\\begin{array}{}\n", "%E\n\\end{array}", 14, 0,
(void) new KileAction::Tag("\\mathrm{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathrm","\\mathrm{","}",8);
(void) new KileAction::Tag("\\mathit{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathit" ,"\\mathit{","}",8);
(void) new KileAction::Tag("\\mathbf{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbf" ,"\\mathbf{","}",8);
(void) new KileAction::Tag("\\mathsf{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathsf" ,"\\mathsf{","}",8);
(void) new KileAction::Tag("\\mathtt{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathtt" ,"\\mathtt{","}",8);
(void) new KileAction::Tag("\\mathcal{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathcal" ,"\\mathcal{","}",9);
(void) new KileAction::Tag("\\mathbb{}", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbb" ,"\\mathbb{","}",8);
(void) new KileAction::Tag("\\mathfrak{}",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathfrak" ,"\\mathfrak{","}",10);
(void) new KileAction::Tag("\\acute{}","acute",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_acute", "\\acute{","}",7);
(void) new KileAction::Tag("\\grave{}","grave",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_grave", "\\grave{","}", 7);
(void) new KileAction::Tag("\\tilde{}","tilde",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_tilde", "\\tilde{","}", 7);
(void) new KileAction::Tag("\\bar{}","bar", 0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bar", "\\bar{","}", 5);
(void) new KileAction::Tag("\\vec{}","vec", 0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_vec", "\\vec{","}", 5);
(void) new KileAction::Tag("\\hat{}","hat", 0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_hat", "\\hat{","}", 5);
(void) new KileAction::Tag("\\check{}","check",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_check", "\\check{","}", 7);
(void) new KileAction::Tag("\\breve{}","breve",0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_breve", "\\breve{","}", 7);
(void) new KileAction::Tag("\\dot{}","dot", 0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_dot", "\\dot{","}", 5);
(void) new KileAction::Tag("\\ddot{}","ddot", 0 , parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_ddot", "\\ddot{","}", 6);
(void) new KileAction::Tag(i18n("small"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_small", "\\,", TQString(), 2);
(void) new KileAction::Tag(i18n("medium"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_medium", "\\:", TQString(),2);
(void) new KileAction::Tag(i18n("large"), 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_large", "\\;", TQString(),2);
(void) new KileAction::Tag("\\quad", 0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quad", "\\quad ", TQString(), 6);
(void) new KileAction::Tag("\\qquad",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_qquad", "\\qquad ", TQString(), 7);
(void) new KileAction::Tag(i18n("Math Mode - $...$"),"mathmode",TQt::ALT+TQt::SHIFT+TQt::Key_M, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathmode","$","$",1);
(void) new KileAction::Tag("Displaymath Mode - \\[...\\]", "displaymathmode",TQt::ALT+TQt::SHIFT+TQt::Key_E, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_equation", "\\[","\\]", 2);
(void) new KileAction::Tag(i18n("Equation - \\begin{equation}"),"equation",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_equation","\\begin{equation}\n","%E\n\\end{equation} ",0,1);
(void) new KileAction::Tag(i18n("Subscript - _{}"),"math_lsup",TQt::ALT+TQt::SHIFT+TQt::Key_D, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_subscript","_{","}",2);
(void) new KileAction::Tag(i18n("Superscript - ^{}"),"math_lsub",TQt::ALT+TQt::SHIFT+TQt::Key_U, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_superscript","^{","}",2);
(void) new KileAction::Tag(i18n("Normal - \\frac{}{}"),"smallfrac",TQt::ALT+TQt::SHIFT+TQt::Key_F, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_frac", "\\frac{","}{}",6);
(void) new KileAction::Tag(i18n("Displaystyle - \\dfrac{}{}"),"dfrac",TQt::ALT+TQt::SHIFT+TQt::Key_Q, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), parent->actionCollection(),"tag_dfrac", "\\dfrac{","}{}", 7);
(void) new KileAction::Tag(i18n("Square Root - \\sqrt{}"),"math_sqrt",TQt::ALT+TQt::SHIFT+TQt::Key_S, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_sqrt", "\\sqrt{","}", 6);
(void) new KileAction::Tag("\\left",TQt::ALT+TQt::SHIFT+TQt::Key_L, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_left", "\\left", TQString(), 5);
(void) new KileAction::Tag("\\right",TQt::ALT+TQt::SHIFT+TQt::Key_R, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_right", "\\right", TQString(), 6);
(void) new KileAction::Tag(i18n("Array - \\begin{array}"),"array",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_env_array", "\\begin{array}{}\n", "%E\n\\end{array}", 14, 0,
i18n("\\begin{array}{col1col2...coln}\ncolumn 1 entry & column 2 entry ... & column n entry \\\\ \n...\n\\end{array}\nEach column, coln, is specified by a single letter that tells how items in that column should be formatted.\n"
" c -- for centered \n l -- for flush left \n r -- for flush right\n"));
TQPtrList<TDEAction> alist;
KileAction::Select *actionleft_list = new KileAction::Select(i18n("Left Delimiter"), 0, parent->actionCollection(), "left_list");
alist.clear();
alist.append(new KileAction::Tag("left (",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left( ",TQString(),7,0));
alist.append(new KileAction::Tag("left [",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left[ ",TQString(),7,0));
alist.append(new KileAction::Tag("left {",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left <",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("left )",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left) ",TQString(),7,0));
alist.append(new KileAction::Tag("left ]",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left] ",TQString(),7,0));
alist.append(new KileAction::Tag("left }",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left >",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("left .",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left. ",TQString(),7,0));
alist.append(new KileAction::Tag("left (",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left( ",TQString(),7,0));
alist.append(new KileAction::Tag("left [",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left[ ",TQString(),7,0));
alist.append(new KileAction::Tag("left {",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left <",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("left )",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left) ",TQString(),7,0));
alist.append(new KileAction::Tag("left ]",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left] ",TQString(),7,0));
alist.append(new KileAction::Tag("left }",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left >",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("left .",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left. ",TQString(),7,0));
actionleft_list->setItems(alist);
KileAction::Select *actionright_list = new KileAction::Select(i18n("Right Delimiter"), 0, parent->actionCollection(), "right_list");
alist.clear();
alist.append(new KileAction::Tag("right )",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right) ",TQString(),8,0));
alist.append(new KileAction::Tag("right ]",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right] ",TQString(),8,0));
alist.append(new KileAction::Tag("right }",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right >",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("right (",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right( ",TQString(),8,0));
alist.append(new KileAction::Tag("right [",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right[ ",TQString(),8,0));
alist.append(new KileAction::Tag("right {",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right <",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("right.",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right. ",TQString(),8,0));
alist.append(new KileAction::Tag("right )",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right) ",TQString(),8,0));
alist.append(new KileAction::Tag("right ]",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right] ",TQString(),8,0));
alist.append(new KileAction::Tag("right }",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right >",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("right (",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right( ",TQString(),8,0));
alist.append(new KileAction::Tag("right [",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right[ ",TQString(),8,0));
alist.append(new KileAction::Tag("right {",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right <",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("right.",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right. ",TQString(),8,0));
actionright_list->setItems(alist);
// new math tags (dani 29.01.2005)
TDEActionCollection* ac = parent->actionCollection();
(void) new KileAction::Tag(i18n("Textstyle - \\tfrac{}{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tfrac", "\\tfrac{","}{}", 7);
(void) new KileAction::Tag(i18n("Textstyle - \\tfrac{}{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tfrac", "\\tfrac{","}{}", 7);
(void) new KileAction::Tag(i18n("Normal - \\binom{}{}"),"binom",0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_binom", "\\binom{","}{}", 7);
(void) new KileAction::Tag(i18n("Normal - \\binom{}{}"),"binom",0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_binom", "\\binom{","}{}", 7);
(void) new KileAction::Tag(i18n("Displaystyle - \\dbinom{}{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_dbinom", "\\dbinom{","}{}", 8);
(void) new KileAction::Tag(i18n("Displaystyle - \\dbinom{}{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_dbinom", "\\dbinom{","}{}", 8);
(void) new KileAction::Tag(i18n("Textstyle - \\tbinom{}{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tbinom", "\\tbinom{","}{}", 8);
(void) new KileAction::Tag(i18n("Textstyle - \\tbinom{}{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tbinom", "\\tbinom{","}{}", 8);
(void) new KileAction::Tag(i18n("n-th root - \\sqrt[]{}"),"nroot",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_nroot", "\\sqrt[]{","}", 6);
(void) new KileAction::Tag(i18n("n-th root - \\sqrt[]{}"),"nroot",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_nroot", "\\sqrt[]{","}", 6);
(void) new KileAction::Tag("Left-Right - \\left(..\\right)",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_leftright", "\\left( \\right)", TQString(), 7);
(void) new KileAction::Tag("Left-Right - \\left(..\\right)",0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_leftright", "\\left( \\right)", TQString(), 7);
(void) new KileAction::Tag(i18n("Extendable Left Arrow - \\xleftarrow{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xleftarrow", "\\xleftarrow{","}", 12);
(void) new KileAction::Tag(i18n("Extendable Left Arrow - \\xleftarrow{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xleftarrow", "\\xleftarrow{","}", 12);
(void) new KileAction::Tag(i18n("Extendable Right Arrow - \\xrightarrow{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xrightarrow", "\\xrightarrow{","}", 13);
(void) new KileAction::Tag(i18n("Extendable Right Arrow - \\xrightarrow{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xrightarrow", "\\xrightarrow{","}", 13);
(void) new KileAction::Tag(i18n("Boxed Formula - \\boxed{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_boxed", "\\boxed{","}", 7);
(void) new KileAction::Tag(i18n("Boxed Formula - \\boxed{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_boxed", "\\boxed{","}", 7);
(void) new KileAction::Tag(i18n("bigl - \\bigl"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigl", "\\bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigl - \\Bigl"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigl", "\\Bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("biggl - \\biggl"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggl", "\\biggl",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggl - \\Biggl"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggl", "\\Biggl",TQString(), 6);
(void) new KileAction::Tag(i18n("bigl - \\bigl"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigl", "\\bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigl - \\Bigl"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigl", "\\Bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("biggl - \\biggl"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggl", "\\biggl",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggl - \\Biggl"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggl", "\\Biggl",TQString(), 6);
(void) new KileAction::Tag(i18n("bigr - \\bigr"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigr", "\\bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigr - \\Bigr"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigr", "\\Bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("biggr - \\biggr"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggr", "\\biggr",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggr - \\Biggr"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggr", "\\Biggr",TQString(), 6);
(void) new KileAction::Tag(i18n("bigr - \\bigr"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigr", "\\bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigr - \\Bigr"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigr", "\\Bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("biggr - \\biggr"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggr", "\\biggr",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggr - \\Biggr"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggr", "\\Biggr",TQString(), 6);
// text in mathmode
(void) new KileAction::Tag(i18n("Text in Mathmode - \\text{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_text", "\\text{","}", 6);
(void) new KileAction::Tag(i18n("Text in Mathmode - \\text{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_text", "\\text{","}", 6);
(void) new KileAction::Tag(i18n("Intertext - \\intertext{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_intertext", "\\intertext{","}\n", 11);
(void) new KileAction::Tag(i18n("Intertext - \\intertext{}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_intertext", "\\intertext{","}\n", 11);
// math environments
(void) new KileAction::Tag(i18n("Displaymath - \\begin{displaymath}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_displaymath","\\begin{displaymath}\n","%E\n\\end{displaymath}\n",0,1);
(void) new KileAction::Tag(i18n("Displaymath - \\begin{displaymath}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_displaymath","\\begin{displaymath}\n","%E\n\\end{displaymath}\n",0,1);
(void) new KileAction::Tag(i18n("Equation (not numbered) - \\begin{equation*}"),0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_equation*","\\begin{equation*}\n","%E\n\\end{equation*}\n",0,1);
(void) new KileAction::Tag(i18n("Equation (not numbered) - \\begin{equation*}"),0, parent, TQ_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_env_equation*","\\begin{equation*}\n","%E\n\\end{equation*}\n",0,1);
// AMS environments
(void) new KileAction::Tag(i18n("Multline - \\begin{multline}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_multline","\\begin{multline}\n","%E\n\\end{multline}\n", 0,1);
(void) new KileAction::Tag(i18n("Multline* - \\begin{multline*}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_multline*","\\begin{multline*}\n","%E\n\\end{multline*}\n", 0,1);
(void) new KileAction::Tag(i18n("Multline - \\begin{multline}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_multline","\\begin{multline}\n","%E\n\\end{multline}\n", 0,1);
(void) new KileAction::Tag(i18n("Multline* - \\begin{multline*}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_multline*","\\begin{multline*}\n","%E\n\\end{multline*}\n", 0,1);
(void) new KileAction::Tag(i18n("Split - \\begin{split}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_split","\\begin{split}\n","%E\n\\end{split}\n", 0,1);
(void) new KileAction::Tag(i18n("Split - \\begin{split}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_split","\\begin{split}\n","%E\n\\end{split}\n", 0,1);
(void) new KileAction::Tag(i18n("Gather - \\begin{gather}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gather","\\begin{gather}\n","%E\n\\end{gather}\n", 0,1);
(void) new KileAction::Tag(i18n("Gather* - \\begin{gather*}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gather*","\\begin{gather*}\n","%E\n\\end{gather*}\n", 0,1);
(void) new KileAction::Tag(i18n("Gather - \\begin{gather}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gather","\\begin{gather}\n","%E\n\\end{gather}\n", 0,1);
(void) new KileAction::Tag(i18n("Gather* - \\begin{gather*}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gather*","\\begin{gather*}\n","%E\n\\end{gather*}\n", 0,1);
(void) new KileAction::Tag(i18n("Align - \\begin{align}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_align","\\begin{align}\n","%E\n\\end{align}\n", 0,1);
(void) new KileAction::Tag(i18n("Align* - \\begin{align*}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_align*","\\begin{align*}\n","%E\n\\end{align*}\n", 0,1);
(void) new KileAction::Tag(i18n("Align - \\begin{align}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_align","\\begin{align}\n","%E\n\\end{align}\n", 0,1);
(void) new KileAction::Tag(i18n("Align* - \\begin{align*}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_align*","\\begin{align*}\n","%E\n\\end{align*}\n", 0,1);
(void) new KileAction::Tag(i18n("Flalign - \\begin{flalign}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_flalign","\\begin{flalign}\n","%E\n\\end{flalign}\n", 0,1);
(void) new KileAction::Tag(i18n("Flalign* - \\begin{flalign*}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_flalign*","\\begin{flalign*}\n","%E\n\\end{flalign*}\n", 0,1);
(void) new KileAction::Tag(i18n("Flalign - \\begin{flalign}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_flalign","\\begin{flalign}\n","%E\n\\end{flalign}\n", 0,1);
(void) new KileAction::Tag(i18n("Flalign* - \\begin{flalign*}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_flalign*","\\begin{flalign*}\n","%E\n\\end{flalign*}\n", 0,1);
(void) new KileAction::Tag(i18n("Alignat - \\begin{alignat}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignat","\\begin{alignat}{","}\n%E\n\\end{alignat}\n", 16,0);
(void) new KileAction::Tag(i18n("Alignat* - \\begin{alignat*}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignat*","\\begin{alignat*}{","}\n%E\n\\end{alignat*}\n", 17,0);
(void) new KileAction::Tag(i18n("Alignat - \\begin{alignat}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignat","\\begin{alignat}{","}\n%E\n\\end{alignat}\n", 16,0);
(void) new KileAction::Tag(i18n("Alignat* - \\begin{alignat*}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignat*","\\begin{alignat*}{","}\n%E\n\\end{alignat*}\n", 17,0);
(void) new KileAction::Tag(i18n("Aligned - \\begin{aligned}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_aligned","\\begin{aligned}\n","%E\n\\end{aligned}\n", 0,1);
(void) new KileAction::Tag(i18n("Gathered - \\begin{gathered}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gathered","\\begin{gathered}\n","%E\n\\end{gathered}\n", 0,1);
(void) new KileAction::Tag(i18n("Alignedat - \\begin{alignedat}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignedat","\\begin{alignedat}\n","%E\n\\end{alignedat}\n", 0,1);
(void) new KileAction::Tag(i18n("Aligned - \\begin{aligned}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_aligned","\\begin{aligned}\n","%E\n\\end{aligned}\n", 0,1);
(void) new KileAction::Tag(i18n("Gathered - \\begin{gathered}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_gathered","\\begin{gathered}\n","%E\n\\end{gathered}\n", 0,1);
(void) new KileAction::Tag(i18n("Alignedat - \\begin{alignedat}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_alignedat","\\begin{alignedat}\n","%E\n\\end{alignedat}\n", 0,1);
(void) new KileAction::Tag(i18n("Cases - \\begin{cases}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_cases","\\begin{cases}\n","%E\n\\end{cases}\n", 0,1);
(void) new KileAction::Tag(i18n("Cases - \\begin{cases}"),0, parent, TQ_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_cases","\\begin{cases}\n","%E\n\\end{cases}\n", 0,1);
}

@ -176,7 +176,7 @@ namespace KileTool
//jump to first error
if ( nErrors > 0 && (readEntry("jumpToFirstError") == "yes") ) {
connect(this, TQT_SIGNAL(jumpToFirstError()), manager(), TQT_SIGNAL(jumpToFirstError()));
connect(this, TQ_SIGNAL(jumpToFirstError()), manager(), TQ_SIGNAL(jumpToFirstError()));
emit(jumpToFirstError());
}
}

@ -159,12 +159,12 @@ namespace KileWidget
TQToolTip::remove(this);
new KileListViewToolTip(this);
//connect(this, TQT_SIGNAL(clicked(TQListViewItem *)), m_stack, TQT_SLOT(slotClicked(TQListViewItem *)));
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *)), m_stack, TQT_SLOT(slotDoubleClicked(TQListViewItem *)));
connect(this, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint & )), m_stack, TQT_SLOT(slotPopup(TDEListView *, TQListViewItem * , const TQPoint & )));
//connect(this, TQ_SIGNAL(clicked(TQListViewItem *)), m_stack, TQ_SLOT(slotClicked(TQListViewItem *)));
connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem *)), m_stack, TQ_SLOT(slotDoubleClicked(TQListViewItem *)));
connect(this, TQ_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint & )), m_stack, TQ_SLOT(slotPopup(TDEListView *, TQListViewItem * , const TQPoint & )));
connect(this, TQT_SIGNAL(executed(TQListViewItem*)), m_stack, TQT_SLOT(slotClicked(TQListViewItem*)));
connect(m_stack, TQT_SIGNAL(configChanged()), this, TQT_SLOT(slotConfigChanged()));
connect(this, TQ_SIGNAL(executed(TQListViewItem*)), m_stack, TQ_SLOT(slotClicked(TQListViewItem*)));
connect(m_stack, TQ_SIGNAL(configChanged()), this, TQ_SLOT(slotConfigChanged()));
init();
}
@ -180,9 +180,9 @@ namespace KileWidget
m_root->setURL(m_docinfo->url());
m_root->setOpen(true);
m_root->setPixmap(0, SmallIcon("contents"));
connect(m_docinfo, TQT_SIGNAL(foundItem(const TQString&, uint, uint, int, int, uint, uint, const TQString &, const TQString &)),
this, TQT_SLOT(addItem(const TQString&, uint, uint, int, int, uint, uint, const TQString &, const TQString &)));
// connect(m_docinfo, TQT_SIGNAL(doneUpdating()), this, TQT_SLOT(insertInMasterList()));
connect(m_docinfo, TQ_SIGNAL(foundItem(const TQString&, uint, uint, int, int, uint, uint, const TQString &, const TQString &)),
this, TQ_SLOT(addItem(const TQString&, uint, uint, int, int, uint, uint, const TQString &, const TQString &)));
// connect(m_docinfo, TQ_SIGNAL(doneUpdating()), this, TQ_SLOT(insertInMasterList()));
}
m_parent[0]=m_parent[1]=m_parent[2]=m_parent[3]=m_parent[4]=m_parent[5]=m_parent[6]=m_root;
@ -797,7 +797,7 @@ namespace KileWidget
if ( m_popup->count() > 0 )
{
connect(m_popup,TQT_SIGNAL(activated(int)),this,TQT_SLOT(slotPopupActivated(int)));
connect(m_popup,TQ_SIGNAL(activated(int)),this,TQ_SLOT(slotPopupActivated(int)));
m_popup->exec(point);
}
}

@ -421,9 +421,9 @@ namespace KileTool
//lr->setParamDict(paramDict());
lr->setTool(this);
connect(lr, TQT_SIGNAL(message(int, const TQString &)), this, TQT_SLOT(sendMessage(int, const TQString &)));
connect(lr, TQT_SIGNAL(output(const TQString &)), this, TQT_SLOT(filterOutput(const TQString &)));
connect(lr, TQT_SIGNAL(done(int)), this, TQT_SLOT(finish(int)));
connect(lr, TQ_SIGNAL(message(int, const TQString &)), this, TQ_SLOT(sendMessage(int, const TQString &)));
connect(lr, TQ_SIGNAL(output(const TQString &)), this, TQ_SLOT(filterOutput(const TQString &)));
connect(lr, TQ_SIGNAL(done(int)), this, TQ_SLOT(finish(int)));
}
bool Base::installLauncher()

@ -65,18 +65,18 @@ namespace KileWidget
updateToollist();
// --->m_configWidget->m_lstbTools->setSelected(0, true);
m_configWidget->m_lstbTools->setSelected(indexQuickBuild(), true);
connect(m_configWidget->m_cbConfig, TQT_SIGNAL(activated(int)), this, TQT_SLOT(switchConfig(int)));
connect(m_configWidget->m_cbConfig, TQ_SIGNAL(activated(int)), this, TQ_SLOT(switchConfig(int)));
TQStringList lst; lst << i18n( "Quick" ) << i18n( "Compile" ) << i18n( "Convert" ) << i18n( "View" ) << i18n( "Other" );
m_configWidget->m_cbMenu->insertStringList(lst);
connect(m_configWidget->m_cbMenu, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(setMenu(const TQString &)));
connect(m_configWidget->m_pshbIcon, TQT_SIGNAL(clicked()), this, TQT_SLOT(selectIcon()));
connect(m_configWidget->m_cbMenu, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(setMenu(const TQString &)));
connect(m_configWidget->m_pshbIcon, TQ_SIGNAL(clicked()), this, TQ_SLOT(selectIcon()));
connect(m_configWidget->m_pshbRemoveTool, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeTool()));
connect(m_configWidget->m_pshbNewTool, TQT_SIGNAL(clicked()), this, TQT_SLOT(newTool()));
connect(m_configWidget->m_pshbRemoveConfig, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeConfig()));
connect(m_configWidget->m_pshbNewConfig, TQT_SIGNAL(clicked()), this, TQT_SLOT(newConfig()));
connect(m_configWidget->m_pshbDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(writeDefaults()));
connect(m_configWidget->m_pshbRemoveTool, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeTool()));
connect(m_configWidget->m_pshbNewTool, TQ_SIGNAL(clicked()), this, TQ_SLOT(newTool()));
connect(m_configWidget->m_pshbRemoveConfig, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeConfig()));
connect(m_configWidget->m_pshbNewConfig, TQ_SIGNAL(clicked()), this, TQ_SLOT(newConfig()));
connect(m_configWidget->m_pshbDefault, TQ_SIGNAL(clicked()), this, TQ_SLOT(writeDefaults()));
//--->m_current = m_configWidget->m_lstbTools->text(0);
m_current = m_configWidget->m_lstbTools->currentText();
@ -89,10 +89,10 @@ namespace KileWidget
switchConfig(cfg);
switchTo(m_current, false);
connect(m_configWidget->m_lstbTools, TQT_SIGNAL(highlighted(const TQString &)), this, TQT_SLOT(switchTo(const TQString &)));
connect(m_configWidget->m_lstbTools, TQ_SIGNAL(highlighted(const TQString &)), this, TQ_SLOT(switchTo(const TQString &)));
connect(this, TQT_SIGNAL(changed()), this, TQT_SLOT(updateAdvanced()));
connect(this, TQT_SIGNAL(changed()), this, TQT_SLOT(updateGeneral()));
connect(this, TQ_SIGNAL(changed()), this, TQ_SLOT(updateAdvanced()));
connect(this, TQ_SIGNAL(changed()), this, TQ_SLOT(updateGeneral()));
}
void ToolConfig::setupAdvanced()
@ -102,22 +102,22 @@ namespace KileWidget
m_configWidget->m_cbType->insertItem(i18n("Run Embedded in Kile"));
m_configWidget->m_cbType->insertItem(i18n("Use HTML Viewer"));
m_configWidget->m_cbType->insertItem(i18n("Run Sequence of Tools"));
connect(m_configWidget->m_cbType, TQT_SIGNAL(activated(int)), this, TQT_SLOT(switchType(int)));
connect(m_configWidget->m_ckClose, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setClose(bool)));
connect(m_configWidget->m_cbType, TQ_SIGNAL(activated(int)), this, TQ_SLOT(switchType(int)));
connect(m_configWidget->m_ckClose, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setClose(bool)));
m_classes << "Compile" << "Convert" << "Archive" << "View" << "Sequence" << "LaTeX" << "ViewHTML" << "ViewBib" << "ForwardDVI" << "Base";
m_configWidget->m_cbClass->insertStringList(m_classes);
connect(m_configWidget->m_cbClass, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(switchClass(const TQString &)));
connect(m_configWidget->m_cbClass, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(switchClass(const TQString &)));
connect(m_configWidget->m_leSource, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setFrom(const TQString &)));
connect(m_configWidget->m_leTarget, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setTo(const TQString &)));
connect(m_configWidget->m_leFile, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setTarget(const TQString &)));
connect(m_configWidget->m_leRelDir, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setRelDir(const TQString &)));
connect(m_configWidget->m_leSource, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setFrom(const TQString &)));
connect(m_configWidget->m_leTarget, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setTo(const TQString &)));
connect(m_configWidget->m_leFile, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setTarget(const TQString &)));
connect(m_configWidget->m_leRelDir, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setRelDir(const TQString &)));
m_configWidget->m_cbState->insertItem("Editor");
m_configWidget->m_cbState->insertItem("Viewer");
m_configWidget->m_cbState->insertItem("HTMLpreview");
connect(m_configWidget->m_cbState, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(setState(const TQString &)));
connect(m_configWidget->m_cbState, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(setState(const TQString &)));
}
void ToolConfig::updateAdvanced()
@ -155,18 +155,18 @@ namespace KileWidget
m_ptcw = new ProcessToolConfigWidget(m_configWidget->m_stackBasic);
m_configWidget->m_stackBasic->addWidget(m_ptcw, GBS_Process);
connect(m_ptcw->m_leCommand, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setCommand(const TQString &)));
connect(m_ptcw->m_leOptions, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setOptions(const TQString &)));
connect(m_ptcw->m_leCommand, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setCommand(const TQString &)));
connect(m_ptcw->m_leOptions, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setOptions(const TQString &)));
m_ltcw = new LibraryToolConfigWidget(m_configWidget->m_stackBasic);
m_configWidget->m_stackBasic->addWidget(m_ltcw, GBS_Library);
connect(m_ltcw->m_leLibrary, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setLibrary(const TQString &)));
connect(m_ltcw->m_leLibClass, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setClassName(const TQString &)));
connect(m_ltcw->m_leOptions, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(setLibOptions(const TQString &)));
connect(m_ltcw->m_leLibrary, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setLibrary(const TQString &)));
connect(m_ltcw->m_leLibClass, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setClassName(const TQString &)));
connect(m_ltcw->m_leOptions, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(setLibOptions(const TQString &)));
m_qtcw = new QuickToolConfigWidget(m_configWidget->m_stackBasic);
m_configWidget->m_stackBasic->addWidget(m_qtcw, GBS_Sequence);
connect(m_qtcw, TQT_SIGNAL(sequenceChanged(const TQString &)), this, TQT_SLOT(setSequence(const TQString &)));
connect(m_qtcw, TQ_SIGNAL(sequenceChanged(const TQString &)), this, TQ_SLOT(setSequence(const TQString &)));
m_configWidget->m_stackBasic->addWidget(new TQLabel(i18n("Unknown tool type; your configuration data is malformed.\nPerhaps it is a good idea to restore the default settings."), this), GBS_Error);
@ -174,13 +174,13 @@ namespace KileWidget
m_LaTeXtcw = new LaTeXToolConfigWidget(m_configWidget->m_stackExtra);
m_configWidget->m_stackExtra->addWidget(m_LaTeXtcw, GES_LaTeX);
connect(m_LaTeXtcw->m_ckRootDoc, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setLaTeXCheckRoot(bool)));
connect(m_LaTeXtcw->m_ckJump, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setLaTeXJump(bool)));
connect(m_LaTeXtcw->m_ckAutoRun, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setLaTeXAuto(bool)));
connect(m_LaTeXtcw->m_ckRootDoc, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setLaTeXCheckRoot(bool)));
connect(m_LaTeXtcw->m_ckJump, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setLaTeXJump(bool)));
connect(m_LaTeXtcw->m_ckAutoRun, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setLaTeXAuto(bool)));
// m_ViewBibtcw = new ViewBibToolConfigWidget(m_configWidget->m_stackExtra);
// m_configWidget->m_stackExtra->addWidget(m_ViewBibtcw, GES_ViewBib);
// connect(m_ViewBibtcw->m_ckRunLyxServer, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setRunLyxServer(bool)));
// connect(m_ViewBibtcw->m_ckRunLyxServer, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setRunLyxServer(bool)));
}
void ToolConfig::updateGeneral()

@ -114,8 +114,8 @@ namespace KileTool
m_nTimeout(to)
{
m_timer = new TQTimer(this);
connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(enableClear()));
connect(stop, TQT_SIGNAL(activated()), this, TQT_SLOT(stop()));
connect(m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(enableClear()));
connect(stop, TQ_SIGNAL(activated()), this, TQ_SLOT(stop()));
}
Manager::~Manager() {}
@ -242,11 +242,11 @@ namespace KileTool
tool->setInfo(m_ki);
tool->setConfig(m_config);
connect(tool, TQT_SIGNAL(message(int, const TQString &, const TQString &)), m_log, TQT_SLOT(printMsg(int, const TQString &, const TQString &)));
connect(tool, TQT_SIGNAL(output(const TQString &)), m_output, TQT_SLOT(receive(const TQString &)));
connect(tool, TQT_SIGNAL(done(Base*,int)), this, TQT_SLOT(done(Base*, int)));
connect(tool, TQT_SIGNAL(start(Base* )), this, TQT_SLOT(started(Base*)));
connect(tool, TQT_SIGNAL(requestSaveAll(bool, bool)), this, TQT_SIGNAL(requestSaveAll(bool, bool)));
connect(tool, TQ_SIGNAL(message(int, const TQString &, const TQString &)), m_log, TQ_SLOT(printMsg(int, const TQString &, const TQString &)));
connect(tool, TQ_SIGNAL(output(const TQString &)), m_output, TQ_SLOT(receive(const TQString &)));
connect(tool, TQ_SIGNAL(done(Base*,int)), this, TQ_SLOT(done(Base*, int)));
connect(tool, TQ_SIGNAL(start(Base* )), this, TQ_SLOT(started(Base*)));
connect(tool, TQ_SIGNAL(requestSaveAll(bool, bool)), this, TQ_SIGNAL(requestSaveAll(bool, bool)));
}
void Manager::started(Base *tool)
@ -258,7 +258,7 @@ namespace KileTool
{
if ( tool == m_queue.tool() ) m_queue.dequeue();
m_stop->setEnabled(false);
TQTimer::singleShot(100, this, TQT_SLOT(runNextInQueue()));
TQTimer::singleShot(100, this, TQ_SLOT(runNextInQueue()));
}
}

@ -75,13 +75,13 @@ void Manager::setClient(TQObject *receiver, KXMLGUIClient *client)
m_client = client;
if(NULL == m_client->actionCollection()->action("popup_pasteaslatex"))
new TDEAction(i18n("Paste as LaTe&X"), 0, this,
TQT_SLOT(pasteAsLaTeX()), m_client->actionCollection(), "popup_pasteaslatex");
TQ_SLOT(pasteAsLaTeX()), m_client->actionCollection(), "popup_pasteaslatex");
if(NULL == m_client->actionCollection()->action("popup_converttolatex"))
new TDEAction(i18n("Convert Selection to &LaTeX"), 0, this,
TQT_SLOT(convertSelectionToLaTeX()), m_client->actionCollection(), "popup_converttolatex");
TQ_SLOT(convertSelectionToLaTeX()), m_client->actionCollection(), "popup_converttolatex");
if(NULL == m_client->actionCollection()->action("popup_quickpreview"))
new TDEAction(i18n("&QuickPreview Selection"), 0, this,
TQT_SLOT(quickPreviewPopup()), m_client->actionCollection(), "popup_quickpreview");
TQ_SLOT(quickPreviewPopup()), m_client->actionCollection(), "popup_quickpreview");
}
void Manager::createTabs(TQWidget *parent)
@ -89,8 +89,8 @@ void Manager::createTabs(TQWidget *parent)
m_widgetStack = new TQWidgetStack(parent);
m_emptyDropWidget = new DropWidget(parent);
m_widgetStack->addWidget(m_emptyDropWidget);
connect(m_emptyDropWidget, TQT_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), this, TQT_SLOT(testCanDecodeURLs(const TQDragMoveEvent *, bool &)));
connect(m_emptyDropWidget, TQT_SIGNAL(receivedDropEvent(TQDropEvent *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
connect(m_emptyDropWidget, TQ_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), this, TQ_SLOT(testCanDecodeURLs(const TQDragMoveEvent *, bool &)));
connect(m_emptyDropWidget, TQ_SIGNAL(receivedDropEvent(TQDropEvent *)), m_ki->docManager(), TQ_SLOT(openDroppedURLs(TQDropEvent *)));
m_tabs = new KTabWidget(parent);
m_widgetStack->addWidget(m_tabs);
m_tabs->setFocusPolicy(TQWidget::ClickFocus);
@ -98,13 +98,13 @@ void Manager::createTabs(TQWidget *parent)
m_tabs->setHoverCloseButton(true);
m_tabs->setHoverCloseButtonDelayed(true);
m_tabs->setFocus();
connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(newCaption()) );
connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(activateView( TQWidget * )) );
connect( m_tabs, TQT_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQT_SLOT(updateModeStatus()) );
connect( m_tabs, TQT_SIGNAL( closeRequest(TQWidget *) ), this, TQT_SLOT(closeWidget(TQWidget *)));
connect( m_tabs, TQT_SIGNAL( testCanDecode( const TQDragMoveEvent *, bool & ) ), this, TQT_SLOT(testCanDecodeURLs( const TQDragMoveEvent *, bool & )) );
connect( m_tabs, TQT_SIGNAL( receivedDropEvent( TQDropEvent * ) ), m_ki->docManager(), TQT_SLOT(openDroppedURLs( TQDropEvent * )) );
connect( m_tabs, TQT_SIGNAL( receivedDropEvent( TQWidget*, TQDropEvent * ) ), this, TQT_SLOT(replaceLoadedURL( TQWidget *, TQDropEvent * )) );
connect( m_tabs, TQ_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQ_SLOT(newCaption()) );
connect( m_tabs, TQ_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQ_SLOT(activateView( TQWidget * )) );
connect( m_tabs, TQ_SIGNAL( currentChanged( TQWidget * ) ), m_receiver, TQ_SLOT(updateModeStatus()) );
connect( m_tabs, TQ_SIGNAL( closeRequest(TQWidget *) ), this, TQ_SLOT(closeWidget(TQWidget *)));
connect( m_tabs, TQ_SIGNAL( testCanDecode( const TQDragMoveEvent *, bool & ) ), this, TQ_SLOT(testCanDecodeURLs( const TQDragMoveEvent *, bool & )) );
connect( m_tabs, TQ_SIGNAL( receivedDropEvent( TQDropEvent * ) ), m_ki->docManager(), TQ_SLOT(openDroppedURLs( TQDropEvent * )) );
connect( m_tabs, TQ_SIGNAL( receivedDropEvent( TQWidget*, TQDropEvent * ) ), this, TQ_SLOT(replaceLoadedURL( TQWidget *, TQDropEvent * )) );
m_widgetStack->raiseWidget(m_emptyDropWidget); // there are no tabs, so show the DropWidget
}
@ -142,26 +142,26 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
m_tabs->showPage( view );
m_textViewList.insert((index < 0 || (uint)index >= m_textViewList.count()) ? m_textViewList.count() : index, view);
connect(view, TQT_SIGNAL(viewStatusMsg(const TQString&)), m_receiver, TQT_SLOT(newStatus(const TQString&)));
connect(view, TQT_SIGNAL(newStatus()), m_receiver, TQT_SLOT(newCaption()));
connect(view, TQT_SIGNAL(dropEventPass(TQDropEvent *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
connect(info, TQT_SIGNAL(urlChanged(KileDocument::Info*, const KURL&)), this, TQT_SLOT(urlChanged(KileDocument::Info*, const KURL&)));
connect(view, TQ_SIGNAL(viewStatusMsg(const TQString&)), m_receiver, TQ_SLOT(newStatus(const TQString&)));
connect(view, TQ_SIGNAL(newStatus()), m_receiver, TQ_SLOT(newCaption()));
connect(view, TQ_SIGNAL(dropEventPass(TQDropEvent *)), m_ki->docManager(), TQ_SLOT(openDroppedURLs(TQDropEvent *)));
connect(info, TQ_SIGNAL(urlChanged(KileDocument::Info*, const KURL&)), this, TQ_SLOT(urlChanged(KileDocument::Info*, const KURL&)));
connect( doc, TQT_SIGNAL(charactersInteractivelyInserted (int,int,const TQString&)), m_ki->editorExtension()->complete(), TQT_SLOT(slotCharactersInserted(int,int,const TQString&)) );
connect( view, TQT_SIGNAL(completionDone(KTextEditor::CompletionEntry)), m_ki->editorExtension()->complete(), TQT_SLOT( slotCompletionDone(KTextEditor::CompletionEntry)) );
connect( view, TQT_SIGNAL(completionAborted()), m_ki->editorExtension()->complete(), TQT_SLOT( slotCompletionAborted()) );
connect( view, TQT_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString *)), m_ki->editorExtension()->complete(), TQT_SLOT(slotFilterCompletion(KTextEditor::CompletionEntry*,TQString *)) );
connect( doc, TQ_SIGNAL(charactersInteractivelyInserted (int,int,const TQString&)), m_ki->editorExtension()->complete(), TQ_SLOT(slotCharactersInserted(int,int,const TQString&)) );
connect( view, TQ_SIGNAL(completionDone(KTextEditor::CompletionEntry)), m_ki->editorExtension()->complete(), TQ_SLOT( slotCompletionDone(KTextEditor::CompletionEntry)) );
connect( view, TQ_SIGNAL(completionAborted()), m_ki->editorExtension()->complete(), TQ_SLOT( slotCompletionAborted()) );
connect( view, TQ_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*,TQString *)), m_ki->editorExtension()->complete(), TQ_SLOT(slotFilterCompletion(KTextEditor::CompletionEntry*,TQString *)) );
// install a working kate part popup dialog thingy
TQPopupMenu *viewPopupMenu = (TQPopupMenu*)(m_client->factory()->container("tdetexteditor_popup", m_client));
if((NULL != view) && (NULL != viewPopupMenu))
view->installPopup(viewPopupMenu);
if(NULL != viewPopupMenu)
connect(viewPopupMenu, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(onKatePopupMenuRequest()));
connect(viewPopupMenu, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(onKatePopupMenuRequest()));
//activate the newly created view
emit(activateView(view, false));
TQTimer::singleShot(0, m_receiver, TQT_SLOT(newCaption())); //make sure the caption gets updated
TQTimer::singleShot(0, m_receiver, TQ_SLOT(newCaption())); //make sure the caption gets updated
reflectDocumentStatus(view->getDoc(), false, 0);
@ -176,15 +176,15 @@ Kate::View* Manager::createTextView(KileDocument::TextInfo *info, int index)
if ( action )
{
KILE_DEBUG() << " reconnect action 'file_save'..." << endl;
action->disconnect(TQT_SIGNAL(activated()));
connect(action, TQT_SIGNAL(activated()), m_ki->docManager(), TQT_SLOT(fileSave()));
action->disconnect(TQ_SIGNAL(activated()));
connect(action, TQ_SIGNAL(activated()), m_ki->docManager(), TQ_SLOT(fileSave()));
}
action = view->actionCollection()->action(KStdAction::stdName(KStdAction::SaveAs));
if ( action )
{
KILE_DEBUG() << " reconnect action 'file_save_as'..." << endl;
action->disconnect(TQT_SIGNAL(activated()));
connect(action, TQT_SIGNAL(activated()), m_ki->docManager(), TQT_SLOT(fileSaveAs()));
action->disconnect(TQ_SIGNAL(activated()));
connect(action, TQ_SIGNAL(activated()), m_ki->docManager(), TQ_SLOT(fileSaveAs()));
}
m_widgetStack->raiseWidget(m_tabs); // there is at least one tab, so show the KTabWidget now
@ -201,7 +201,7 @@ void Manager::removeView(Kate::View *view)
m_textViewList.remove(view);
delete view;
TQTimer::singleShot(0, m_receiver, TQT_SLOT(newCaption())); //make sure the caption gets updated
TQTimer::singleShot(0, m_receiver, TQ_SLOT(newCaption())); //make sure the caption gets updated
if (textViews().isEmpty()) {
m_ki->structureWidget()->clear();
m_widgetStack->raiseWidget(m_emptyDropWidget); // there are no tabs left, so show

@ -382,13 +382,13 @@ LatexCommandsDialog::LatexCommandsDialog(TDEConfig *config, KileDocument::LatexC
TQWhatsThis::add(m_btnDelete,i18n("Delete an user defined environment."));
TQWhatsThis::add(m_btnEdit,i18n("Edit an user defined environment."));
connect(m_tab,TQT_SIGNAL(currentChanged(TQWidget*)),this,TQT_SLOT(slotPageChanged(TQWidget*)));
connect(m_lvEnvironments, TQT_SIGNAL(selectionChanged()),this, TQT_SLOT(slotEnableButtons()));
connect(m_lvCommands, TQT_SIGNAL(selectionChanged()),this, TQT_SLOT(slotEnableButtons()));
connect(m_btnAdd, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotAddClicked()));
connect(m_btnDelete, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotDeleteClicked()));
connect(m_btnEdit, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotEditClicked()));
connect(m_cbUserDefined, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotUserDefinedClicked()));
connect(m_tab,TQ_SIGNAL(currentChanged(TQWidget*)),this,TQ_SLOT(slotPageChanged(TQWidget*)));
connect(m_lvEnvironments, TQ_SIGNAL(selectionChanged()),this, TQ_SLOT(slotEnableButtons()));
connect(m_lvCommands, TQ_SIGNAL(selectionChanged()),this, TQ_SLOT(slotEnableButtons()));
connect(m_btnAdd, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotAddClicked()));
connect(m_btnDelete, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotDeleteClicked()));
connect(m_btnEdit, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotEditClicked()));
connect(m_cbUserDefined, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotUserDefinedClicked()));
// read config and initialize changes (add, edit or delete an entry)
readConfig();

@ -98,7 +98,7 @@ ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateMana
TQHBoxLayout *controlLayout = new TQHBoxLayout(topLayout, spacingHint());
m_showAllTypesCheckBox = new TQCheckBox(i18n("Show all the templates"), page);
m_showAllTypesCheckBox->setChecked(false);
connect(m_showAllTypesCheckBox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(updateTemplateListView(bool)));
connect(m_showAllTypesCheckBox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(updateTemplateListView(bool)));
controlLayout->addWidget(m_showAllTypesCheckBox);
controlLayout->addStretch();
@ -106,14 +106,14 @@ ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateMana
KPushButton *clearSelectionButton = new KPushButton(page);
clearSelectionButton->setPixmap(SmallIcon("clear_left.png"));
TQToolTip::add(clearSelectionButton, i18n("Clear Selection"));
connect(clearSelectionButton, TQT_SIGNAL(clicked()),this, TQT_SLOT(clearSelection()));
connect(clearSelectionButton, TQ_SIGNAL(clicked()),this, TQ_SLOT(clearSelection()));
controlLayout->addWidget(clearSelectionButton);
topLayout->addWidget( new TQLabel(i18n("Select an existing template if you want to overwrite it with your new template.\nNote that you cannot overwrite templates marked with an asterisk:\nif you do select such a template, a new template with the same name\nwill be created in a location you have write access to."),page));
connect(m_templateList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotSelectedTemplate(TQListViewItem*)));
connect(iconbut, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotSelectIcon()));
connect(this, TQT_SIGNAL(aboutToClose()), this, TQT_SLOT(addTemplate()));
connect(m_templateList, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(slotSelectedTemplate(TQListViewItem*)));
connect(iconbut, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotSelectIcon()));
connect(this, TQ_SIGNAL(aboutToClose()), this, TQ_SLOT(addTemplate()));
}
// dialog to remove a template
@ -137,7 +137,7 @@ ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateMana
topLayout->addWidget(m_templateList);
topLayout->addWidget( new TQLabel(i18n("Please select the template that you want to remove.\nNote that you cannot delete templates marked with an asterisk (for which you lack the necessary deletion permissions)."),page));
connect(this, TQT_SIGNAL(aboutToClose()), this, TQT_SLOT(removeTemplate()));
connect(this, TQ_SIGNAL(aboutToClose()), this, TQ_SLOT(removeTemplate()));
}
ManageTemplatesDialog::~ManageTemplatesDialog(){

@ -119,8 +119,8 @@ MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *parent, TDEConfig *config
slotEnvironmentChanged( m_coEnvironment->currentItem() );
// signals and slots
connect(m_coEnvironment, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotEnvironmentChanged(int)));
connect(m_spCols, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSpinboxValueChanged(int)));
connect(m_coEnvironment, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotEnvironmentChanged(int)));
connect(m_spCols, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotSpinboxValueChanged(int)));
TQWhatsThis::add(m_coEnvironment,i18n("Choose an environment."));
TQWhatsThis::add(m_cbStarred,i18n("Use the starred version of this environment."));

@ -49,13 +49,13 @@ NewFileWizard::NewFileWizard(KileTemplate::Manager *templateManager, TQWidget *p
if ( h == -1 ) h = height();
m_newDocumentWidget = new NewDocumentWidget(this);
connect(m_newDocumentWidget->templateIconView, TQT_SIGNAL(doubleClicked(TQIconViewItem *)), TQT_SLOT(slotOk()));
connect(m_newDocumentWidget->templateIconView, TQ_SIGNAL(doubleClicked(TQIconViewItem *)), TQ_SLOT(slotOk()));
m_templateManager->scanForTemplates();
m_newDocumentWidget->templateIconView->setTemplateManager(m_templateManager);
m_newDocumentWidget->templateIconView->fillWithTemplates(KileDocument::LaTeX);
connect(m_newDocumentWidget->documentTypeComboBox, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotActivated(int)));
connect(m_newDocumentWidget->templateIconView, TQT_SIGNAL(classFileSearchFinished()), this, TQT_SLOT(restoreSelectedIcon()));
connect(m_newDocumentWidget->documentTypeComboBox, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotActivated(int)));
connect(m_newDocumentWidget->templateIconView, TQ_SIGNAL(classFileSearchFinished()), this, TQ_SLOT(restoreSelectedIcon()));
setMainWidget(m_newDocumentWidget);

@ -12,7 +12,7 @@ void NewToolWizard::init()
m_toolList = KileTool::toolList(TDEGlobal::config(), false);
//setup the Name page (page 0)
connect(m_leName, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(nameChanged(const TQString &)));
connect(m_leName, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(nameChanged(const TQString &)));
setNextEnabled(page(0), false);
setFinishEnabled(page(0), false);
setHelpEnabled(page(0), false);

@ -221,10 +221,10 @@ PostscriptDialog::PostscriptDialog(TQWidget *parent,
TQWhatsThis::add(m_cbView,i18n("View the result of the conversion process. KGhostview is always taken as an external viewer."));
// some connections
connect( choose_in, TQT_SIGNAL( clicked() ), this, TQT_SLOT( chooseInfile() ) );
connect( choose_out, TQT_SIGNAL( clicked() ), this, TQT_SLOT( chooseOutfile() ) );
connect( m_cbTask,TQT_SIGNAL( activated(int) ),this, TQT_SLOT( comboboxChanged(int) ) );
connect( this, TQT_SIGNAL(output(const TQString &)), m_output, TQT_SLOT(receive(const TQString &)) );
connect( choose_in, TQ_SIGNAL( clicked() ), this, TQ_SLOT( chooseInfile() ) );
connect( choose_out, TQ_SIGNAL( clicked() ), this, TQ_SLOT( chooseOutfile() ) );
connect( m_cbTask,TQ_SIGNAL( activated(int) ),this, TQ_SLOT( comboboxChanged(int) ) );
connect( this, TQ_SIGNAL(output(const TQString &)), m_output, TQ_SLOT(receive(const TQString &)) );
setFocusProxy( m_edInfile );
@ -275,12 +275,12 @@ void PostscriptDialog::execute()
m_proc->clearArguments();
(*m_proc) << TQStringList::split(' ',"sh " + m_tempfile);
connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess *,char *,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess *,char *,int)));
connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(processExited(TDEProcess *)),
this, TQT_SLOT(slotProcessExited(TDEProcess *)));
connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess *,char *,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess *,char *,int)));
connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(processExited(TDEProcess *)),
this, TQ_SLOT(slotProcessExited(TDEProcess *)));
KILE_DEBUG() << "=== PostscriptDialog::runPsutils() ====================" << endl;
KILE_DEBUG() << " execute '" << m_tempfile << "'" << endl;

@ -140,9 +140,9 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(TDEConfig *config, KileTool::Qu
vbox->addWidget(m_gbPreview);
vbox->addStretch();
connect(m_cbEnvironment,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateConversionTools()));
connect(m_cbSelection,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateConversionTools()));
connect(m_cbMathgroup,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateConversionTools()));
connect(m_cbEnvironment,TQ_SIGNAL(clicked()),this,TQ_SLOT(updateConversionTools()));
connect(m_cbSelection,TQ_SIGNAL(clicked()),this,TQ_SLOT(updateConversionTools()));
connect(m_cbMathgroup,TQ_SIGNAL(clicked()),this,TQ_SLOT(updateConversionTools()));
}
//////////////////// read/write configuration ////////////////////

@ -121,14 +121,14 @@ void PreviewWidget::showActivePreview(const TQString &text,const TQString &textf
// First, we have to disconnect the old done() signal, because this is
// passed immediately to the toolmanager, whichs destroys the tool. This
// means, that all connections, which are done later, will never been called.
disconnect(pngConverter, TQT_SIGNAL(done(Base*,int)), m_info->toolManager(), TQT_SLOT(done(Base*,int)));
disconnect(pngConverter, TQ_SIGNAL(done(Base*,int)), m_info->toolManager(), TQ_SLOT(done(Base*,int)));
// Now we make some new connections, which are called in this sequence:
// 1) when the tool is finished, the preview will be shown
// 2) then the done() signal can be passed to the toolmanager,
// which destroys the tool
connect(pngConverter, TQT_SIGNAL(done (Base*,int)), this, TQT_SLOT(drawImage()));
connect(pngConverter, TQT_SIGNAL(done(Base*,int)), m_info->toolManager(), TQT_SLOT(done(Base*,int)));
connect(pngConverter, TQ_SIGNAL(done (Base*,int)), this, TQ_SLOT(drawImage()));
connect(pngConverter, TQ_SIGNAL(done(Base*,int)), m_info->toolManager(), TQ_SLOT(done(Base*,int)));
// Finally we will send a signal, which will pass the focus from the log window
// to the formula preview (dvipng --> toolmanager --> kile)
@ -143,8 +143,8 @@ void PreviewWidget::showActivePreview(const TQString &text,const TQString &textf
// - we can distinguish between drawImage() and focusPreview(), which may be
// important some time
// - it is more complicated
connect(pngConverter, TQT_SIGNAL(destroyed()), m_info->toolManager(), TQT_SIGNAL(previewDone()));
connect(pngConverter, TQT_SIGNAL(destroyed()), this, TQT_SLOT(toolDestroyed()));
connect(pngConverter, TQ_SIGNAL(destroyed()), m_info->toolManager(), TQ_SIGNAL(previewDone()));
connect(pngConverter, TQ_SIGNAL(destroyed()), this, TQ_SLOT(toolDestroyed()));
// Now we are ready to start the process...
if ( m_info->toolManager()->run(pngConverter,toolcfg) == KileTool::Running )

@ -164,7 +164,7 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_cbDocumentClass->setDuplicatesEnabled(false);
// m_cbDocumentClass->listBox()->setVariableHeight(true);
gl->addWidget(m_cbDocumentClass,0,1);
connect(m_cbDocumentClass, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotDocumentClassChanged(int)));
connect(m_cbDocumentClass, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotDocumentClassChanged(int)));
label = new TQLabel(i18n("Doc&ument class:"), classOptions);
gl->addWidget(label,0,0);
@ -173,12 +173,12 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_btnDocumentClassAdd = new KPushButton(SmallIcon("edit_add"), "", classOptions);
TQWhatsThis::add(m_btnDocumentClassAdd, i18n("Add current text to this list"));
gl->addWidget(m_btnDocumentClassAdd,0,2);
connect(m_btnDocumentClassAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDocumentClassAdd()));
connect(m_btnDocumentClassAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDocumentClassAdd()));
m_btnDocumentClassDelete = new KPushButton(SmallIcon("eraser"), "", classOptions);
TQWhatsThis::add(m_btnDocumentClassDelete, i18n("Remove current element from this list"));
gl->addWidget(m_btnDocumentClassDelete,0,3);
connect(m_btnDocumentClassDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDocumentClassDelete()));
connect(m_btnDocumentClassDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDocumentClassDelete()));
// Fontsize
m_cbTypefaceSize = new KComboBox(classOptions);
@ -193,12 +193,12 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_btnTypefaceSizeAdd = new KPushButton(SmallIcon("edit_add"), "", classOptions);
TQWhatsThis::add(m_btnTypefaceSizeAdd, i18n("Add current text to this list"));
gl->addWidget(m_btnTypefaceSizeAdd,1,2);
connect(m_btnTypefaceSizeAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTypefaceSizeAdd()));
connect(m_btnTypefaceSizeAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotTypefaceSizeAdd()));
m_btnTypefaceSizeDelete = new KPushButton(SmallIcon("eraser"), "", classOptions);
TQWhatsThis::add(m_btnTypefaceSizeDelete, i18n("Remove current element from this list"));
gl->addWidget(m_btnTypefaceSizeDelete,1,3);
connect(m_btnTypefaceSizeDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotTypefaceSizeDelete()));
connect(m_btnTypefaceSizeDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotTypefaceSizeDelete()));
// Papersize
m_cbPaperSize = new KComboBox(classOptions);
@ -214,12 +214,12 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_btnPaperSizeAdd = new KPushButton(SmallIcon("edit_add"), "", classOptions);
TQWhatsThis::add(m_btnPaperSizeAdd, i18n("Add current text to this list"));
gl->addWidget(m_btnPaperSizeAdd,2,2);
connect(m_btnPaperSizeAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPaperSizeAdd()));
connect(m_btnPaperSizeAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPaperSizeAdd()));
m_btnPaperSizeDelete = new KPushButton(SmallIcon("eraser"), "", classOptions);
TQWhatsThis::add(m_btnPaperSizeDelete, i18n("Remove current element from this list"));
gl->addWidget(m_btnPaperSizeDelete,2,3);
connect(m_btnPaperSizeDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPaperSizeDelete()));
connect(m_btnPaperSizeDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPaperSizeDelete()));
// Encoding
m_cbEncoding = new KComboBox(classOptions);
@ -238,10 +238,10 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_lvClassOptions->addColumn(i18n("Description"));
m_lvClassOptions->setAllColumnsShowFocus(true);
gl->addMultiCellWidget(m_lvClassOptions, 4,4, 1,3);
connect(m_lvClassOptions, TQT_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotEnableButtons()));
connect(m_lvClassOptions, TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQT_SLOT(slotOptionDoubleClicked(TQListViewItem *,const TQPoint &,int)));
connect(m_lvClassOptions, TQ_SIGNAL(selectionChanged()),
this, TQ_SLOT(slotEnableButtons()));
connect(m_lvClassOptions, TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQ_SLOT(slotOptionDoubleClicked(TQListViewItem *,const TQPoint &,int)));
label = new TQLabel(i18n("Cl&ass options:"), classOptions);
label->setBuddy(m_lvClassOptions);
@ -258,17 +258,17 @@ TQWidget *QuickDocument::setupClassOptions(TQTabWidget *tab)
m_btnClassOptionsAdd = new KPushButton(SmallIcon("edit_add"), i18n("&Add..."), frame);
TQWhatsThis::add(m_btnClassOptionsAdd, i18n("Add a new class option"));
hl->addWidget(m_btnClassOptionsAdd);
connect(m_btnClassOptionsAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClassOptionAdd()));
connect(m_btnClassOptionsAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClassOptionAdd()));
m_btnClassOptionsEdit = new KPushButton(SmallIcon("edit"), i18n("Ed&it..."), frame);
TQWhatsThis::add(m_btnClassOptionsEdit, i18n("Edit the current class option"));
hl->addWidget(m_btnClassOptionsEdit);
connect(m_btnClassOptionsEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClassOptionEdit()));
connect(m_btnClassOptionsEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClassOptionEdit()));
m_btnClassOptionsDelete = new KPushButton(SmallIcon("eraser"), i18n("De&lete"), frame);
TQWhatsThis::add(m_btnClassOptionsDelete, i18n("Remove the current class option"));
hl->addWidget(m_btnClassOptionsDelete);
connect(m_btnClassOptionsDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClassOptionDelete()));
connect(m_btnClassOptionsDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotClassOptionDelete()));
return classOptions;
}
@ -290,14 +290,14 @@ TQWidget *QuickDocument::setupPackages(TQTabWidget *tab)
m_lvPackages->addColumn(i18n("Description"));
m_lvPackages->setAllColumnsShowFocus(true);
label->setBuddy(m_lvPackages);
connect(m_lvPackages, TQT_SIGNAL(clicked(TQListViewItem *)),
this, TQT_SLOT(slotCheckParent(TQListViewItem *)));
connect(m_lvPackages, TQT_SIGNAL(spacePressed(TQListViewItem *)),
this, TQT_SLOT(slotCheckParent(TQListViewItem *)));
connect(m_lvPackages, TQT_SIGNAL(selectionChanged()),
this, TQT_SLOT(slotEnableButtons()));
connect(m_lvPackages, TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQT_SLOT(slotPackageDoubleClicked(TQListViewItem *,const TQPoint &,int)));
connect(m_lvPackages, TQ_SIGNAL(clicked(TQListViewItem *)),
this, TQ_SLOT(slotCheckParent(TQListViewItem *)));
connect(m_lvPackages, TQ_SIGNAL(spacePressed(TQListViewItem *)),
this, TQ_SLOT(slotCheckParent(TQListViewItem *)));
connect(m_lvPackages, TQ_SIGNAL(selectionChanged()),
this, TQ_SLOT(slotEnableButtons()));
connect(m_lvPackages, TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQ_SLOT(slotPackageDoubleClicked(TQListViewItem *,const TQPoint &,int)));
TQWidget *frame = new TQWidget(packages);
vl->addWidget(frame);
@ -306,23 +306,23 @@ TQWidget *QuickDocument::setupPackages(TQTabWidget *tab)
m_btnPackagesAdd = new KPushButton(SmallIcon("edit_add"), "&Add Package...", frame);
TQWhatsThis::add(m_btnPackagesAdd, i18n("Add a new package"));
connect(m_btnPackagesAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPackageAdd()));
connect(m_btnPackagesAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPackageAdd()));
hl->addWidget(m_btnPackagesAdd);
m_btnPackagesAddOption = new KPushButton(SmallIcon("edit_add"), i18n("Add Op&tion..."), frame);
TQWhatsThis::add(m_btnPackagesAddOption, i18n("Add a new package option"));
connect(m_btnPackagesAddOption, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPackageAddOption()));
connect(m_btnPackagesAddOption, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPackageAddOption()));
hl->addWidget(m_btnPackagesAddOption);
m_btnPackagesEdit = new KPushButton(SmallIcon("edit"), "Ed&it...", frame);
TQWhatsThis::add(m_btnPackagesEdit, i18n("Edit the current package option"));
connect(m_btnPackagesEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPackageEdit()));
connect(m_btnPackagesEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPackageEdit()));
hl->addWidget(m_btnPackagesEdit);
m_btnPackagesDelete = new KPushButton(SmallIcon("eraser"), i18n("De&lete"), frame);
TQWhatsThis::add(m_btnPackagesDelete, i18n("Remove the current package option"));
connect(m_btnPackagesDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPackageDelete()));
connect(m_btnPackagesDelete, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPackageDelete()));
hl->addWidget(m_btnPackagesDelete);
m_btnPackagesReset = new KPushButton(SmallIcon("reload"), i18n("&Reset to Defaults"), frame);
TQWhatsThis::add(m_btnPackagesReset, i18n("Reset to the default list of packages"));
connect(m_btnPackagesReset, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPackageReset()));
connect(m_btnPackagesReset, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotPackageReset()));
hl->addWidget(m_btnPackagesReset);
hl->addStretch(1);

@ -273,7 +273,7 @@ bool QuickPreview::run(const TQString &text,const TQString &textfilename,int sta
if ( m_ki->toolManager()->run(latex) != KileTool::Running )
return false;
connect(latex, TQT_SIGNAL(destroyed()), this, TQT_SLOT(toolDestroyed()));
connect(latex, TQ_SIGNAL(destroyed()), this, TQ_SLOT(toolDestroyed()));
m_running++;
// dvips
@ -284,14 +284,14 @@ bool QuickPreview::run(const TQString &text,const TQString &textfilename,int sta
if ( m_ki->toolManager()->run(dvips,previewlist[pvDvipsCfg]) != KileTool::Running )
return false;
connect(dvips, TQT_SIGNAL(destroyed()), this, TQT_SLOT(toolDestroyed()));
connect(dvips, TQ_SIGNAL(destroyed()), this, TQ_SLOT(toolDestroyed()));
m_running++;
}
// viewer
if ( viewer )
{
connect(viewer, TQT_SIGNAL(destroyed()), this, TQT_SLOT(toolDestroyed()));
connect(viewer, TQ_SIGNAL(destroyed()), this, TQ_SLOT(toolDestroyed()));
viewer->setSource( filepath + previewlist[pvExtension] );
viewer->setQuickie();
if ( m_ki->toolManager()->run(viewer,previewlist[pvViewerCfg]) != KileTool::Running )

@ -15,7 +15,7 @@ void QuickToolConfigWidget::updateSequence(const TQString &sequence)
m_cbTools->insertStringList(toollist);
updateConfigs(m_cbTools->currentText());
connect(m_cbTools, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(updateConfigs(const TQString& )));
connect(m_cbTools, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(updateConfigs(const TQString& )));
m_sequence=sequence;
TQStringList list = TQStringList::split(",",sequence);

@ -55,9 +55,9 @@ void JScriptListViewItem::setText(int column, const TQString & str) {
TQString oldAssignedString = m_script->getKeySequence();
if(str.isEmpty()) {
// don't reload the list view here as this may cause a segfault (for example on x86_64)
TQObject::disconnect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQT_SLOT(updateListView()));
TQObject::disconnect(m_kileInfo->editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQ_SLOT(updateListView()));
m_kileInfo->scriptManager()->removeEditorKeySequence(m_script);
TQObject::connect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQT_SLOT(updateListView()));
TQObject::connect(m_kileInfo->editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQ_SLOT(updateListView()));
}
else if(str == oldAssignedString || (str.isEmpty() && oldAssignedString.isEmpty())) {
return;
@ -66,9 +66,9 @@ void JScriptListViewItem::setText(int column, const TQString & str) {
TQPair<int, TQString> pair = m_kileInfo->editorKeySequenceManager()->checkSequence(str, oldAssignedString);
if(pair.first == 0) {
// don't reload the list view here as this may cause a segfault (for example on x86_64)
TQObject::disconnect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQT_SLOT(updateListView()));
TQObject::disconnect(m_kileInfo->editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQ_SLOT(updateListView()));
m_kileInfo->scriptManager()->setEditorKeySequence(m_script, str);
TQObject::connect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQT_SLOT(updateListView()));
TQObject::connect(m_kileInfo->editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), m_managementWidget, TQ_SLOT(updateListView()));
return; // leaving !
}
KileEditorKeySequence::Action *action = m_kileInfo->editorKeySequenceManager()->getAction(pair.second);
@ -92,12 +92,12 @@ ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *parent, const
TQVBoxLayout *baseLayout = new TQVBoxLayout(this);
m_toolbar = new TDEToolBar(this, "scriptControlToolBar");
m_executeButton = m_toolbar->insertButton(BarIcon("application-x-executable"), 0, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(executeSelectedScript()), true, i18n("Run Selected Script"));
m_newButton = m_toolbar->insertButton(BarIcon("scriptnew"), 0, TQT_SIGNAL(clicked(int)), m_kileInfo->docManager(), TQT_SLOT(createNewJScript()), true, i18n("Create New Script"));
m_openButton = m_toolbar->insertButton(BarIcon("scriptopen"), 0, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(openSelectedScript()), true, i18n("Open Selected Script in Editor"));
// m_toolbar->insertButton(BarIcon("configure_shortcuts"), 0, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(configureSelectedShortcut()), true, i18n("Configure Shortcut"));
// m_toolbar->insertButton(BarIcon("edit-clear"), 1, TQT_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQT_SLOT(scanJScriptDirectories()), true, i18n("Refresh"));
m_refreshButton = m_toolbar->insertButton(BarIcon("reload"), 1, TQT_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQT_SLOT(scanJScriptDirectories()), true, i18n("Refresh List"));
m_executeButton = m_toolbar->insertButton(BarIcon("application-x-executable"), 0, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(executeSelectedScript()), true, i18n("Run Selected Script"));
m_newButton = m_toolbar->insertButton(BarIcon("scriptnew"), 0, TQ_SIGNAL(clicked(int)), m_kileInfo->docManager(), TQ_SLOT(createNewJScript()), true, i18n("Create New Script"));
m_openButton = m_toolbar->insertButton(BarIcon("scriptopen"), 0, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(openSelectedScript()), true, i18n("Open Selected Script in Editor"));
// m_toolbar->insertButton(BarIcon("configure_shortcuts"), 0, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(configureSelectedShortcut()), true, i18n("Configure Shortcut"));
// m_toolbar->insertButton(BarIcon("edit-clear"), 1, TQ_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQ_SLOT(scanJScriptDirectories()), true, i18n("Refresh"));
m_refreshButton = m_toolbar->insertButton(BarIcon("reload"), 1, TQ_SIGNAL(clicked(int)), m_kileInfo->scriptManager(), TQ_SLOT(scanJScriptDirectories()), true, i18n("Refresh List"));
baseLayout->addWidget(m_toolbar);
m_scriptsListView = new TDEListView(this);
@ -108,11 +108,11 @@ ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *parent, const
m_scriptsListView->setRenameable(0, false);
m_scriptsListView->setRenameable(1, true);
connect(m_kileInfo->scriptManager(), TQT_SIGNAL(jScriptsChanged()), this, TQT_SLOT(updateListView()));
connect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), this, TQT_SLOT(updateListView()));
// connect(m_scriptsListView, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT(executed(TQListViewItem*, const TQPoint&, int)));
// connect(m_scriptsListView, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)), this, TQT_SLOT(itemRenamed(TQListViewItem*, const TQString&, int)));
connect(m_scriptsListView, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(updateButtonPanel()));
connect(m_kileInfo->scriptManager(), TQ_SIGNAL(jScriptsChanged()), this, TQ_SLOT(updateListView()));
connect(m_kileInfo->editorKeySequenceManager(), TQ_SIGNAL(watchedKeySequencesChanged()), this, TQ_SLOT(updateListView()));
// connect(m_scriptsListView, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT(executed(TQListViewItem*, const TQPoint&, int)));
// connect(m_scriptsListView, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)), this, TQ_SLOT(itemRenamed(TQListViewItem*, const TQString&, int)));
connect(m_scriptsListView, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(updateButtonPanel()));
baseLayout->addWidget(m_scriptsListView);
updateButtonPanel();

@ -64,8 +64,8 @@ SymbolView::SymbolView(TQWidget *parent, int type, const char *name): TDEIconVie
setArrangement(LeftToRight);
setAcceptDrops(false);
initPage(type);
connect( this, TQT_SIGNAL( onItem( TQIconViewItem * ) ),TQT_SLOT( showToolTip( TQIconViewItem * ) ) );
connect( this, TQT_SIGNAL( onViewport() ),TQT_SLOT( removeToolTip() ) );
connect( this, TQ_SIGNAL( onItem( TQIconViewItem * ) ),TQ_SLOT( showToolTip( TQIconViewItem * ) ) );
connect( this, TQ_SIGNAL( onViewport() ),TQ_SLOT( removeToolTip() ) );
}
SymbolView::~SymbolView()

@ -431,15 +431,15 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
// signals and slots
connect(m_pbFrame1, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame2, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame3, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame4, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFramebuttonClicked()));
connect(this, TQT_SIGNAL(user1Clicked()),this, TQT_SLOT(slotResetClicked()));
connect(m_pbFrame1, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame2, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame3, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFramebuttonClicked()));
connect(m_pbFrame4, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFramebuttonClicked()));
connect(this, TQ_SIGNAL(user1Clicked()),this, TQ_SLOT(slotResetClicked()));
if ( m_header )
{
connect(m_cbAt, TQT_SIGNAL(clicked()),this, TQT_SLOT(slotSeparatorClicked()));
connect(m_cbSep,TQT_SIGNAL(clicked()),this, TQT_SLOT(slotSeparatorClicked()));
connect(m_cbAt, TQ_SIGNAL(clicked()),this, TQ_SLOT(slotSeparatorClicked()));
connect(m_cbSep,TQ_SIGNAL(clicked()),this, TQ_SLOT(slotSeparatorClicked()));
}
TQWhatsThis::add(m_coHeader,i18n("Column or cell alignment."));
@ -688,8 +688,8 @@ TabularTable::TabularTable(int numRows,int numCols,TQWidget* parent,TabularDialo
clearVerticalHeader(0,numRows);
// catch right mouse clicks in the table
connect( this, TQT_SIGNAL(contextMenuRequested(int,int,const TQPoint &)),
this, TQT_SLOT(slotContextMenuClicked(int,int,const TQPoint &)) );
connect( this, TQ_SIGNAL(contextMenuRequested(int,int,const TQPoint &)),
this, TQ_SLOT(slotContextMenuClicked(int,int,const TQPoint &)) );
// catch right mouse clicks in horizontal/vertical header
horizontalHeader()->installEventFilter(this);
@ -1223,7 +1223,7 @@ void TabularTable::slotContextMenuClicked(int row,int col,const TQPoint &)
insertPopupAlign(m_cellpopup,false);
insertPopupClear(m_cellpopup);
connect(m_cellpopup,TQT_SIGNAL(activated(int)),this,TQT_SLOT(slotCellPopupActivated(int)));
connect(m_cellpopup,TQ_SIGNAL(activated(int)),this,TQ_SLOT(slotCellPopupActivated(int)));
m_cellpopup->exec( TQCursor::pos() );
clearSelection();
}
@ -1403,7 +1403,7 @@ void TabularTable::setupContextHeaderPopup(bool horizontal, int section)
insertPopupAlign(m_headerpopup,m_horizontal);
insertPopupClear(m_headerpopup);
connect(m_headerpopup,TQT_SIGNAL(activated(int)),this,TQT_SLOT(slotHeaderPopupActivated(int)));
connect(m_headerpopup,TQ_SIGNAL(activated(int)),this,TQ_SLOT(slotHeaderPopupActivated(int)));
m_headerpopup->exec( TQCursor::pos() );
}
@ -1918,10 +1918,10 @@ TabularDialog::TabularDialog(TQWidget *parent, TDEConfig *config, KileDocument::
resize(sizeHint().width(),sizeHint().height()+50);
// signals and slots
connect( m_coEnvironment, TQT_SIGNAL(activated(const TQString &)),
this, TQT_SLOT(slotEnvironmentChanged(const TQString &)));
connect( m_spRows, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotRowValueChanged(int)));
connect( m_spCols, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotColValueChanged(int)));
connect( m_coEnvironment, TQ_SIGNAL(activated(const TQString &)),
this, TQ_SLOT(slotEnvironmentChanged(const TQString &)));
connect( m_spRows, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotRowValueChanged(int)));
connect( m_spCols, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotColValueChanged(int)));
TQWhatsThis::add(m_table,i18n("Input data. When you press Enter, the cursor will move to the cell right of the current cell. A click with the right mouse button on a cell or a range of cells will open a popup menu, where you can edit attributes, clear attributes, delete text or define multicolumn cells."));
TQWhatsThis::add(m_table->horizontalHeader(),i18n("Current layout of the preamble. A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected columns."));

@ -274,12 +274,12 @@ void TemplateIconView::searchLaTeXClassFiles()
(*m_proc) << TQStringList::split(' ', command);
m_output = TQString();
connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
KILE_DEBUG() << "=== NewFileWidget::searchClassFiles() ====================" << endl;
KILE_DEBUG() << "\texecute: " << command << endl;

@ -101,10 +101,10 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
m_texdocs->installEventFilter(this);
m_leKeywords->installEventFilter(this);
connect(m_texdocs, TQT_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQT_SLOT(slotListViewDoubleClicked(TQListViewItem *,const TQPoint &,int)));
connect(m_pbSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSearchClicked()));
connect(m_leKeywords, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotTextChanged(const TQString &)));
connect(m_texdocs, TQ_SIGNAL(doubleClicked(TQListViewItem *,const TQPoint &,int)),
this, TQ_SLOT(slotListViewDoubleClicked(TQListViewItem *,const TQPoint &,int)));
connect(m_pbSearch, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSearchClicked()));
connect(m_leKeywords, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotTextChanged(const TQString &)));
// kpsewhich --expand-path='$TEXMF'
//m_texmfPath = "/usr/local/share/texmf:/usr/local/lib/texmf:/var/lib/texmf:/usr/share/texmf";
@ -134,7 +134,7 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
h = 450;
resize(w,h);
connect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotInitToc()));
connect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotInitToc()));
executeScript(
"kpsewhich --progname=texdoctk --format='other text files' texdoctk.dat && "
"kpsewhich --expand-path='$TEXMF/doc' && "
@ -315,7 +315,7 @@ void TexDocDialog::decompressFile(const TQString &docfile,const TQString &comman
m_filename = m_tempfile->name();
KILE_DEBUG() << "\tdecompress file: " << command + " > " + m_tempfile->name() << endl;
connect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotShowFile()));
connect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotShowFile()));
executeScript(command + " > " + m_tempfile->name());
}
@ -537,12 +537,12 @@ void TexDocDialog::executeScript(const TQString &command)
(*m_proc) << TQStringList::split(' ',command);
m_output = TQString();
connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQT_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)),
this, TQ_SLOT(slotProcessOutput(TDEProcess*,char*,int)) );
connect(m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
KILE_DEBUG() << "=== TexDocDialog::runShellSkript() ====================" << endl;
KILE_DEBUG() << " execute: " << command << endl;
@ -573,7 +573,7 @@ void TexDocDialog::slotProcessExited(TDEProcess *proc)
void TexDocDialog::slotInitToc()
{
disconnect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotInitToc()));
disconnect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotInitToc()));
TQStringList results = TQStringList::split('\n',m_output,true);
if ( results.count() < 3 )
@ -602,7 +602,7 @@ void TexDocDialog::slotInitToc()
void TexDocDialog::slotShowFile()
{
disconnect(this, TQT_SIGNAL(processFinished()), this, TQT_SLOT(slotShowFile()));
disconnect(this, TQ_SIGNAL(processFinished()), this, TQ_SLOT(slotShowFile()));
showFile(m_filename);
}

@ -177,12 +177,12 @@ void UserHelp::setupUserHelpMenu()
{
TQString icon = ( http ) ? "viewhtml" : ext;
helpid = m_helppopup->insertItem( SmallIcon(icon),m_menuentries[i],
this,TQT_SLOT(slotUserHelpActivated(int)) );
this,TQ_SLOT(slotUserHelpActivated(int)) );
}
else
{
helpid = m_helppopup->insertItem( m_menuentries[i],
this,TQT_SLOT(slotUserHelpActivated(int)) );
this,TQ_SLOT(slotUserHelpActivated(int)) );
}
// send index of TQStringList as parameter, when the slot is activated

@ -116,12 +116,12 @@ UserHelpDialog::UserHelpDialog(TQWidget *parent, const char *name)
// fill vbox
vbox->addWidget(group);
connect( m_menulistbox, TQT_SIGNAL(highlighted(int)),this,TQT_SLOT(slotChange(int)));
connect( m_add, TQT_SIGNAL(clicked()), TQT_SLOT(slotAdd()) );
connect( m_remove, TQT_SIGNAL(clicked()), TQT_SLOT(slotRemove()) );
connect( m_addsep, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddSep()) );
connect( m_up, TQT_SIGNAL(clicked()), TQT_SLOT(slotUp()) );
connect( m_down, TQT_SIGNAL(clicked()), TQT_SLOT(slotDown()) );
connect( m_menulistbox, TQ_SIGNAL(highlighted(int)),this,TQ_SLOT(slotChange(int)));
connect( m_add, TQ_SIGNAL(clicked()), TQ_SLOT(slotAdd()) );
connect( m_remove, TQ_SIGNAL(clicked()), TQ_SLOT(slotRemove()) );
connect( m_addsep, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddSep()) );
connect( m_up, TQ_SIGNAL(clicked()), TQ_SLOT(slotUp()) );
connect( m_down, TQ_SIGNAL(clicked()), TQ_SLOT(slotDown()) );
resize(400,sizeHint().height());
updateButton();
@ -392,8 +392,8 @@ UserHelpAddDialog::UserHelpAddDialog(TDEListBox *menulistbox, TQWidget *parent,
TQWhatsThis::add(m_pbChooseFile,i18n("Start a file dialog to choose a local help file."));
TQWhatsThis::add(m_pbChooseHtml,i18n("Start the konqueror to choose a WEB url as help file. This url should be copied inzo the edit widget."));
connect( m_pbChooseFile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChooseFile() ) );
connect( m_pbChooseHtml, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChooseHtml() ) );
connect( m_pbChooseFile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChooseFile() ) );
connect( m_pbChooseHtml, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotChooseHtml() ) );
setFocusProxy( m_leMenuEntry );
resize(500,sizeHint().height());

@ -40,7 +40,7 @@ UserTags::UserTags(const TQValueList<KileAction::TagData> &list, TQWidget* paren
gbox->addRowSpacing( 0, fontMetrics().lineSpacing() );
m_combo=new TQComboBox(page,"combo");
connect(m_combo, TQT_SIGNAL(activated(int)),this,TQT_SLOT(change(int)));
connect(m_combo, TQ_SIGNAL(activated(int)),this,TQ_SLOT(change(int)));
m_labelName = new TQLabel( page, "label1" );
m_labelName->setText(i18n("Menu item:"));
@ -55,9 +55,9 @@ UserTags::UserTags(const TQValueList<KileAction::TagData> &list, TQWidget* paren
m_buttonInsert = new KPushButton(i18n("Insert"),page);
m_buttonRemove = new KPushButton(i18n("Remove"),page);
connect(m_buttonAdd, TQT_SIGNAL(clicked()) , this , TQT_SLOT(slotAdd()));
connect(m_buttonInsert, TQT_SIGNAL(clicked()) , this , TQT_SLOT(slotInsert()));
connect(m_buttonRemove, TQT_SIGNAL(clicked()) , this , TQT_SLOT(slotRemove()));
connect(m_buttonAdd, TQ_SIGNAL(clicked()) , this , TQ_SLOT(slotAdd()));
connect(m_buttonInsert, TQ_SIGNAL(clicked()) , this , TQ_SLOT(slotInsert()));
connect(m_buttonRemove, TQ_SIGNAL(clicked()) , this , TQ_SLOT(slotRemove()));
gbox->addMultiCellWidget(m_combo,0,0,0,2,0);
gbox->addMultiCellWidget(m_labelName,1,1,0,2,0);

Loading…
Cancel
Save