summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kile/configcheckerdlg.cpp2
-rw-r--r--src/kile/kile.cpp156
-rw-r--r--src/kile/kileabbrevview.cpp2
-rw-r--r--src/kile/kilegrepdialog.cpp2
-rw-r--r--src/kile/kileinfo.cpp8
-rw-r--r--src/kile/kilekonsolewidget.cpp2
-rw-r--r--src/kile/kilelauncher.cpp2
-rw-r--r--src/kile/kileprojectdlgs.cpp2
-rw-r--r--src/kile/kilestdactions.cpp418
-rw-r--r--src/kile/latexcmddialog.cpp2
-rw-r--r--src/kile/previewconfigwidget.cpp2
-rw-r--r--src/kile/scriptsmanagementwidget.cpp16
-rw-r--r--src/kile/templates.cpp2
13 files changed, 308 insertions, 308 deletions
diff --git a/src/kile/configcheckerdlg.cpp b/src/kile/configcheckerdlg.cpp
index 974f981..2286184 100644
--- a/src/kile/configcheckerdlg.cpp
+++ b/src/kile/configcheckerdlg.cpp
@@ -105,7 +105,7 @@ TDEListBox* ConfigChecker::listBox()
void ConfigChecker::run()
{
- m_tester = new Tester(TQT_TQOBJECT(this), "configtester");
+ 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)));
diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp
index 3480a3e..22d8236 100644
--- a/src/kile/kile.cpp
+++ b/src/kile/kile.cpp
@@ -96,7 +96,7 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
readUserSettings();
readRecentFileSettings();
- m_jScriptManager = new KileJScript::Manager(this, m_config, actionCollection(), TQT_TQOBJECT(parent), "KileJScript::Manager");
+ m_jScriptManager = new KileJScript::Manager(this, m_config, actionCollection(), parent, "KileJScript::Manager");
setStandardToolBarMenuEnabled(true);
@@ -111,11 +111,11 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_help = new KileHelp::Help(m_edit);
m_partManager = new KParts::PartManager( this );
m_eventFilter = new KileEventFilter(m_edit);
- m_errorHandler = new KileErrorHandler(TQT_TQOBJECT(this), this);
+ m_errorHandler = new KileErrorHandler(this, this);
m_quickPreview = new KileTool::QuickPreview(this);
m_extensions = new KileDocument::Extensions();
- connect( m_partManager, TQT_SIGNAL( activePartChanged( KParts::Part * ) ), TQT_TQOBJECT(this), TQT_SLOT(activePartGUI ( KParts::Part * ) ) );
+ connect( m_partManager, TQT_SIGNAL( activePartChanged( KParts::Part * ) ), this, TQT_SLOT(activePartGUI ( KParts::Part * ) ) );
connect(this,TQT_SIGNAL(configChanged()), m_eventFilter, TQT_SLOT(readConfig()));
readGUISettings();
@@ -129,7 +129,7 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
m_currentState = m_wantState = "Editor";
m_bWatchFile = m_logPresent = false;
- viewManager()->setClient(TQT_TQOBJECT(this), this);
+ viewManager()->setClient(this, this);
setupStatusBar();
@@ -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)), TQT_TQOBJECT(this), TQT_SLOT(activateView(TQWidget*, bool)));
- connect(viewManager(), TQT_SIGNAL(prepareForPart(const TQString& )), TQT_TQOBJECT(this), TQT_SLOT(prepareForPart(const TQString& )));
- connect(viewManager(), TQT_SIGNAL(startQuickPreview(int)), TQT_TQOBJECT(this), TQT_SLOT(slotQuickPreview(int)) );
+ 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)) );
setupBottomBar();
setupGraphicTools();
@@ -172,22 +172,22 @@ 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 &)), TQT_TQOBJECT(this), TQT_SLOT(insertTag(const KileAction::TagData &)));
+ connect(m_lyxserver, TQT_SIGNAL(insert(const KileAction::TagData &)), this, TQT_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 &)), TQT_TQOBJECT(this), TQT_SLOT(prepareForPart(const TQString &)));
+ 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()), TQT_TQOBJECT(this), TQT_SLOT(focusPreview()));
+ connect(m_manager, TQT_SIGNAL(previewDone()), this, TQT_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()), TQT_TQOBJECT(this), TQT_SLOT(updateModeStatus()));
+ 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* )));
@@ -283,7 +283,7 @@ void Kile::setupProjectView()
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&)), TQT_TQOBJECT(this), TQT_SLOT(runArchiveTool(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 &)));
@@ -305,11 +305,11 @@ 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(TQT_TQOBJECT(this), TQT_SIGNAL(configChanged()), m_kwStructure, TQT_SIGNAL(configChanged()));
- connect(m_kwStructure, TQT_SIGNAL(setCursor(const KURL &,int,int)), TQT_TQOBJECT(this), TQT_SLOT(setCursor(const KURL &,int,int)));
+ 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 &)), TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString &)));
+ 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)));
}
@@ -358,57 +358,57 @@ void Kile::setupSymbolViews()
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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& ,const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString&, const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString&, const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString&, const TQStringList&)));
+ this, TQT_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&)),
- TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString&, const TQStringList& )));
+ this, TQT_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& )), TQT_TQOBJECT(this), TQT_SLOT(insertText(const TQString& )));
+ connect(m_kileAbbrevView, TQT_SIGNAL(sendText(const TQString& )), this, TQT_SLOT(insertText(const TQString& )));
}
void Kile::setupBottomBar()
@@ -431,7 +431,7 @@ void Kile::setupBottomBar()
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& )), TQT_TQOBJECT(this), TQT_SLOT(setLine(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 &)));
m_logWidget->setFocusPolicy(TQWidget::ClickFocus);
@@ -505,17 +505,17 @@ void Kile::setupActions()
(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, TQT_TQOBJECT(this), TQT_SLOT(showDocInfo()), actionCollection(), "Statistics" );
- (void) new TDEAction(i18n("&ASCII"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToASCII()), actionCollection(), "file_export_ascii" );
- (void) new TDEAction(i18n("Latin-&1 (iso 8859-1)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin1" );
- (void) new TDEAction(i18n("Latin-&2 (iso 8859-2)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin2" );
- (void) new TDEAction(i18n("Latin-&3 (iso 8859-3)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin3" );
- (void) new TDEAction(i18n("Latin-&4 (iso 8859-4)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin4" );
- (void) new TDEAction(i18n("Latin-&5 (iso 8859-5)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin5" );
- (void) new TDEAction(i18n("Latin-&9 (iso 8859-9)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_latin9" );
- (void) new TDEAction(i18n("&Central European (cp-1250)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_cp1250" );
- (void) new TDEAction(i18n("&Western European (cp-1252)"), 0, TQT_TQOBJECT(this), TQT_SLOT(convertToEnc()), actionCollection(), "file_export_cp1252" );
- (void) KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection(),"file_quit" );
+ (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" );
@@ -523,9 +523,9 @@ void Kile::setupActions()
(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, TQT_TQOBJECT(this), TQT_SLOT(findInFiles()), actionCollection(),"FindInFiles" );
+ (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, TQT_TQOBJECT(this), TQT_SLOT(refreshStructure()), actionCollection(),"RefreshStructure" );
+ (void) new TDEAction(i18n("Refresh Str&ucture"), "refreshstructure", Key_F12, this, TQT_SLOT(refreshStructure()), actionCollection(),"RefreshStructure" );
//project actions
(void) new TDEAction(i18n("&New Project..."), "window-new", 0, docManager(), TQT_SLOT(projectNew()), actionCollection(), "project_new");
@@ -537,7 +537,7 @@ void Kile::setupActions()
(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, TQT_TQOBJECT(this), TQT_SLOT(runArchiveTool()), actionCollection(), "project_archive");
+ (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");
@@ -547,10 +547,10 @@ void Kile::setupActions()
(void) new TDEAction(i18n("Show Project &Files..."),"project_show", 0, docManager(), TQT_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, TQT_TQOBJECT(this), TQT_SLOT(findInProjects()), actionCollection(),"project_findfiles" );
+ (void) new TDEAction(i18n("Find in &Project..."), "projectgrep", 0, this, TQT_SLOT(findInProjects()), actionCollection(),"project_findfiles" );
//build actions
- (void) new TDEAction(i18n("Clean"),"trashcan_full",0 , TQT_TQOBJECT(this), TQT_SLOT(cleanAll()), actionCollection(),"CleanAll" );
+ (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" );
@@ -561,13 +561,13 @@ void Kile::setupActions()
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 , TQT_TQOBJECT(this), TQT_SLOT(showEditorWidget()), actionCollection(),"EditorView" );
+ (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, TQT_TQOBJECT(this), TQT_SLOT(focusLog()), actionCollection(), "focus_log");
- (void) new TDEAction(i18n("Focus Output View"), CTRL+ALT+Key_O, TQT_TQOBJECT(this), TQT_SLOT(focusOutput()), actionCollection(), "focus_output");
- (void) new TDEAction(i18n("Focus Konsole View"), CTRL+ALT+Key_K, TQT_TQOBJECT(this), TQT_SLOT(focusKonsole()), actionCollection(), "focus_konsole");
- (void) new TDEAction(i18n("Focus Editor View"), CTRL+ALT+Key_E, TQT_TQOBJECT(this), TQT_SLOT(focusEditor()), actionCollection(), "focus_editor");
+ (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");
// CodeCompletion (dani)
(void) new TDEAction(i18n("(La)TeX Command"),"complete1",CTRL+Key_Space, m_edit, TQT_SLOT(completeWord()), actionCollection(), "edit_complete_word");
@@ -607,44 +607,44 @@ void Kile::setupActions()
(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"), TQT_TQOBJECT(this), TQT_SLOT(quickPreviewSelection()), actionCollection(),"quickpreview_selection" );
- (void) new TDEAction(i18n("Environment"),"preview_env",TDEShortcut("CTRL+Alt+P,E"), TQT_TQOBJECT(this), TQT_SLOT(quickPreviewEnvironment()), actionCollection(),"quickpreview_environment" );
- (void) new TDEAction(i18n("Subdocument"),"preview_subdoc",TDEShortcut("CTRL+Alt+P,D"), TQT_TQOBJECT(this), TQT_SLOT(quickPreviewSubdocument()), actionCollection(),"quickpreview_subdocument" );
- (void) new TDEAction (i18n ("Mathgroup"), "edu_mathematics", TDEShortcut("CTRL+Alt+P,M"), TQT_TQOBJECT(this), TQT_SLOT(quickPreviewMathgroup()), actionCollection(), "quickpreview_math");
+ (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");
KileStdActions::setupStdTags(this,this);
KileStdActions::setupMathTags(this);
KileStdActions::setupBibTags(this);
- (void) new TDEAction(i18n("Quick Start"),"quickwizard",0 , TQT_TQOBJECT(this), TQT_SLOT(quickDocument()), actionCollection(),"wizard_document" );
- connect(docManager(), TQT_SIGNAL(startWizard()), TQT_TQOBJECT(this), TQT_SLOT(quickDocument()));
- (void) new TDEAction(i18n("Tabular"),"wizard_tabular",0 , TQT_TQOBJECT(this), TQT_SLOT(quickTabular()), actionCollection(),"wizard_tabular" );
- (void) new TDEAction(i18n("Array"),"wizard_array",0 , TQT_TQOBJECT(this), TQT_SLOT(quickArray()), actionCollection(),"wizard_array" );
- (void) new TDEAction(i18n("Tabbing"),"wizard_tabbing",0 , TQT_TQOBJECT(this), TQT_SLOT(quickTabbing()), actionCollection(),"wizard_tabbing" );
- (void) new TDEAction(i18n("Floats"),"wizard_float",0, TQT_TQOBJECT(this), TQT_SLOT(quickFloat()), actionCollection(),"wizard_float" );
- (void) new TDEAction(i18n("Math"),"wizard_math",0, TQT_TQOBJECT(this), TQT_SLOT(quickMathenv()), actionCollection(),"wizard_mathenv" );
- (void) new TDEAction(i18n("Postscript Tools"),"wizard_pstools",0 , TQT_TQOBJECT(this), TQT_SLOT(quickPostscript()), actionCollection(),"wizard_postscript" );
+ (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("Clean"),0 , TQT_TQOBJECT(this), TQT_SLOT(cleanBib()), actionCollection(),"CleanBib" );
+ (void) new TDEAction(i18n("Clean"),0 , this, TQT_SLOT(cleanBib()), actionCollection(),"CleanBib" );
- ModeAction=new TDEToggleAction(i18n("Define Current Document as '&Master Document'"),"master",0 , TQT_TQOBJECT(this), TQT_SLOT(toggleMode()), actionCollection(),"Mode" );
+ ModeAction=new TDEToggleAction(i18n("Define Current Document as '&Master Document'"),"master",0 , this, TQT_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 )), TQT_TQOBJECT(this), TQT_SLOT(sideOrBottomBarChanged(bool)));
+ connect(m_sideBar, TQT_SIGNAL(visibilityChanged(bool )), this, TQT_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 )), TQT_TQOBJECT(this), TQT_SLOT(sideOrBottomBarChanged(bool)));
+ connect(m_bottomBar, TQT_SIGNAL(visibilityChanged(bool )), this, TQT_SLOT(sideOrBottomBarChanged(bool)));
if (m_singlemode) {ModeAction->setChecked(false);}
else {ModeAction->setChecked(true);}
- WatchFileAction=new TDEToggleAction(i18n("Watch File Mode"),"watchfile",0 , TQT_TQOBJECT(this), TQT_SLOT(toggleWatchFile()), actionCollection(), "WatchFile");
+ WatchFileAction=new TDEToggleAction(i18n("Watch File Mode"),"watchfile",0 , this, TQT_SLOT(toggleWatchFile()), actionCollection(), "WatchFile");
if (m_bWatchFile) {WatchFileAction->setChecked(true);}
else {WatchFileAction->setChecked(false);}
@@ -652,7 +652,7 @@ void Kile::setupActions()
const TDEAboutData *aboutData = TDEGlobal::instance()->aboutData();
KHelpMenu *help_menu = new KHelpMenu( this, aboutData);
- KStdAction::tipOfDay(TQT_TQOBJECT(this), TQT_SLOT(showTip()), actionCollection(), "help_tipofday");
+ 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");
@@ -662,17 +662,17 @@ void Kile::setupActions()
(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 , TQT_TQOBJECT(this), TQT_SLOT(helpLaTex()), actionCollection(),"help_latex_reference" );
+ (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(TQT_TQOBJECT(this), TQT_SLOT(generalOptions()), actionCollection(),"settings_configure" );
+ TDEAction *kileconfig = KStdAction::preferences(this, TQT_SLOT(generalOptions()), actionCollection(),"settings_configure" );
kileconfig->setIcon("configure_kile");
- (void) KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(configureKeys()), actionCollection(),"settings_keys" );
- (void) KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureToolbars()), actionCollection(),"settings_toolbars" );
- new TDEAction(i18n("&System Check..."), 0, TQT_TQOBJECT(this), TQT_SLOT(slotPerformCheck()), actionCollection(), "settings_perform_check");
+ (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");
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(TQT_TQOBJECT(this), TQT_SLOT(slotToggleFullScreen()), actionCollection(), this);
+ m_pFullScreen = KStdAction::fullScreen(this, TQT_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(), TQT_TQOBJECT(this), TQT_SLOT(runTool()), actionCollection(), TQString("tool_"+tools[i]).ascii());
+ TDEAction *act = new TDEAction(tools[i], KileTool::iconFor(tools[i], m_config), TDEShortcut(), this, TQT_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 , TQT_TQOBJECT(this), TQT_SLOT(editUserMenu()), m_menuUserTags,"EditUserMenu" );
+ m_actionEditTag = new TDEAction(i18n("Edit User Tags..."),0 , this, TQT_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, TQT_TQOBJECT(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, TQT_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);
}
@@ -1165,7 +1165,7 @@ void Kile::findInFiles()
dlg = new KileGrepDialog(0L,this,KileGrep::Directory);
dlg->show();
connect(dlg, TQT_SIGNAL(itemSelected(const TQString &, int)),
- TQT_TQOBJECT(this), TQT_SLOT(grepItemSelected(const TQString &, int)));
+ this, TQT_SLOT(grepItemSelected(const TQString &, int)));
}
else
{
@@ -1185,7 +1185,7 @@ void Kile::findInProjects()
project_dlg = new KileGrepDialog(0L,this,KileGrep::Project);
project_dlg->show();
connect(project_dlg, TQT_SIGNAL(itemSelected(const TQString &, int)),
- TQT_TQOBJECT(this), TQT_SLOT(grepItemSelected(const TQString &, int)));
+ this, TQT_SLOT(grepItemSelected(const TQString &, int)));
}
else
{
diff --git a/src/kile/kileabbrevview.cpp b/src/kile/kileabbrevview.cpp
index 6a0d185..0bf74a4 100644
--- a/src/kile/kileabbrevview.cpp
+++ b/src/kile/kileabbrevview.cpp
@@ -266,7 +266,7 @@ KileAbbrevInputDialog::KileAbbrevInputDialog(KileAbbrevView *listview, TDEListVi
expansion->setBuddy(m_leExpansion);
TQRegExp reg("[a-zA-Z0-9]+");
- TQRegExpValidator *abbrevValidator = new TQRegExpValidator(reg,TQT_TQOBJECT(this));
+ TQRegExpValidator *abbrevValidator = new TQRegExpValidator(reg,this);
m_leAbbrev->setValidator(abbrevValidator);
connect(m_leAbbrev,TQT_SIGNAL(textChanged(const TQString &)),
diff --git a/src/kile/kilegrepdialog.cpp b/src/kile/kilegrepdialog.cpp
index 6d9e159..cd72f89 100644
--- a/src/kile/kilegrepdialog.cpp
+++ b/src/kile/kilegrepdialog.cpp
@@ -175,7 +175,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
filter_combo = new KComboBox(true, filtergroup);
filter_combo->setMinimumSize(filter_combo->sizeHint());
- files_label->setBuddy(TQT_TQWIDGET(filter_combo->focusProxy()));
+ files_label->setBuddy(filter_combo->focusProxy());
TQLabel *dir_label = new TQLabel(i18n("Directory:"), filtergroup);
if ( dir_label->sizeHint().width() > labelwidth )
diff --git a/src/kile/kileinfo.cpp b/src/kile/kileinfo.cpp
index 4b80cfa..1f53839 100644
--- a/src/kile/kileinfo.cpp
+++ b/src/kile/kileinfo.cpp
@@ -50,10 +50,10 @@ KileInfo::KileInfo(TQWidget *parent) :
m_parentWidget(parent),
m_currentTarget(TQString())
{
- m_docManager = new KileDocument::Manager(this, TQT_TQOBJECT(parent), "KileDocument::Manager");
- m_viewManager= new KileView::Manager(this, TQT_TQOBJECT(parent), "KileView::Manager");
- m_templateManager = new KileTemplate::Manager(this, TQT_TQOBJECT(parent), "KileTemplate::Manager");
- m_editorKeySequenceManager = new KileEditorKeySequence::Manager(this, TQT_TQOBJECT(parent), "KileEditorKeySequence::Manager");
+ m_docManager = new KileDocument::Manager(this, parent, "KileDocument::Manager");
+ 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)));
}
diff --git a/src/kile/kilekonsolewidget.cpp b/src/kile/kilekonsolewidget.cpp
index a68cecd..618616c 100644
--- a/src/kile/kilekonsolewidget.cpp
+++ b/src/kile/kilekonsolewidget.cpp
@@ -47,7 +47,7 @@ namespace KileWidget
KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
if (!factory) return;
- m_part = (KParts::ReadOnlyPart *) factory->create(TQT_TQOBJECT(this));
+ m_part = (KParts::ReadOnlyPart *) factory->create(this);
if (!m_part) return;
diff --git a/src/kile/kilelauncher.cpp b/src/kile/kilelauncher.cpp
index a512bb3..fb2dbde 100644
--- a/src/kile/kilelauncher.cpp
+++ b/src/kile/kilelauncher.cpp
@@ -289,7 +289,7 @@
TQWidgetStack *stack = tool()->manager()->widgetStack();
KParts::PartManager *pm = tool()->manager()->partManager();
- m_part = (KParts::ReadOnlyPart *)factory->create(TQT_TQOBJECT(stack), m_libName, m_className, m_options);
+ m_part = (KParts::ReadOnlyPart *)factory->create(stack, m_libName, m_className, m_options);
if (m_part == 0)
{
diff --git a/src/kile/kileprojectdlgs.cpp b/src/kile/kileprojectdlgs.cpp
index d4dbe7f..be15635 100644
--- a/src/kile/kileprojectdlgs.cpp
+++ b/src/kile/kileprojectdlgs.cpp
@@ -83,7 +83,7 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex
m_extensions = new KLineEdit(m_egroup, "le_ext");
TQRegExp reg("[\\. a-zA-Z0-9]+");
- TQRegExpValidator *extValidator = new TQRegExpValidator(reg,TQT_TQOBJECT(m_egroup));
+ TQRegExpValidator *extValidator = new TQRegExpValidator(reg,m_egroup);
m_extensions->setValidator(extValidator);
m_sel_extensions = new KComboBox(false, m_egroup, "le_sel_ext");
diff --git a/src/kile/kilestdactions.cpp b/src/kile/kilestdactions.cpp
index b51ea63..50d4551 100644
--- a/src/kile/kilestdactions.cpp
+++ b/src/kile/kilestdactions.cpp
@@ -32,116 +32,116 @@ namespace KileStdActions
void setupStdTags(KileInfo *ki, TDEMainWindow *parent)
{
- (void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "tag_documentclass",
+ (void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,parent, TQT_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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_usepackage",
+ (void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, parent, TQT_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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Center - \\begin{center}"),"text_center",0, TQT_TQOBJECT(parent),
+ (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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_table","\\begin{table}\n","%E\n\\caption{}\n\\end{table} ",0,1,
+ (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,
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, TQT_TQOBJECT(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, TQT_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, TQT_TQOBJECT(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, TQT_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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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."));
// includegraphics (dani)
- (void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", TDEShortcut("Alt+I,G"),TQT_TQOBJECT(parent), TQT_SLOT(includeGraphics()), parent->actionCollection(),"tag_includegraphics",0L);
+ (void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", TDEShortcut("Alt+I,G"),parent, TQT_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"), TQT_TQOBJECT(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"), TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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"));
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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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")));
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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{tiny}","\\end{tiny}",12,0));
- alist.append(new KileAction::Tag(i18n("scriptsize"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{scriptsize}","\\end{scriptsize}",18,0));
- alist.append(new KileAction::Tag(i18n("footnotesize"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{footnotesize}","\\end{footnotesize}",20,0));
- alist.append(new KileAction::Tag(i18n("small"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{small}","\\end{small}",13,0));
- alist.append(new KileAction::Tag(i18n("normalsize"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{normalsize}","\\end{normalsize}",18,0));
- alist.append(new KileAction::Tag(i18n("large"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{large}","\\end{large}",13,0));
- alist.append(new KileAction::Tag(i18n("Large"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{Large}","\\end{Large}",13,0));
- alist.append(new KileAction::Tag(i18n("LARGE"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\begin{LARGE}","\\end{LARGE}",13,0));
- alist.append(new KileAction::Tag(i18n("huge"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{huge}","\\end{huge}", 12,0));
- alist.append(new KileAction::Tag(i18n("Huge"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "","\\begin{Huge}","\\end{Huge}", 12,0));
+ 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));
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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_label", "\\label{","} ",7,0,i18n("\\label{key}")));
- alist.append(new KileAction::Tag("index", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_index","\\index{","}",7,0,i18n( "\\index{word}")));
- alist.append(new KileAction::Tag("footnote",0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(parent), TQT_SLOT(citeViewBib()), parent->actionCollection(),"citeViewBib" ));
+ 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" ));
actionother_list->setItems(alist);
- (void) new KileAction::Tag(i18n("Underline - \\underline{}"),"format-text-underline",0 , TQT_TQOBJECT(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, TQT_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");
@@ -151,223 +151,223 @@ void setupStdTags(KileInfo *ki, TDEMainWindow *parent)
TDEActionCollection* ac = parent->actionCollection();
// environments
- (void) new KileAction::Tag(i18n("Abstract - \\begin{abstract}"),0, TQT_TQOBJECT(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, 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("Tabular* - \\begin{tabular*}",0, TQT_TQOBJECT(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, 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(i18n("Minipage - \\begin{minipage}"),"minipage",0, TQT_TQOBJECT(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, 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."));
// lists
- (void) new KileAction::Tag(i18n("Table of Figures - \\listoffigures"),0, TQT_TQOBJECT(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, 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 Tables - \\listoftables"),0, TQT_TQOBJECT(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, 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("Generate Index - \\makeindex"),0, TQT_TQOBJECT(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, 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("Print Index - \\printindex"),0, TQT_TQOBJECT(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, 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("Glossary - \\makeglossary"),0, TQT_TQOBJECT(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, 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("Bibliography - \\begin{thebibliography}",0, TQT_TQOBJECT(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, 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"));
// verbatim code
- (void) new KileAction::Tag(i18n("Verbatim (show spaces) - \\begin{verbatim*}"),0, TQT_TQOBJECT(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, 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("Embedded Code - \\verb||"),"verb",0, TQT_TQOBJECT(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, 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 (show spaces) - \\verb*||"),0, TQT_TQOBJECT(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, TQT_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, TQT_TQOBJECT(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, 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("\\enskip",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_enskip", "\\enskip ", TQString(), 8);
+ (void) new KileAction::Tag("\\enskip",0, parent, TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_enskip", "\\enskip ", TQString(), 8);
- (void) new KileAction::Tag(i18n("Horizontal Variable Space - \\hfill"),0, TQT_TQOBJECT(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, 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 Dots - \\dotfill"),0, TQT_TQOBJECT(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, 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 Rule - \\hrulefill"),0, TQT_TQOBJECT(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, 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("Vertical Variable Space - \\vfill"),0, TQT_TQOBJECT(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, 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("Horizontal Space - \\hspace{}"),0, TQT_TQOBJECT(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, 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 (forced) - \\hspace*{}"),0, TQT_TQOBJECT(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, 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("Vertical Space - \\vspace{}"),0, TQT_TQOBJECT(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, 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 (forced) - \\vspace*{}"),0, TQT_TQOBJECT(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, 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."));
// fonts
- new KileAction::Tag(i18n("Emphasized - \\emph{}"),"emph",0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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}"));
- (void) new KileAction::Tag("Roman - \\rmfamily",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_rmfamily", "\\rmfamily", TQString(), 9);
- (void) new KileAction::Tag("Sansserif - \\sffamily",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sffamily", "\\sffamily", TQString(), 9);
- (void) new KileAction::Tag("Monospace - \\ttfamily",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ttfamily", "\\ttfamily", TQString(), 9);
+ (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("Medium - \\mdseries",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_mdseries", "\\mdseries", TQString(), 9);
- (void) new KileAction::Tag("Bold - \\bfseries",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bfseries", "\\bfseries", 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("Upright - \\upshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_upshape", "\\upshape", TQString(), 8);
- (void) new KileAction::Tag("Italic - \\itshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_itshape", "\\itshape", TQString(), 8);
- (void) new KileAction::Tag("Slanted - \\slshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_slshape", "\\slshape", TQString(), 8);
- (void) new KileAction::Tag("Smallcaps - \\scshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_scshape", "\\scshape", TQString(), 8);
+ (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 setupBibTags(TDEMainWindow *parent)
{
- (void) new KileAction::Tag(i18n("Article in Journal"),0 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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 , TQT_TQOBJECT(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, 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 setupMathTags(TDEMainWindow *parent)
{
- (void) new KileAction::Tag("\\mathrm{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathrm","\\mathrm{","}",8);
- (void) new KileAction::Tag("\\mathit{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathit" ,"\\mathit{","}",8);
- (void) new KileAction::Tag("\\mathbf{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbf" ,"\\mathbf{","}",8);
- (void) new KileAction::Tag("\\mathsf{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathsf" ,"\\mathsf{","}",8);
- (void) new KileAction::Tag("\\mathtt{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathtt" ,"\\mathtt{","}",8);
- (void) new KileAction::Tag("\\mathcal{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathcal" ,"\\mathcal{","}",9);
- (void) new KileAction::Tag("\\mathbb{}", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathbb" ,"\\mathbb{","}",8);
- (void) new KileAction::Tag("\\mathfrak{}",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_mathfrak" ,"\\mathfrak{","}",10);
-
- (void) new KileAction::Tag("\\acute{}","acute",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_acute", "\\acute{","}",7);
- (void) new KileAction::Tag("\\grave{}","grave",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_grave", "\\grave{","}", 7);
- (void) new KileAction::Tag("\\tilde{}","tilde",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_tilde", "\\tilde{","}", 7);
- (void) new KileAction::Tag("\\bar{}","bar", 0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_bar", "\\bar{","}", 5);
- (void) new KileAction::Tag("\\vec{}","vec", 0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_vec", "\\vec{","}", 5);
- (void) new KileAction::Tag("\\hat{}","hat", 0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_hat", "\\hat{","}", 5);
- (void) new KileAction::Tag("\\check{}","check",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_check", "\\check{","}", 7);
- (void) new KileAction::Tag("\\breve{}","breve",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_breve", "\\breve{","}", 7);
- (void) new KileAction::Tag("\\dot{}","dot", 0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_dot", "\\dot{","}", 5);
- (void) new KileAction::Tag("\\ddot{}","ddot", 0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_ddot", "\\ddot{","}", 6);
-
- (void) new KileAction::Tag(i18n("small"), 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_small", "\\,", TQString(), 2);
- (void) new KileAction::Tag(i18n("medium"), 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_medium", "\\:", TQString(),2);
- (void) new KileAction::Tag(i18n("large"), 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_space_large", "\\;", TQString(),2);
- (void) new KileAction::Tag("\\quad", 0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_quad", "\\quad ", TQString(), 6);
- (void) new KileAction::Tag("\\qquad",0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_equation", "\\[","\\]", 2);
- (void) new KileAction::Tag(i18n("Equation - \\begin{equation}"),"equation",0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_right", "\\right", TQString(), 6);
- (void) new KileAction::Tag(i18n("Array - \\begin{array}"),"array",0, TQT_TQOBJECT(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, 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,
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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left( ",TQString(),7,0));
- alist.append(new KileAction::Tag("left [",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left[ ",TQString(),7,0));
- alist.append(new KileAction::Tag("left {",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\lbrace ",TQString(),14,0));
- alist.append(new KileAction::Tag("left <",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\langle ",TQString(),14,0));
- alist.append(new KileAction::Tag("left )",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left) ",TQString(),7,0));
- alist.append(new KileAction::Tag("left ]",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left] ",TQString(),7,0));
- alist.append(new KileAction::Tag("left }",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rbrace ",TQString(),14,0));
- alist.append(new KileAction::Tag("left >",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\left\\rangle ",TQString(),14,0));
- alist.append(new KileAction::Tag("left .",0, TQT_TQOBJECT(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[ ",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));
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, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right) ",TQString(),8,0));
- alist.append(new KileAction::Tag("right ]",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right] ",TQString(),8,0));
- alist.append(new KileAction::Tag("right }",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rbrace ",TQString(),14,0));
- alist.append(new KileAction::Tag("right >",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\rangle ",TQString(),14,0));
- alist.append(new KileAction::Tag("right (",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right( ",TQString(),8,0));
- alist.append(new KileAction::Tag("right [",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right[ ",TQString(),8,0));
- alist.append(new KileAction::Tag("right {",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\lbrace ",TQString(),14,0));
- alist.append(new KileAction::Tag("right <",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"","\\right\\langle ",TQString(),14,0));
- alist.append(new KileAction::Tag("right.",0, TQT_TQOBJECT(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] ",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));
actionright_list->setItems(alist);
// new math tags (dani 29.01.2005)
TDEActionCollection* ac = parent->actionCollection();
- (void) new KileAction::Tag(i18n("Textstyle - \\tfrac{}{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tfrac", "\\tfrac{","}{}", 7);
+ (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("Normal - \\binom{}{}"),"binom",0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_binom", "\\binom{","}{}", 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("Displaystyle - \\dbinom{}{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_dbinom", "\\dbinom{","}{}", 8);
+ (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("Textstyle - \\tbinom{}{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tbinom", "\\tbinom{","}{}", 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("n-th root - \\sqrt[]{}"),"nroot",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_nroot", "\\sqrt[]{","}", 6);
+ (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("Left-Right - \\left(..\\right)",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_leftright", "\\left( \\right)", TQString(), 7);
+ (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(i18n("Extendable Left Arrow - \\xleftarrow{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xleftarrow", "\\xleftarrow{","}", 12);
+ (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 Right Arrow - \\xrightarrow{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xrightarrow", "\\xrightarrow{","}", 13);
+ (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("Boxed Formula - \\boxed{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_boxed", "\\boxed{","}", 7);
+ (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("bigl - \\bigl"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigl", "\\bigl",TQString(), 5);
- (void) new KileAction::Tag(i18n("Bigl - \\Bigl"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigl", "\\Bigl",TQString(), 5);
- (void) new KileAction::Tag(i18n("biggl - \\biggl"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggl", "\\biggl",TQString(), 6);
- (void) new KileAction::Tag(i18n("Biggl - \\Biggl"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggl", "\\Biggl",TQString(), 6);
+ (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("bigr - \\bigr"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigr", "\\bigr",TQString(), 5);
- (void) new KileAction::Tag(i18n("Bigr - \\Bigr"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigr", "\\Bigr",TQString(), 5);
- (void) new KileAction::Tag(i18n("biggr - \\biggr"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggr", "\\biggr",TQString(), 6);
- (void) new KileAction::Tag(i18n("Biggr - \\Biggr"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggr", "\\Biggr",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);
// text in mathmode
- (void) new KileAction::Tag(i18n("Text in Mathmode - \\text{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_text", "\\text{","}", 6);
+ (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("Intertext - \\intertext{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_intertext", "\\intertext{","}\n", 11);
+ (void) new KileAction::Tag(i18n("Intertext - \\intertext{}"),0, parent, TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_intertext", "\\intertext{","}\n", 11);
// math environments
- (void) new KileAction::Tag(i18n("Displaymath - \\begin{displaymath}"),0, TQT_TQOBJECT(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, 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("Equation (not numbered) - \\begin{equation*}"),0, TQT_TQOBJECT(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, TQT_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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Split - \\begin{split}"),0, TQT_TQOBJECT(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, 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("Gather - \\begin{gather}"),0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Align - \\begin{align}"),0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Flalign - \\begin{flalign}"),0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Alignat - \\begin{alignat}"),0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Aligned - \\begin{aligned}"),0, TQT_TQOBJECT(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, TQT_TQOBJECT(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, TQT_TQOBJECT(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, 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("Cases - \\begin{cases}"),0, TQT_TQOBJECT(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, TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_cases","\\begin{cases}\n","%E\n\\end{cases}\n", 0,1);
}
diff --git a/src/kile/latexcmddialog.cpp b/src/kile/latexcmddialog.cpp
index 53e9fb0..bda0978 100644
--- a/src/kile/latexcmddialog.cpp
+++ b/src/kile/latexcmddialog.cpp
@@ -199,7 +199,7 @@ NewLatexCommand::NewLatexCommand(TQWidget *parent, const TQString &caption,
pattern = "\\\\?[A-Za-z]+";
}
TQRegExp reg(pattern);
- m_edName->setValidator( new TQRegExpValidator(reg,TQT_TQOBJECT(m_edName)) );
+ m_edName->setValidator( new TQRegExpValidator(reg,m_edName) );
m_edName->setFocus();
}
else // edit mode
diff --git a/src/kile/previewconfigwidget.cpp b/src/kile/previewconfigwidget.cpp
index 264cc18..166b29c 100644
--- a/src/kile/previewconfigwidget.cpp
+++ b/src/kile/previewconfigwidget.cpp
@@ -65,7 +65,7 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(TDEConfig *config, KileTool::Qu
TQLabel *resAllowed = new TQLabel( i18n("(allowed values: 30-1000 dpi)"), gbResolution );
// set validator
- TQValidator* validator = new TQIntValidator(30,1000,TQT_TQOBJECT(this));
+ TQValidator* validator = new TQIntValidator(30,1000,this);
m_leDvipngResolution->setValidator(validator);
resLabel->setBuddy(m_leDvipngResolution);
diff --git a/src/kile/scriptsmanagementwidget.cpp b/src/kile/scriptsmanagementwidget.cpp
index f22547a..212422e 100644
--- a/src/kile/scriptsmanagementwidget.cpp
+++ b/src/kile/scriptsmanagementwidget.cpp
@@ -92,10 +92,10 @@ 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)), TQT_TQOBJECT(this), TQT_SLOT(executeSelectedScript()), true, i18n("Run Selected Script"));
+ 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)), TQT_TQOBJECT(this), TQT_SLOT(openSelectedScript()), true, i18n("Open Selected Script in Editor"));
-// m_toolbar->insertButton(BarIcon("configure_shortcuts"), 0, TQT_SIGNAL(clicked(int)), TQT_TQOBJECT(this), TQT_SLOT(configureSelectedShortcut()), true, i18n("Configure Shortcut"));
+ 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"));
@@ -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()), TQT_TQOBJECT(this), TQT_SLOT(updateListView()));
- connect(m_kileInfo->editorKeySequenceManager(), TQT_SIGNAL(watchedKeySequencesChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateListView()));
-// connect(m_scriptsListView, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), TQT_TQOBJECT(this), TQT_SLOT(executed(TQListViewItem*, const TQPoint&, int)));
-// connect(m_scriptsListView, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)), TQT_TQOBJECT(this), TQT_SLOT(itemRenamed(TQListViewItem*, const TQString&, int)));
- connect(m_scriptsListView, TQT_SIGNAL(selectionChanged()), TQT_TQOBJECT(this), TQT_SLOT(updateButtonPanel()));
+ 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()));
baseLayout->addWidget(m_scriptsListView);
updateButtonPanel();
diff --git a/src/kile/templates.cpp b/src/kile/templates.cpp
index 2f7e94c..429cb10 100644
--- a/src/kile/templates.cpp
+++ b/src/kile/templates.cpp
@@ -268,7 +268,7 @@ void TemplateIconView::searchLaTeXClassFiles()
delete m_proc;
- m_proc = new TDEProcess(TQT_TQOBJECT(this));
+ m_proc = new TDEProcess(this);
m_proc->clearArguments();
m_proc->setUseShell(true);
(*m_proc) << TQStringList::split(' ', command);