rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kile@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent e7943f0f55
commit 993281b03b

@ -30,8 +30,8 @@
namespace KileDialog
{
Clean::Clean(TQWidget *tqparent, const TQString & filename, const TQStringList & extlist) :
KDialogBase( KDialogBase::Plain, i18n("Delete Files"), Ok | Cancel, Ok, tqparent, 0, true, true),
Clean::Clean(TQWidget *parent, const TQString & filename, const TQStringList & extlist) :
KDialogBase( KDialogBase::Plain, i18n("Delete Files"), Ok | Cancel, Ok, parent, 0, true, true),
m_extlist(extlist)
{
// Layout

@ -34,7 +34,7 @@ namespace KileDialog
TQ_OBJECT
public:
Clean(TQWidget *tqparent, const TQString & filename, const TQStringList &extlist);
Clean(TQWidget *parent, const TQString & filename, const TQStringList &extlist);
~Clean();
const TQStringList & getCleanlist();

@ -70,8 +70,8 @@ void ResultItem::paint(TQPainter *p)
m_richText->draw(p, 0, 0, TQRect(), listBox()->tqcolorGroup());
}
ConfigChecker::ConfigChecker(TQWidget* tqparent) :
KDialogBase( Plain, i18n("System Check"), Ok|Cancel|User1, Ok, tqparent, 0, true, true, KGuiItem("&Save Results...")),
ConfigChecker::ConfigChecker(TQWidget* parent) :
KDialogBase( Plain, i18n("System Check"), Ok|Cancel|User1, Ok, parent, 0, true, true, KGuiItem("&Save Results...")),
m_tester(0L)
{
TQGridLayout *tqlayout = new TQGridLayout(plainPage(), 1, 1);

@ -52,7 +52,7 @@ namespace KileDialog
TQ_OBJECT
public:
ConfigChecker(TQWidget* tqparent = 0);
ConfigChecker(TQWidget* parent = 0);
~ConfigChecker();
public slots:

@ -40,8 +40,8 @@
#include "kilelogwidget.h"
#include "kiletool_enums.h"
ConfigCodeCompletion::ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *logwidget, TQWidget *tqparent, const char *name )
: TQWidget(tqparent,name), m_config(config), m_logwidget(logwidget)
ConfigCodeCompletion::ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *logwidget, TQWidget *parent, const char *name )
: TQWidget(parent,name), m_config(config), m_logwidget(logwidget)
{
// Layout
TQVBoxLayout *vbox = new TQVBoxLayout(this, 5,KDialog::spacingHint() );

@ -40,7 +40,7 @@ class ConfigCodeCompletion : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *logwidget, TQWidget *tqparent=0, const char *name=0);
ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *logwidget, TQWidget *parent=0, const char *name=0);
~ConfigCodeCompletion();
void readConfig(void);

@ -63,7 +63,7 @@ void KileCenteredTableItem::paint(TQPainter* p,const TQColorGroup& cg,const TQRe
//////////////////// KileTable ////////////////////
KileTable::KileTable(TQWidget *dialog, TQWidget *tqparent, const char *name) : TQTable(tqparent,name)
KileTable::KileTable(TQWidget *dialog, TQWidget *parent, const char *name) : TQTable(parent,name)
{
setShowGrid(false);
setSelectionMode(TQTable::NoSelection);
@ -89,8 +89,8 @@ void KileTable::contentsMousePressEvent(TQMouseEvent *ev)
//////////////////// ConfigStructure ////////////////////
ConfigStructure::ConfigStructure(TQWidget *tqparent, const char *name )
: TQWidget(tqparent,name)
ConfigStructure::ConfigStructure(TQWidget *parent, const char *name )
: TQWidget(parent,name)
{
m_entries << i18n( "Files" ) << i18n( "Labels" ) << i18n( "References" )
<< i18n( "Index" ) << i18n( "Graphics" ) << i18n( "Sectioning" );

@ -53,7 +53,7 @@ class KileTable : public TQTable
Q_OBJECT
TQ_OBJECT
public:
KileTable(TQWidget *dialog, TQWidget *tqparent=0, const char *name=0);
KileTable(TQWidget *dialog, TQWidget *parent=0, const char *name=0);
void paintFocus(TQPainter *, const TQRect &) {}
protected:
void contentsMousePressEvent(TQMouseEvent *ev);
@ -67,7 +67,7 @@ class ConfigStructure : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
ConfigStructure(TQWidget *tqparent=0, const char *name=0);
ConfigStructure(TQWidget *parent=0, const char *name=0);
~ConfigStructure();
void readConfig(KConfig *config);

@ -120,7 +120,7 @@ TQString ConfigTest::criticalMessage(const TQString &test)
else return i18n("Critical failure");
}
Tester::Tester(TQObject *tqparent, const char *name) : TQObject(tqparent, name), m_process(0L)
Tester::Tester(TQObject *parent, const char *name) : TQObject(parent, name), m_process(0L)
{
ConfigTest::addPrettyName("binary", i18n("Binary"));
ConfigTest::addCriticalMessage("binary", i18n("Could not find the binary for this essential tool."));

@ -65,7 +65,7 @@ class Tester : public TQObject
TQ_OBJECT
public:
Tester(TQObject *tqparent = 0, const char *name = 0);
Tester(TQObject *parent = 0, const char *name = 0);
~Tester();
TQStringList testedTools();

@ -27,7 +27,7 @@
#include <khtml_part.h>
#include <khtml_settings.h>
DocumentationViewer::DocumentationViewer(TQWidget *tqparent, const char *name ) : KHTMLPart(tqparent,name, 0, 0, BrowserViewGUI)
DocumentationViewer::DocumentationViewer(TQWidget *parent, const char *name ) : KHTMLPart(parent,name, 0, 0, BrowserViewGUI)
{
m_hpos = 0;
KConfig konqConfig("konquerorrc");

@ -25,7 +25,7 @@ class DocumentationViewer : public KHTMLPart
TQ_OBJECT
public:
DocumentationViewer(TQWidget *tqparent=0, const char *name=0);
DocumentationViewer(TQWidget *parent=0, const char *name=0);
~DocumentationViewer();
bool backEnable();
bool forwardEnable();

@ -23,7 +23,7 @@
namespace KileEditorKeySequence {
Manager::Manager(KileInfo* kileInfo, TQObject *tqparent, const char *name) : TQObject(tqparent, name), m_kileInfo(kileInfo) {
Manager::Manager(KileInfo* kileInfo, TQObject *parent, const char *name) : TQObject(parent, name), m_kileInfo(kileInfo) {
}
Manager::~Manager() {

@ -88,7 +88,7 @@ namespace KileEditorKeySequence {
/**
* Constructs a new manager object.
**/
Manager(KileInfo* kileInfo, TQObject *tqparent = 0, const char *name = 0);
Manager(KileInfo* kileInfo, TQObject *parent = 0, const char *name = 0);
virtual ~Manager();
/**

@ -28,8 +28,8 @@
namespace KileDialog
{
FloatEnvironmentDialog::FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQWidget *tqparent)
: Wizard(config,tqparent), m_ki(ki)
FloatEnvironmentDialog::FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQWidget *parent)
: Wizard(config,parent), m_ki(ki)
{
TQWidget *page = new TQWidget(this);
setMainWidget(page);

@ -35,7 +35,7 @@ class FloatEnvironmentDialog : public Wizard
TQ_OBJECT
public:
FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQWidget *tqparent);
FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQWidget *parent);
~FloatEnvironmentDialog() {}
public slots:

@ -41,8 +41,8 @@
namespace KileDialog
{
IncludeGraphics::IncludeGraphics(TQWidget *tqparent, const TQString &startdir, KileInfo *ki) :
KDialogBase( Plain, i18n("Include Graphics"), Ok | Cancel, Ok, tqparent, 0, true, true),
IncludeGraphics::IncludeGraphics(TQWidget *parent, const TQString &startdir, KileInfo *ki) :
KDialogBase( Plain, i18n("Include Graphics"), Ok | Cancel, Ok, parent, 0, true, true),
m_startdir(startdir),
m_width(0),
m_height(0),

@ -42,7 +42,7 @@ class IncludeGraphics : public KDialogBase
TQ_OBJECT
public:
IncludeGraphics(TQWidget *tqparent,const TQString &startdir,KileInfo *ki);
IncludeGraphics(TQWidget *parent,const TQString &startdir,KileInfo *ki);
~IncludeGraphics();
TQString getTemplate();

@ -84,9 +84,9 @@
#include "kilejscript.h"
#include "previewwidget.h"
Kile::Kile( bool allowRestore, TQWidget *tqparent, const char *name ) :
Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) :
DCOPObject( "Kile" ),
KParts::MainWindow( tqparent, name),
KParts::MainWindow( parent, name),
KileInfo(this),
m_paPrint(0L)
{
@ -96,7 +96,7 @@ Kile::Kile( bool allowRestore, TQWidget *tqparent, const char *name ) :
readUserSettings();
readRecentFileSettings();
m_jScriptManager = new KileJScript::Manager(this, m_config, actionCollection(), TQT_TQOBJECT(tqparent), "KileJScript::Manager");
m_jScriptManager = new KileJScript::Manager(this, m_config, actionCollection(), TQT_TQOBJECT(parent), "KileJScript::Manager");
setStandardToolBarMenuEnabled(true);
@ -224,7 +224,7 @@ Kile::~Kile()
delete m_edit;
delete m_help;
delete m_AutosaveTimer;
delete m_lyxserver; //TQObject without tqparent, have to delete it ourselves
delete m_lyxserver; //TQObject without parent, have to delete it ourselves
delete m_outputInfo;
delete m_outputFilter;
delete m_eventFilter;

@ -98,7 +98,7 @@ class Kile : public KParts::MainWindow, public KileAppDCOPIface, public KileInfo
TQ_OBJECT
public:
Kile( bool allowRestore = true, TQWidget *tqparent = 0, const char *name = 0 );
Kile( bool allowRestore = true, TQWidget *parent = 0, const char *name = 0 );
~Kile();
public slots:

@ -26,8 +26,8 @@
#include <tqvalidator.h>
#include <tqfile.h>
KileAbbrevView::KileAbbrevView(TQWidget *tqparent, const char *name)
: KListView(tqparent, name), m_changes(false)
KileAbbrevView::KileAbbrevView(TQWidget *parent, const char *name)
: KListView(parent, name), m_changes(false)
{
addColumn(i18n("Short"));

@ -36,7 +36,7 @@ public:
enum { ALVabbrev=0, ALVlocal=1, ALVexpansion=2 };
enum { ALVnone=0, ALVadd=1, ALVedit=2, ALVdelete=3 };
KileAbbrevView(TQWidget *tqparent=0, const char *name=0);
KileAbbrevView(TQWidget *parent=0, const char *name=0);
~KileAbbrevView();
void init(const TQStringList *globallist, const TQStringList *locallist);

@ -48,35 +48,35 @@ namespace KileAction
////////////////
// Tag //
////////////////
Tag::Tag( const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent
Tag::Tag( const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent
, const char *name, const TQString &tagBegin, const TQString &tagEnd
, int dx, int dy, const TQString &description)
: KAction(text, cut, tqparent, name),
: KAction(text, cut, parent, name),
m_data(text,tagBegin, tagEnd, dx, dy, description)
{
init(receiver,slot);
}
Tag::Tag( const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent
Tag::Tag( const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent
, const char *name, const TQString &tagBegin, const TQString &tagEnd
, int dx, int dy, const TQString &description)
: KAction(text, pix, cut, tqparent, name),
: KAction(text, pix, cut, parent, name),
m_data(text,tagBegin, tagEnd, dx, dy, description)
{
init(receiver,slot);
}
Tag::Tag( const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent
Tag::Tag( const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent
, const char *name, const TagData& data)
: KAction(text, cut, tqparent, name),
: KAction(text, cut, parent, name),
m_data(data)
{
init(receiver,slot);
}
Tag::Tag( const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent
Tag::Tag( const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent
, const char *name, const TagData& data)
: KAction(text, pix, cut, tqparent, name),
: KAction(text, pix, cut, parent, name),
m_data(data)
{
init(receiver,slot);
@ -100,36 +100,36 @@ void Tag::emitData()
////////////////
// InputTag //
////////////////
InputTag::InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent, uint options
InputTag::InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent, uint options
, const TQString &tagBegin, const TQString &tagEnd
, int dx, int dy, const TQString &description, const TQString &hint, const TQString &alter)
: Tag(text, cut, receiver, slot, tqparent, name, tagBegin, tagEnd, dx, dy, description), m_ki(ki),
m_parent(wtqparent), m_options(options), m_hint(hint), m_alter(alter)
: Tag(text, cut, receiver, slot, parent, name, tagBegin, tagEnd, dx, dy, description), m_ki(ki),
m_parent(wparent), m_options(options), m_hint(hint), m_alter(alter)
{
init();
}
InputTag::InputTag( KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag::InputTag( KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TQString &tagBegin, const TQString &tagEnd
, int dx, int dy, const TQString &description, const TQString &hint, const TQString &alter)
: Tag(text, pix, cut, receiver, slot, tqparent, name, tagBegin, tagEnd, dx, dy, description), m_ki(ki),
m_parent(wtqparent), m_options(options), m_hint(hint), m_alter(alter)
: Tag(text, pix, cut, receiver, slot, parent, name, tagBegin, tagEnd, dx, dy, description), m_ki(ki),
m_parent(wparent), m_options(options), m_hint(hint), m_alter(alter)
{
init();
}
InputTag::InputTag( KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag::InputTag( KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TagData& data, const TQString &hint, const TQString &alter)
: Tag(text,cut,receiver, slot, tqparent, name,data), m_ki(ki),
m_parent(wtqparent), m_options(options), m_hint(hint), m_alter(alter)
: Tag(text,cut,receiver, slot, parent, name,data), m_ki(ki),
m_parent(wparent), m_options(options), m_hint(hint), m_alter(alter)
{
init();
}
InputTag::InputTag( KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag::InputTag( KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TagData& data, const TQString &hint, const TQString &alter)
: Tag(text, pix, cut,receiver, slot, tqparent, name,data), m_ki(ki),
m_parent(wtqparent), m_options(options), m_hint(hint), m_alter(alter)
: Tag(text, pix, cut,receiver, slot, parent, name,data), m_ki(ki),
m_parent(wparent), m_options(options), m_hint(hint), m_alter(alter)
{
init();
}
@ -190,8 +190,8 @@ void InputTag::emitData()
/*
InputDialog
*/
InputDialog::InputDialog(const TQString &caption, uint options, const TQStringList& history, const TQString& hint, const TQString& alter, KileInfo *ki, TQWidget *tqparent, const char *name)
: KDialogBase (tqparent, name, true, caption, KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true), m_ki(ki)
InputDialog::InputDialog(const TQString &caption, uint options, const TQStringList& history, const TQString& hint, const TQString& alter, KileInfo *ki, TQWidget *parent, const char *name)
: KDialogBase (parent, name, true, caption, KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true), m_ki(ki)
{
TQString newcaption = caption;
setCaption(newcaption.remove("&"));
@ -360,8 +360,8 @@ TQString InputDialog::label()
// SelectTag //
/////////////////
Select::Select(const TQString &text, const KShortcut &cut, KActionCollection *tqparent, const char *name )
: KSelectAction(text,cut,tqparent,name)
Select::Select(const TQString &text, const KShortcut &cut, KActionCollection *parent, const char *name )
: KSelectAction(text,cut,parent,name)
{
init();
}

@ -55,16 +55,16 @@ class Tag : public KAction
public:
//constructors
Tag(const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name
Tag(const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name
, const TQString &tagBegin, const TQString &tagEnd = TQString(), int dx=0, int dy=0, const TQString &description = TQString());
Tag(const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name
Tag(const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name
, const TQString &tagBegin, const TQString &tagEnd = TQString(), int dx=0, int dy=0, const TQString &description = TQString());
Tag(const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name
Tag(const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name
, const TagData& data);
Tag(const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name
Tag(const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name
, const TagData& data);
~Tag();
@ -94,16 +94,16 @@ class InputTag : public Tag
public:
//constructors
InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TQString &tagBegin, const TQString &tagEnd = TQString(), int dx=0, int dy=0, const TQString &description = TQString(), const TQString &hint = TQString(), const TQString &alter = TQString());
InputTag(KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag(KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TQString &tagBegin, const TQString &tagEnd = TQString(), int dx=0, int dy=0, const TQString &description = TQString(), const TQString &hint = TQString(), const TQString &alter = TQString());
InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag(KileInfo* ki, const TQString &text, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TagData& data, const TQString &hint = TQString(), const TQString &alter = TQString());
InputTag(KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *tqparent, const char *name, TQWidget *wtqparent,uint options
InputTag(KileInfo* ki, const TQString &text, const TQString& pix, const KShortcut &cut, const TQObject *receiver, const char *slot, KActionCollection *parent, const char *name, TQWidget *wparent,uint options
, const TagData& data, const TQString &hint = TQString(), const TQString &alter = TQString());
~InputTag();
@ -140,7 +140,7 @@ class InputDialog : public KDialogBase
TQ_OBJECT
public:
InputDialog(const TQString &caption, uint options, const TQStringList& history, const TQString &hint, const TQString &alter, KileInfo *ki, TQWidget *tqparent=0, const char *name=0);
InputDialog(const TQString &caption, uint options, const TQStringList& history, const TQString &hint, const TQString &alter, KileInfo *ki, TQWidget *parent=0, const char *name=0);
~InputDialog();
bool useAlternative() {return m_useAlternative;}
@ -177,7 +177,7 @@ class Select : public KSelectAction
public:
//constructors
Select(const TQString &text, const KShortcut &cut, KActionCollection *tqparent, const char *name);
Select(const TQString &text, const KShortcut &cut, KActionCollection *parent, const char *name);
private:
void init();

@ -54,9 +54,9 @@
namespace KileDialog
{
Config::Config(KConfig *config, KileInfo *ki, TQWidget* tqparent)
Config::Config(KConfig *config, KileInfo *ki, TQWidget* parent)
: KDialogBase( KDialogBase::TreeList, TQt::WStyle_DialogBorder,
tqparent, "kileconfiguration", true, i18n("Configure"), Ok|Cancel, Ok ),
parent, "kileconfiguration", true, i18n("Configure"), Ok|Cancel, Ok ),
m_config(config),
m_ki(ki)
{

@ -51,7 +51,7 @@ namespace KileDialog
TQ_OBJECT
public:
Config( KConfig *config, KileInfo *ki, TQWidget* tqparent = 0);
Config( KConfig *config, KileInfo *ki, TQWidget* parent = 0);
~Config();
virtual void show();

@ -75,8 +75,8 @@
namespace KileDocument
{
Manager::Manager(KileInfo *info, TQObject *tqparent, const char *name) :
TQObject(tqparent, name),
Manager::Manager(KileInfo *info, TQObject *parent, const char *name) :
TQObject(parent, name),
m_ki(info)
{
m_textInfoList.setAutoDelete(false);

@ -51,7 +51,7 @@ class Manager : public TQObject
Q_OBJECT
TQ_OBJECT
public:
Manager(KileInfo *info, TQObject *tqparent = 0, const char *name = 0);
Manager(KileInfo *info, TQObject *parent = 0, const char *name = 0);
~Manager();
public slots:

@ -627,13 +627,13 @@ void TextInfo::searchTodoComment(const TQString &s, uint startpos, TodoResult &t
}
}
KTextEditor::View* TextInfo::createView(TQWidget *tqparent, const char *name)
KTextEditor::View* TextInfo::createView(TQWidget *parent, const char *name)
{
if(!m_doc)
{
return NULL;
}
KTextEditor::View *view = m_doc->createView(tqparent, name);
KTextEditor::View *view = m_doc->createView(parent, name);
installEventFilters(view);
return view;
}

@ -52,7 +52,7 @@ namespace KileStruct
ToDo = 0x100000, FixMe = 0x200000, NewEnvironment = 0x400000
};
//Different levels (in the tqparent-child hierarchy) in the structure view
//Different levels (in the parent-child hierarchy) in the structure view
enum
{
Hidden = -4, NotSpecified = -3, Object = -2, File = -1
@ -264,7 +264,7 @@ public:
* @warning Only this method should be used to create new views for text documents !
* @return NULL if no document is set (m_doc == NULL)
**/
KTextEditor::View* createView(TQWidget *tqparent, const char *name=0);
KTextEditor::View* createView(TQWidget *parent, const char *name=0);
protected slots:
void slotFileNameChanged();

@ -33,8 +33,8 @@
#include "kiledocmanager.h"
#include "kilesidebar.h"
KileErrorHandler::KileErrorHandler(TQObject *tqparent, KileInfo *info, const char *name)
: TQObject(tqparent, name), m_ki(info), m_nCurrentError(-1)
KileErrorHandler::KileErrorHandler(TQObject *parent, KileInfo *info, const char *name)
: TQObject(parent, name), m_ki(info), m_nCurrentError(-1)
{
}

@ -30,7 +30,7 @@ class KileErrorHandler : public TQObject
Q_OBJECT
TQ_OBJECT
public:
KileErrorHandler(TQObject *tqparent, KileInfo *info, const char *name = 0);
KileErrorHandler(TQObject *parent, KileInfo *info, const char *name = 0);
~KileErrorHandler();

@ -50,7 +50,7 @@ bool KileEventFilter::eventFilter(TQObject *o, TQEvent *e)
}
if ( m_bCompleteEnvironment && ke->key()==TQt::Key_Return && ke->state()==0)
{
return m_edit->eventInsertEnvironment( (Kate::View*) o->tqparent() );
return m_edit->eventInsertEnvironment( (Kate::View*) o->parent() );
}
}
else if ( e->type() == TQEvent::MouseButtonDblClick)

@ -38,7 +38,7 @@ from Kate (C) 2001 by Matt Newell
#include "kileconfig.h"
KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name)
KileFileSelect::KileFileSelect(KileDocument::Extensions *extensions, TQWidget *parent, const char *name ) : TQWidget(parent,name)
{
TQVBoxLayout* lo = new TQVBoxLayout(this);

@ -42,7 +42,7 @@ class KileFileSelect : public TQWidget
TQ_OBJECT
public:
KileFileSelect(KileDocument::Extensions *extensions, TQWidget *tqparent=0, const char *name=0);
KileFileSelect(KileDocument::Extensions *extensions, TQWidget *parent=0, const char *name=0);
~KileFileSelect();
void setView(KFile::FileView);

@ -74,8 +74,8 @@
#include "kiledocmanager.h"
#include "kileextensions.h"
KileGrepDialog::KileGrepDialog(TQWidget *tqparent, KileInfo *ki, KileGrep::Mode mode, const char *name)
: KDialogBase (tqparent, name, false, TQString(), 0, Ok, false ),
KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mode, const char *name)
: KDialogBase (parent, name, false, TQString(), 0, Ok, false ),
m_ki(ki), m_mode(mode), childproc(0), m_grepJobs(0)
{
TQWidget *page = new TQWidget(this);

@ -56,7 +56,7 @@ class KileGrepDialog : public KDialogBase
TQ_OBJECT
public:
KileGrepDialog(TQWidget *tqparent, KileInfo *ki, KileGrep::Mode mode, const char *name = 0);
KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mode, const char *name = 0);
~KileGrepDialog();
void appendFilter(const TQString &name, const TQString &filter);

@ -41,19 +41,19 @@
#include <tqstringlist.h>
#include <tqstring.h>
KileInfo::KileInfo(TQWidget *tqparent) :
KileInfo::KileInfo(TQWidget *parent) :
m_manager(0L),
m_jScriptManager(0L),
m_toolFactory(0L),
m_texKonsole(0L),
m_edit(0L),
m_parentWidget(tqparent),
m_parentWidget(parent),
m_currentTarget(TQString())
{
m_docManager = new KileDocument::Manager(this, TQT_TQOBJECT(tqparent), "KileDocument::Manager");
m_viewManager= new KileView::Manager(this, TQT_TQOBJECT(tqparent), "KileView::Manager");
m_templateManager = new KileTemplate::Manager(this, TQT_TQOBJECT(tqparent), "KileTemplate::Manager");
m_editorKeySequenceManager = new KileEditorKeySequence::Manager(this, TQT_TQOBJECT(tqparent), "KileEditorKeySequence::Manager");
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");
TQObject::connect(m_docManager, TQT_SIGNAL(documentStatusChanged(Kate::Document*, bool, unsigned char)), m_viewManager, TQT_SLOT(reflectDocumenttqStatus(Kate::Document*, bool, unsigned char)));
}
@ -177,7 +177,7 @@ KURL::List KileInfo::getParentsFor(KileDocument::Info *info)
KileProjectItemList *items = docManager()->itemsFor(info);
KURL::List list;
for ( uint i = 0; i < items->count(); ++i)
if (items->at(i)->tqparent()) list.append(items->at(i)->tqparent()->url());
if (items->at(i)->parent()) list.append(items->at(i)->parent()->url());
return list;
}

@ -58,7 +58,7 @@ class KileInfo
{
public:
KileInfo(TQWidget *tqparent);
KileInfo(TQWidget *parent);
virtual ~KileInfo();
public:

@ -508,7 +508,7 @@ namespace KileJScript {
////////////////////////////// Manager //////////////////////////////
Manager::Manager(KileInfo *kileInfo, KConfig *config, KActionCollection *actionCollection, TQObject *tqparent, const char *name) : TQObject(tqparent, name), m_jScriptDirWatch(NULL), m_kileInfo(kileInfo), m_config(config), m_actionCollection(actionCollection) {
Manager::Manager(KileInfo *kileInfo, KConfig *config, KActionCollection *actionCollection, TQObject *parent, const char *name) : TQObject(parent, name), m_jScriptDirWatch(NULL), m_kileInfo(kileInfo), m_config(config), m_actionCollection(actionCollection) {
// create a local scripts directory if it doesn't exist yet
m_localJScriptDir = locateLocal("appdata", "scripts/", true);
m_jScriptDirWatch = new KDirWatch(this, "KileJScript::Manager::JScriptDirWatch");
@ -776,7 +776,7 @@ m_kileInfo->viewManager()->currentView()->down();*/
}
////////////////////////////// ScriptExecutionAction //////////////////////////////
ScriptExecutionAction::ScriptExecutionAction(unsigned int id, KileJScript::Manager *manager, KActionCollection* tqparent) : KAction(TQString(), KShortcut(), NULL, NULL, tqparent, TQString("script_execution_" + TQString::number(id)).ascii()), m_manager(manager), m_id(id) {
ScriptExecutionAction::ScriptExecutionAction(unsigned int id, KileJScript::Manager *manager, KActionCollection* parent) : KAction(TQString(), KShortcut(), NULL, NULL, parent, TQString("script_execution_" + TQString::number(id)).ascii()), m_manager(manager), m_id(id) {
const KileJScript::JScript *script = m_manager->getScript(m_id);
Q_ASSERT(script);
setText(i18n("Execution of %1").tqarg(script->getName()));

@ -125,7 +125,7 @@ class Manager : public TQObject {
/**
* Constructs a new Manager object.
**/
Manager(KileInfo *info, KConfig *config, KActionCollection *actionCollection, TQObject *tqparent = 0, const char *name = 0);
Manager(KileInfo *info, KConfig *config, KActionCollection *actionCollection, TQObject *parent = 0, const char *name = 0);
virtual ~Manager();
/**
@ -267,7 +267,7 @@ class ScriptExecutionAction : public KAction {
TQ_OBJECT
public:
ScriptExecutionAction(unsigned int scriptID, Manager *manager, KActionCollection* tqparent = 0);
ScriptExecutionAction(unsigned int scriptID, Manager *manager, KActionCollection* parent = 0);
virtual ~ScriptExecutionAction();

@ -30,8 +30,8 @@
namespace KileWidget
{
Konsole::Konsole(KileInfo * info, TQWidget *tqparent, const char *name) :
TQVBox(tqparent, name),
Konsole::Konsole(KileInfo * info, TQWidget *parent, const char *name) :
TQVBox(parent, name),
m_bPresent(false),
m_ki(info)
{

@ -34,7 +34,7 @@ namespace KileWidget
TQ_OBJECT
public:
Konsole(KileInfo *, TQWidget* tqparent, const char* name=0);
Konsole(KileInfo *, TQWidget* parent, const char* name=0);
~Konsole();
public slots:

@ -28,8 +28,8 @@
//////////////////// KileListSelectorBase ////////////////////
KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *tqparent, const char *name) :
KDialogBase( KDialogBase::Plain, caption, Ok|Cancel,Ok, tqparent, name, true, true )
KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) :
KDialogBase( KDialogBase::Plain, caption, Ok|Cancel,Ok, parent, name, true, true )
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(plainPage());
@ -82,7 +82,7 @@ void KileListSelectorBase::insertStringList(const TQStringList &list)
//////////////////// with single selection ////////////////////
KileListSelector::KileListSelector(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *tqparent, const char *name) : KileListSelectorBase(list,caption,select,tqparent,name)
KileListSelector::KileListSelector(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) : KileListSelectorBase(list,caption,select,parent,name)
{
m_listview->setSelectionMode(TQListView::Single);
@ -92,7 +92,7 @@ KileListSelector::KileListSelector(const TQStringList &list, const TQString &cap
//////////////////// with multi selection ////////////////////
KileListSelectorMultiple::KileListSelectorMultiple(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *tqparent, const char *name) : KileListSelectorBase(list,caption,select,tqparent,name)
KileListSelectorMultiple::KileListSelectorMultiple(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) : KileListSelectorBase(list,caption,select,parent,name)
{
m_listview->setSelectionMode(TQListView::Extended); // default: Single
}

@ -26,7 +26,7 @@ class TQStringList;
class KileListSelectorBase : public KDialogBase
{
public:
KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *tqparent=0, const char *name=0);
KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent=0, const char *name=0);
~KileListSelectorBase() {}
int currentItem();
@ -39,14 +39,14 @@ protected:
class KileListSelector : public KileListSelectorBase
{
public:
KileListSelector(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *tqparent=0, const char *name=0);
KileListSelector(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent=0, const char *name=0);
~KileListSelector() {}
};
class KileListSelectorMultiple : public KileListSelectorBase
{
public:
KileListSelectorMultiple(const TQStringList & list, const TQString &caption, const TQString &select, TQWidget *tqparent=0, const char *name=0);
KileListSelectorMultiple(const TQStringList & list, const TQString &caption, const TQString &select, TQWidget *parent=0, const char *name=0);
~KileListSelectorMultiple() {}
const TQStringList &selected();

@ -29,8 +29,8 @@
namespace KileWidget
{
LogMsg::LogMsg(KileInfo *info, TQWidget *tqparent, const char *name ) :
KTextEdit(tqparent,name),
LogMsg::LogMsg(KileInfo *info, TQWidget *parent, const char *name ) :
KTextEdit(parent,name),
m_info(info)
{
setTabStopWidth(10);

@ -32,7 +32,7 @@ namespace KileWidget
TQ_OBJECT
public:
LogMsg(KileInfo *info, TQWidget *tqparent, const char *name=0);
LogMsg(KileInfo *info, TQWidget *parent, const char *name=0);
~LogMsg();
void setReadOnly(bool r) { TQTextEdit::setReadOnly(r); } //we don't want the greyed background

@ -52,7 +52,7 @@ public:
};
KileMultiTabBarInternal::KileMultiTabBarInternal(TQWidget *tqparent, KileMultiTabBar::KileMultiTabBarMode bm):TQScrollView(tqparent)
KileMultiTabBarInternal::KileMultiTabBarInternal(TQWidget *parent, KileMultiTabBar::KileMultiTabBarMode bm):TQScrollView(parent)
{
m_expandedTabSize=-1;
m_showActiveTabTexts=false;
@ -396,8 +396,8 @@ void KileMultiTabBarInternal::setPosition(enum KileMultiTabBar::KileMultiTabBarP
}
KileMultiTabBarButton::KileMultiTabBarButton(const TQPixmap& pic,const TQString& text, TQPopupMenu *popup,
int id,TQWidget *tqparent,KileMultiTabBar::KileMultiTabBarPosition pos,KileMultiTabBar::KileMultiTabBarStyle style)
:TQPushButton(TQIconSet(),text,tqparent),m_style(style)
int id,TQWidget *parent,KileMultiTabBar::KileMultiTabBarPosition pos,KileMultiTabBar::KileMultiTabBarStyle style)
:TQPushButton(TQIconSet(),text,parent),m_style(style)
{
setIconSet(pic);
setText(text);
@ -412,8 +412,8 @@ KileMultiTabBarButton::KileMultiTabBarButton(const TQPixmap& pic,const TQString&
}
KileMultiTabBarButton::KileMultiTabBarButton(const TQString& text, TQPopupMenu *popup,
int id,TQWidget *tqparent,KileMultiTabBar::KileMultiTabBarPosition pos,KileMultiTabBar::KileMultiTabBarStyle style)
:TQPushButton(TQIconSet(),text,tqparent),m_style(style)
int id,TQWidget *parent,KileMultiTabBar::KileMultiTabBarPosition pos,KileMultiTabBar::KileMultiTabBarStyle style)
:TQPushButton(TQIconSet(),text,parent),m_style(style)
{
setText(text);
m_position=pos;
@ -516,9 +516,9 @@ TQSize KileMultiTabBarButton::tqsizeHint() const
KileMultiTabBarTab::KileMultiTabBarTab(const TQPixmap& pic, const TQString& text,
int id,TQWidget *tqparent,KileMultiTabBar::KileMultiTabBarPosition pos,
int id,TQWidget *parent,KileMultiTabBar::KileMultiTabBarPosition pos,
KileMultiTabBar::KileMultiTabBarStyle style)
:KileMultiTabBarButton(text,0,id,tqparent,pos,style),
:KileMultiTabBarButton(text,0,id,parent,pos,style),
m_showActiveTabText(false)
{
d=new KileMultiTabBarTabPrivate();
@ -854,7 +854,7 @@ void KileMultiTabBarTab::drawButtonClassic(TQPainter *paint)
KileMultiTabBar::KileMultiTabBar(KileMultiTabBarMode bm, TQWidget *tqparent,const char *name):TQWidget(tqparent,name)
KileMultiTabBar::KileMultiTabBar(KileMultiTabBarMode bm, TQWidget *parent,const char *name):TQWidget(parent,name)
{
m_buttons.setAutoDelete(false);
if (bm==Vertical)

@ -90,10 +90,10 @@ public:
/**
* Constructor.
* @param bm The tab bar's orientation
* @param tqparent The tqparent widget
* @param parent The parent widget
* @param name The widget's name
*/
KileMultiTabBar(KileMultiTabBarMode bm,TQWidget *tqparent=0,const char *name=0);
KileMultiTabBar(KileMultiTabBarMode bm,TQWidget *parent=0,const char *name=0);
/**
* Destructor.
@ -210,10 +210,10 @@ class KileMultiTabBarButton: public TQPushButton
public:
/** @internal */
KileMultiTabBarButton(const TQPixmap& pic,const TQString&, TQPopupMenu *popup,
int id,TQWidget *tqparent, KileMultiTabBar::KileMultiTabBarPosition pos, KileMultiTabBar::KileMultiTabBarStyle style);
int id,TQWidget *parent, KileMultiTabBar::KileMultiTabBarPosition pos, KileMultiTabBar::KileMultiTabBarStyle style);
/** @internal */
KileMultiTabBarButton(const TQString&, TQPopupMenu *popup,
int id,TQWidget *tqparent, KileMultiTabBar::KileMultiTabBarPosition pos, KileMultiTabBar::KileMultiTabBarStyle style);
int id,TQWidget *parent, KileMultiTabBar::KileMultiTabBarPosition pos, KileMultiTabBar::KileMultiTabBarStyle style);
/**
* Destructor
*/
@ -273,7 +273,7 @@ class KileMultiTabBarTab: public KileMultiTabBarButton
TQ_OBJECT
public:
/** @internal */
KileMultiTabBarTab(const TQPixmap& pic,const TQString&,int id,TQWidget *tqparent,
KileMultiTabBarTab(const TQPixmap& pic,const TQString&,int id,TQWidget *parent,
KileMultiTabBar::KileMultiTabBarPosition pos,KileMultiTabBar::KileMultiTabBarStyle style);
/**
* Destructor.

@ -34,7 +34,7 @@ class KileMultiTabBarInternal: public TQScrollView
Q_OBJECT
TQ_OBJECT
public:
KileMultiTabBarInternal(TQWidget *tqparent,KileMultiTabBar::KileMultiTabBarMode bm);
KileMultiTabBarInternal(TQWidget *parent,KileMultiTabBar::KileMultiTabBarMode bm);
int appendTab(const TQPixmap &,int=-1,const TQString& =TQString());
KileMultiTabBarTab *tab(int) const;
void removeTab(int);
@ -60,7 +60,7 @@ protected:
/**
* [contentsM|m]ousePressEvent are reimplemented from TQScrollView
* in order to ignore all mouseEvents on the viewport, so that the
* tqparent can handle them.
* parent can handle them.
*/
virtual void contentsMousePressEvent(TQMouseEvent *);
virtual void mousePressEvent(TQMouseEvent *);

@ -18,7 +18,7 @@
namespace KileWidget
{
Output::Output(TQWidget *tqparent, const char * name) : KTextEdit(tqparent, name)
Output::Output(TQWidget *parent, const char * name) : KTextEdit(parent, name)
{
setTextFormat(TQt::LogText);
}

@ -25,7 +25,7 @@ namespace KileWidget
TQ_OBJECT
public:
Output(TQWidget *tqparent, const char *name=0);
Output(TQWidget *parent, const char *name=0);
~Output();
void setReadOnly(bool r) { TQTextEdit::setReadOnly(r); } //we don't want the greyed background

@ -75,7 +75,7 @@ void KileProjectItem::setParent(KileProjectItem * item)
{
m_parent = item;
//update tqparent info
//update parent info
if (m_parent)
{
if (m_parent->firstChild())
@ -507,7 +507,7 @@ void KileProject::buildProjectTree()
{
KILE_DEBUG() << "==KileProject::buildProjectTree==========================" << endl;
//determine the tqparent doc for each item (TODO:an item can only have one tqparent, not necessarily true for LaTeX docs)
//determine the parent doc for each item (TODO:an item can only have one parent, not necessarily true for LaTeX docs)
const TQStringList *deps;
TQString dep;
@ -522,7 +522,7 @@ void KileProject::buildProjectTree()
++it;
}
//use the dependencies list of the documentinfo object to determine the tqparent
//use the dependencies list of the documentinfo object to determine the parent
it.toFirst();
while (it.current())
{
@ -542,7 +542,7 @@ void KileProject::buildProjectTree()
url = KileInfo::checkOtherPaths(m_baseurl,dep,KileInfo::bibinputs);
itm = item(url);
if (itm && (itm->tqparent() == 0))
if (itm && (itm->parent() == 0))
itm->setParent(*it);
}
}
@ -550,12 +550,12 @@ void KileProject::buildProjectTree()
++it;
}
//make a list of all the root items (items with tqparent == 0)
//make a list of all the root items (items with parent == 0)
m_rootItems.clear();
it.toFirst();
while (it.current())
{
if ((*it)->tqparent() == 0) m_rootItems.append(*it);
if ((*it)->parent() == 0) m_rootItems.append(*it);
++it;
}
@ -728,10 +728,10 @@ bool KileProject::contains(const KileDocument::Info *info)
KileProjectItem *KileProject::rootItem(KileProjectItem *item) const
{
//find the root item (i.e. the eldest tqparent)
//find the root item (i.e. the eldest parent)
KileProjectItem *root = item;
while ( root->tqparent() != 0)
root = root->tqparent();
while ( root->parent() != 0)
root = root->parent();
//check if this root item is a LaTeX root
if ( root->getInfo() )

@ -92,7 +92,7 @@ protected:
void setSibling(KileProjectItem *item) { m_sibling = item; }
public:
KileProjectItem* tqparent() const { return m_parent; }
KileProjectItem* parent() const { return m_parent; }
KileProjectItem* firstChild() const { return m_child;}
KileProjectItem* sibling() const { return m_sibling; }

@ -55,8 +55,8 @@ const TQString whatsthisMaster = i18n("Select the default master document. Leave
const TQString tool_default = i18n("(use global setting)");
KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Extensions *extensions, TQWidget *tqparent, const char * name)
: KDialogBase( KDialogBase::Plain, caption, (Ok | Cancel), Ok, tqparent, name, true, true),
KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Extensions *extensions, TQWidget *parent, const char * name)
: KDialogBase( KDialogBase::Plain, caption, (Ok | Cancel), Ok, parent, name, true, true),
m_extmanager(extensions), m_project(0)
{
// properties groupbox
@ -200,8 +200,8 @@ void KileProjectDlgBase::fillProjectDefaults()
/*
* KileNewProjectDlg
*/
KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, KileDocument::Extensions *extensions, TQWidget* tqparent, const char* name)
: KileProjectDlgBase(i18n("Create New Project"), extensions, tqparent, name), m_templateManager(templateManager),
KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, KileDocument::Extensions *extensions, TQWidget* parent, const char* name)
: KileProjectDlgBase(i18n("Create New Project"), extensions, parent, name), m_templateManager(templateManager),
m_filename(TQString())
{
// Layout
@ -470,8 +470,8 @@ TemplateItem* KileNewProjectDlg::getSelection() const
/*
* KileProjectOptionsDlg
*/
KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument::Extensions *extensions, TQWidget *tqparent, const char * name) :
KileProjectDlgBase(i18n("Project Options"), extensions, tqparent, name )
KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument::Extensions *extensions, TQWidget *parent, const char * name) :
KileProjectDlgBase(i18n("Project Options"), extensions, parent, name )
{
// Layout
TQVBoxLayout *vbox = new TQVBoxLayout(plainPage(), 6,6 );

@ -43,7 +43,7 @@ class KileProjectDlgBase : public KDialogBase
TQ_OBJECT
public:
KileProjectDlgBase(const TQString &caption, KileDocument::Extensions *extensions, TQWidget *tqparent = 0, const char * name = 0);
KileProjectDlgBase(const TQString &caption, KileDocument::Extensions *extensions, TQWidget *parent = 0, const char * name = 0);
virtual ~KileProjectDlgBase();
void setProject(KileProject *project, bool override);
@ -89,7 +89,7 @@ class KileNewProjectDlg : public KileProjectDlgBase
TQ_OBJECT
public:
KileNewProjectDlg(KileTemplate::Manager *templateManager, KileDocument::Extensions *extensions, TQWidget* tqparent = 0, const char* name = 0);
KileNewProjectDlg(KileTemplate::Manager *templateManager, KileDocument::Extensions *extensions, TQWidget* parent = 0, const char* name = 0);
~KileNewProjectDlg();
KileProject* project();
@ -125,7 +125,7 @@ class KileProjectOptionsDlg : public KileProjectDlgBase
TQ_OBJECT
public:
KileProjectOptionsDlg(KileProject *project, KileDocument::Extensions *extensions, TQWidget *tqparent = 0, const char * name = 0);
KileProjectOptionsDlg(KileProject *project, KileDocument::Extensions *extensions, TQWidget *parent = 0, const char * name = 0);
~KileProjectOptionsDlg();
private slots:

@ -101,7 +101,7 @@ int KileProjectViewItem::compare(TQListViewItem * i, int col, bool ascending) co
/*
* KileProjectView
*/
KileProjectView::KileProjectView(TQWidget *tqparent, KileInfo *ki) : KListView(tqparent), m_ki(ki), m_nProjects(0), m_toggle(0)
KileProjectView::KileProjectView(TQWidget *parent, KileInfo *ki) : KListView(parent), m_ki(ki), m_nProjects(0), m_toggle(0)
{
addColumn(i18n("Files & Projects"),-1);
addColumn(i18n("Include in Archive"),10);
@ -358,17 +358,17 @@ void KileProjectView::makeTheConnection(KileProjectViewItem *item)
KileProjectViewItem* KileProjectView::folder(const KileProjectItem *pi, KileProjectViewItem *item)
{
KileProjectViewItem *tqparent = parentFor(pi, item);
KileProjectViewItem *parent = parentFor(pi, item);
if (tqparent == 0)
if (parent == 0)
{
kdError() << "no tqparent for " << pi->url().path() << endl;
kdError() << "no parent for " << pi->url().path() << endl;
return 0;
}
// we have already found the tqparent folder
if ( tqparent->type() == KileType::Folder )
return tqparent;
// we have already found the parent folder
if ( parent->type() == KileType::Folder )
return parent;
// we are looking at the tqchildren, if there is an existing folder for this type
KileProjectViewItem *folder;
@ -394,7 +394,7 @@ KileProjectViewItem* KileProjectView::folder(const KileProjectItem *pi, KileProj
// if there already a folder for this type on this level?
bool found = false;
folder = tqparent->firstChild();
folder = parent->firstChild();
while ( folder )
{
if ( folder->text(0) == foldername )
@ -408,8 +408,8 @@ KileProjectViewItem* KileProjectView::folder(const KileProjectItem *pi, KileProj
// if no folder was found, we must create a new one
if ( ! found )
{
folder = new KileProjectViewItem(tqparent,foldername);
KILE_DEBUG() << "new folder: " << tqparent->url().url() << endl;
folder = new KileProjectViewItem(parent,foldername);
KILE_DEBUG() << "new folder: " << parent->url().url() << endl;
folder->setFolder(pi->type());
folder->setType(KileType::Folder);
@ -420,16 +420,16 @@ KileProjectViewItem* KileProjectView::folder(const KileProjectItem *pi, KileProj
void KileProjectView::add(const KileProject *project)
{
KileProjectViewItem *tqparent = new KileProjectViewItem(this, project);
KileProjectViewItem *parent = new KileProjectViewItem(this, project);
tqparent->setType(KileType::Project);
tqparent->setURL(project->url());
tqparent->setOpen(true);
tqparent->setPixmap(0,SmallIcon("relation"));
makeTheConnection(tqparent);
parent->setType(KileType::Project);
parent->setURL(project->url());
parent->setOpen(true);
parent->setPixmap(0,SmallIcon("relation"));
makeTheConnection(parent);
//KileProjectViewItem *nonsrc = new KileProjectViewItem(tqparent, i18n("non-source"));
//tqparent->setNonSrc(nonsrc);
//KileProjectViewItem *nonsrc = new KileProjectViewItem(parent, i18n("non-source"));
//parent->setNonSrc(nonsrc);
refreshProjectTree(project);
@ -471,12 +471,12 @@ KileProjectViewItem * KileProjectView::itemFor(const KURL & url)
KileProjectViewItem* KileProjectView::parentFor(const KileProjectItem *projitem, KileProjectViewItem *projvi)
{
//find tqparent projectviewitem of projitem
KileProjectItem *parpi = projitem->tqparent();
//find parent projectviewitem of projitem
KileProjectItem *parpi = projitem->parent();
KileProjectViewItem *parpvi = projvi, *vi;
if (parpi) {
//find tqparent viewitem that has an URL parpi->url()
//find parent viewitem that has an URL parpi->url()
TQListViewItemIterator it( projvi );
KILE_DEBUG() << "\tlooking for " << parpi->url().path() << endl;
while (it.current())
@ -520,9 +520,9 @@ KileProjectViewItem* KileProjectView::add(KileProjectItem *projitem, KileProject
projvi= projectViewItemFor(project->url());
}
KILE_DEBUG() << "\ttqparent projectviewitem " << projvi->url().fileName() << endl;
KILE_DEBUG() << "\tparent projectviewitem " << projvi->url().fileName() << endl;
KileProjectViewItem *item, *tqparent;
KileProjectViewItem *item, *parent;
switch (projitem->type()) {
case (KileProjectItem::Source):
@ -531,15 +531,15 @@ KileProjectViewItem* KileProjectView::add(KileProjectItem *projitem, KileProject
item->setPixmap(0,SmallIcon("projectitem"));
break;
case (KileProjectItem::Package):
tqparent = folder(projitem, projvi);
item = new KileProjectViewItem(tqparent, projitem);
parent = folder(projitem, projvi);
item = new KileProjectViewItem(parent, projitem);
item->setType(KileType::ProjectItem);
item->setPixmap(0,SmallIcon("projectitem"));
break;
case (KileProjectItem::ProjectFile):
default:
tqparent = folder(projitem, projvi);
item = new KileProjectViewItem(tqparent, projitem);
parent = folder(projitem, projvi);
item = new KileProjectViewItem(parent, projitem);
item->setType(KileType::ProjectExtra);
item->setPixmap(0,SmallIcon( (projitem->type()==KileProjectItem::ProjectFile) ? "kile" : "file" ));
break;
@ -568,14 +568,14 @@ void KileProjectView::addTree(KileProjectItem *projitem, KileProjectViewItem * p
void KileProjectView::refreshProjectTree(const KileProject *project)
{
KILE_DEBUG() << "\tKileProjectView::refreshProjectTree(" << project->name() << ")" << endl;
KileProjectViewItem *tqparent= projectViewItemFor(project->url());
KileProjectViewItem *parent= projectViewItemFor(project->url());
//clean the tree
if (tqparent)
if (parent)
{
KILE_DEBUG() << "\tusing tqparent projectviewitem " << tqparent->url().fileName() << endl;
tqparent->setFolder(-1);
TQListViewItem *vi = tqparent->firstChild(), *next;
KILE_DEBUG() << "\tusing parent projectviewitem " << parent->url().fileName() << endl;
parent->setFolder(-1);
TQListViewItem *vi = parent->firstChild(), *next;
while (vi)
{
next = vi->nextSibling();
@ -587,18 +587,18 @@ void KileProjectView::refreshProjectTree(const KileProject *project)
return;
//create the non-sources dir
//KileProjectViewItem *nonsrc = new KileProjectViewItem(tqparent, i18n("non-sources"));
//tqparent->setNonSrc(nonsrc);
//KileProjectViewItem *nonsrc = new KileProjectViewItem(parent, i18n("non-sources"));
//parent->setNonSrc(nonsrc);
TQPtrList<KileProjectItem> list = *(project->rootItems());
TQPtrListIterator<KileProjectItem> it(list);
while (it.current())
{
addTree(*it, tqparent);
addTree(*it, parent);
++it;
}
tqparent->sortChildItems(0, true);
parent->sortChildItems(0, true);
}
void KileProjectView::add(const KURL & url)
@ -667,7 +667,7 @@ void KileProjectView::removeItem(const KileProjectItem *projitem, bool open)
if ( (item->type() == KileType::ProjectItem) && (item->projectItem() == projitem) )
{
KILE_DEBUG() << "removing projectviewitem" << endl;
item->tqparent()->takeItem(item);
item->parent()->takeItem(item);
delete item;
}
++it;

@ -36,24 +36,24 @@ class KileProjectViewItem : public TQObject, public KListViewItem
TQ_OBJECT
public:
KileProjectViewItem (TQListView *tqparent, KileProjectItem *item, bool ar = false) : KListViewItem(tqparent, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
KileProjectViewItem (TQListView *tqparent, TQListViewItem *after, KileProjectItem *item, bool ar = false) : KListViewItem(tqparent, after, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
KileProjectViewItem (TQListViewItem *tqparent, KileProjectItem *item, bool ar = false) : KListViewItem(tqparent, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
KileProjectViewItem (TQListView *parent, KileProjectItem *item, bool ar = false) : KListViewItem(parent, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
KileProjectViewItem (TQListView *parent, TQListViewItem *after, KileProjectItem *item, bool ar = false) : KListViewItem(parent, after, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
KileProjectViewItem (TQListViewItem *parent, KileProjectItem *item, bool ar = false) : KListViewItem(parent, item->url().fileName()), m_folder(-1), m_projectItem(item) { setArchiveState(ar);}
//use this to create folders
KileProjectViewItem (TQListViewItem *tqparent, const TQString & name) : KListViewItem(tqparent, name), m_folder(-1), m_projectItem(0L) {}
KileProjectViewItem (TQListViewItem *parent, const TQString & name) : KListViewItem(parent, name), m_folder(-1), m_projectItem(0L) {}
//use this to create non-project files
KileProjectViewItem (TQListView *tqparent, const TQString & name) : KListViewItem(tqparent, name), m_folder(-1), m_projectItem(0L) {}
KileProjectViewItem (TQListView *parent, const TQString & name) : KListViewItem(parent, name), m_folder(-1), m_projectItem(0L) {}
KileProjectViewItem (TQListView *tqparent, const KileProject *project) : KListViewItem(tqparent, project->name()), m_folder(-1), m_projectItem(0L) {}
KileProjectViewItem (TQListView *parent, const KileProject *project) : KListViewItem(parent, project->name()), m_folder(-1), m_projectItem(0L) {}
~KileProjectViewItem() {KILE_DEBUG() << "DELETING PROJVIEWITEM " << m_url.fileName() << endl;}
KileProjectItem* projectItem() { return m_projectItem; }
KileProjectViewItem* tqparent() { return dynamic_cast<KileProjectViewItem*>(KListViewItem::tqparent()); }
KileProjectViewItem* parent() { return dynamic_cast<KileProjectViewItem*>(KListViewItem::parent()); }
KileProjectViewItem* firstChild() { return dynamic_cast<KileProjectViewItem*>(KListViewItem::firstChild()); }
KileProjectViewItem* nextSibling() { return dynamic_cast<KileProjectViewItem*>(KListViewItem::nextSibling()); }
@ -102,7 +102,7 @@ class KileProjectView : public KListView
TQ_OBJECT
public:
KileProjectView(TQWidget *tqparent, KileInfo *ki);
KileProjectView(TQWidget *parent, KileInfo *ki);
signals:
void fileSelected(const KileProjectItem *);

@ -26,8 +26,8 @@
#include "symbolview.h"
KileSideBar::KileSideBar(int size, TQWidget *tqparent, const char *name, Qt::Orientation orientation /*=Qt::Vertical*/) :
TQFrame(tqparent, name),
KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orientation orientation /*=Qt::Vertical*/) :
TQFrame(parent, name),
m_nTabs(0),
m_nCurrent(0),
m_bMinimized(false),
@ -238,8 +238,8 @@ void KileSideBar::switchToTab(int id)
m_nCurrent = id;
}
KileBottomBar::KileBottomBar(int size, TQWidget *tqparent, const char *name) :
KileSideBar(size, tqparent, name, Qt::Horizontal)
KileBottomBar::KileBottomBar(int size, TQWidget *parent, const char *name) :
KileSideBar(size, parent, name, Qt::Horizontal)
{}
void KileBottomBar::shrink()

@ -34,7 +34,7 @@ class KileSideBar : public TQFrame
TQ_OBJECT
public:
KileSideBar(int size, TQWidget *tqparent = 0, const char *name = 0, Qt::Orientation orientation = Qt::Vertical);
KileSideBar(int size, TQWidget *parent = 0, const char *name = 0, Qt::Orientation orientation = Qt::Vertical);
~KileSideBar();
int addTab(TQWidget *tab, const TQPixmap &pic, const TQString &text = TQString());
@ -92,7 +92,7 @@ class KileBottomBar : public KileSideBar
TQ_OBJECT
public:
KileBottomBar(int size, TQWidget *tqparent = 0, const char *name = 0);
KileBottomBar(int size, TQWidget *parent = 0, const char *name = 0);
void shrink();
void expand();

@ -17,8 +17,8 @@
// A dialog that displays statistical information about the active project/file
KileStatsDlg::KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo, TQWidget* tqparent, const char* name, const TQString &caption)
: KDialogBase(KDialogBase::Tabbed,0,tqparent,name,true,caption, KDialogBase::Help | KDialogBase::Ok | KDialogBase::User1 | KDialogBase::User2 , KDialogBase::Ok, false),
KileStatsDlg::KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo, TQWidget* parent, const char* name, const TQString &caption)
: KDialogBase(KDialogBase::Tabbed,0,parent,name,true,caption, KDialogBase::Help | KDialogBase::Ok | KDialogBase::User1 | KDialogBase::User2 , KDialogBase::Ok, false),
m_project(project),
m_docinfo(docinfo)
{

@ -30,7 +30,7 @@
class KileStatsDlg : public KDialogBase
{
public:
KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo, TQWidget* tqparent = 0, const char* name = 0, const TQString &caption = TQString());
KileStatsDlg(KileProject *project, KileDocument::TextInfo* docinfo, TQWidget* parent = 0, const char* name = 0, const TQString &caption = TQString());
~KileStatsDlg();
private:

@ -26,13 +26,13 @@
#include <tqwhatsthis.h>
#include "kiledebug.h"
KileWidgetStatistics::KileWidgetStatistics( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
TQVBoxLayout *vbox = new TQVBoxLayout(tqparent, 5,KDialog::spacingHint() );
TQVBoxLayout *vbox = new TQVBoxLayout(parent, 5,KDialog::spacingHint() );
// characters groupbox
TQGroupBox *chargroup = new TQGroupBox( i18n("Characters"),tqparent);
TQGroupBox *chargroup = new TQGroupBox( i18n("Characters"),parent);
chargroup->setColumnLayout(0, Qt::Vertical );
chargroup->tqlayout()->setSpacing( 6 );
chargroup->tqlayout()->setMargin( 11 );
@ -66,7 +66,7 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* tqparent, const char* name
chargrouptqlayout->setColStretch(3,1);
// string groupbox
TQGroupBox *stringgroup = new TQGroupBox( i18n("Strings"),tqparent);
TQGroupBox *stringgroup = new TQGroupBox( i18n("Strings"),parent);
stringgroup->setColumnLayout(0, Qt::Vertical );
stringgroup->tqlayout()->setSpacing( 6 );
stringgroup->tqlayout()->setMargin( 11 );
@ -99,8 +99,8 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* tqparent, const char* name
stringgrouptqlayout->setColSpacing(3,1);
stringgrouptqlayout->setColStretch(3,1);
m_commentAboutHelp = new TQLabel(tqparent);
m_warning = new TQLabel(tqparent);
m_commentAboutHelp = new TQLabel(parent);
m_warning = new TQLabel(parent);
vbox->addWidget(chargroup);
vbox->addWidget(stringgroup);

@ -31,7 +31,7 @@ class KileWidgetStatistics : public TQWidget
TQ_OBJECT
public:
KileWidgetStatistics( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
KileWidgetStatistics( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~KileWidgetStatistics();
TQLabel* m_commentAboutHelp;

@ -7,7 +7,7 @@
//
// Author: Jeroen Wijnhout <Jeroen.Wijnhout@kdemail.net>, (C) 2003
//
// Copyright: See COPYING file that comes with tqparent distribution
// Copyright: See COPYING file that comes with parent distribution
//
/***************************************************************************
@ -30,344 +30,344 @@
namespace KileStdActions
{
void setupStdTags(KileInfo *ki, KMainWindow *tqparent)
void setupStdTags(KileInfo *ki, KMainWindow *parent)
{
(void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(), "tag_documentclass",
(void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(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 tqlayout.\n" ));
(void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_usepackage",
(void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, TQT_TQOBJECT(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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent),
TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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}"),"text_left",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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}"),"text_right",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_table","\\begin{table}\n","%E\n\\caption{}\n\\end{table} ",0,1,
(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("Center - \\begin{center}"),"text_center",0, TQT_TQOBJECT(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}"),"text_left",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}"),"text_right",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,
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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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, TQT_TQOBJECT(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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_titlepage" ,"\\begin{titlepage}\n","%E\n\\end{titlepage} ",0,1,
(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,
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{}"),"text_italic",TQt::ALT+TQt::SHIFT+TQt::Key_I, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_textsl","\\textsl{","}",8,0,i18n("\\textsl{slanted text}"));
new KileAction::Tag(i18n("Boldface - \\textbf{}"),"text_bold",TQt::ALT+TQt::SHIFT+TQt::Key_B, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_item","\\item ",TQString(),6,0, i18n("\\item[label] Hello!"));
(void) new KileAction::Tag(i18n("Tabbing - \\begin{tabbing}"),"tabbing",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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 tqalignment 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)),tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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\"Qt::Vertical Space - \\bigskip"), 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_medskip","\\medskip ",TQString(),9,0,i18n("The \\medskip command adds a 'medium' vertical space."));
new KileAction::Tag(i18n("Italics - \\textit{}"),"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{}"),"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 tqalignment 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\"Qt::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."));
// includegraphics (dani)
(void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", KShortcut("Alt+I,G"),TQT_TQOBJECT(tqparent), TQT_SLOT(includeGraphics()), tqparent->actionCollection(),"tag_includegraphics",0L);
(void) new KileAction::Tag(i18n("Image Insertion - \\includegraphics{file}"), "graphics", KShortcut("Alt+I,G"),TQT_TQOBJECT(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",KShortcut("Alt+I,F"), TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_include",tqparent, 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",KShortcut("Alt+I,P"), TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_input", tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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",KShortcut("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",KShortcut("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"));
KileAction::Select *actionstructure_list = new KileAction::Select(i18n("Sectioning"), 0, tqparent->actionCollection(), "structure_list");
KileAction::Select *actionstructure_list = new KileAction::Select(i18n("Sectioning"), 0, parent->actionCollection(), "structure_list");
TQPtrList<KAction> alist;
alist.append(new KileAction::InputTag(ki,"&part","part",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_part", tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_chapter" ,tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_section",tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_subsection" ,tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_subsubsection",tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_paragraph",tqparent, 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_subparagraph",tqparent, 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 , 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")));
actionstructure_list->setItems(alist);
actionstructure_list->setCurrentItem(2);
KileAction::Select *actionsize_list = new KileAction::Select(i18n("Size"), 0, tqparent->actionCollection(), "size_list");
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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{tiny}","\\end{tiny}",12,0));
alist.append(new KileAction::Tag(i18n("scriptsize"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{scriptsize}","\\end{scriptsize}",18,0));
alist.append(new KileAction::Tag(i18n("footnotesize"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{footnotesize}","\\end{footnotesize}",20,0));
alist.append(new KileAction::Tag(i18n("small"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{small}","\\end{small}",13,0));
alist.append(new KileAction::Tag(i18n("normalsize"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{normalsize}","\\end{normalsize}",18,0));
alist.append(new KileAction::Tag(i18n("large"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{large}","\\end{large}",13,0));
alist.append(new KileAction::Tag(i18n("Large"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{Large}","\\end{Large}",13,0));
alist.append(new KileAction::Tag(i18n("LARGE"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\begin{LARGE}","\\end{LARGE}",13,0));
alist.append(new KileAction::Tag(i18n("huge"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(), "","\\begin{huge}","\\end{huge}", 12,0));
alist.append(new KileAction::Tag(i18n("Huge"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(), "","\\begin{Huge}","\\end{Huge}", 12,0));
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));
actionsize_list->setItems(alist);
actionsize_list->setCurrentItem(4);
KileAction::Select *actionother_list = new KileAction::Select(i18n("Other"), 0, tqparent->actionCollection(), "other_list");
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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_label", "\\label{","} ",7,0,i18n("\\label{key}")));
alist.append(new KileAction::Tag("index", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_index","\\index{","}",7,0,i18n( "\\index{word}")));
alist.append(new KileAction::Tag("footnote",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_footnote", "\\footnote{","}",10,0,i18n( "\\footnote{text}")));
alist.append(new KileAction::InputTag(ki,"ref",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_ref", tqparent, KileAction::FromLabelList, "\\ref{%R", "}", 5,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"pageref",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_pageref", tqparent, KileAction::FromLabelList, "\\pageref{%R", "}", 9,0, TQString(), i18n("Label") ));
alist.append(new KileAction::InputTag(ki,"cite",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_cite", tqparent, 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 KAction(i18n("cite from ViewBib"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(citeViewBib()), tqparent->actionCollection(),"citeViewBib" ));
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 KAction(i18n("cite from ViewBib"),0, TQT_TQOBJECT(parent), TQT_SLOT(citeViewBib()), parent->actionCollection(),"citeViewBib" ));
actionother_list->setItems(alist);
(void) new KileAction::Tag(i18n("Underline - \\underline{}"),"text_under",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_underline", "\\underline{","}",11);
(void) new KileAction::Tag(i18n("Underline - \\underline{}"),"text_under",0 , TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_underline", "\\underline{","}",11);
TQString icon = ( locate("icon","default.kde/22x22/actions/key_enter.png").isEmpty() ) ? "newline" : "key_enter";
(void) new KAction(i18n("Smart New Line"), icon, TQt::SHIFT+TQt::Key_Return , ki->editorExtension(), TQT_SLOT(insertIntelligentNewline()), tqparent->actionCollection(),"tag_newline");
(void) new KAction(i18n("Smart Tabulator"), TQt::ALT+TQt::Key_Ampersand, ki->editorExtension(), TQT_SLOT(insertIntelligentTabulator()), tqparent->actionCollection(),"tag_tabulator" );
(void) new KAction(i18n("Smart New Line"), icon, TQt::SHIFT+TQt::Key_Return , ki->editorExtension(), TQT_SLOT(insertIntelligentNewline()), parent->actionCollection(),"tag_newline");
(void) new KAction(i18n("Smart Tabulator"), TQt::ALT+TQt::Key_Ampersand, ki->editorExtension(), TQT_SLOT(insertIntelligentTabulator()), parent->actionCollection(),"tag_tabulator" );
// new tags (dani 29.01.2005)
KActionCollection* ac = tqparent->actionCollection();
KActionCollection* ac = parent->actionCollection();
// environments
(void) new KileAction::Tag(i18n("Abstract - \\begin{abstract}"),0, TQT_TQOBJECT(tqparent), 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, 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("Tabular* - \\begin{tabular*}",0, TQT_TQOBJECT(tqparent), 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, 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(i18n("Minipage - \\begin{minipage}"),"minipage",0, TQT_TQOBJECT(tqparent), 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, 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."));
// lists
(void) new KileAction::Tag(i18n("Table of Figures - \\listoffigures"),0, TQT_TQOBJECT(tqparent), 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, 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 Tables - \\listoftables"),0, TQT_TQOBJECT(tqparent), 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, 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("Generate Index - \\makeindex"),0, TQT_TQOBJECT(tqparent), 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, 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("Print Index - \\printindex"),0, TQT_TQOBJECT(tqparent), 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, 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("Glossary - \\makeglossary"),0, TQT_TQOBJECT(tqparent), 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, 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("Bibliography - \\begin{thebibliography}",0, TQT_TQOBJECT(tqparent), 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, 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"));
// verbatim code
(void) new KileAction::Tag(i18n("Verbatim (show spaces) - \\begin{verbatim*}"),0, TQT_TQOBJECT(tqparent), 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, 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("Embedded Code - \\verb||"),"verb",0, TQT_TQOBJECT(tqparent), 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, 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 (show spaces) - \\verb*||"),0, TQT_TQOBJECT(tqparent), 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, TQT_TQOBJECT(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\"Qt::Vertical Space - \\smallskip"),0, TQT_TQOBJECT(tqparent), 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\"Qt::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("\\enskip",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_enskip", "\\enskip ", TQString(), 8);
(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(i18n("Horizontal Variable Space - \\hfill"),0, TQT_TQOBJECT(tqparent), 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, 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 Dots - \\dotfill"),0, TQT_TQOBJECT(tqparent), 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, 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 Rule - \\hrulefill"),0, TQT_TQOBJECT(tqparent), 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, 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("Vertical Variable Space - \\vfill"),0, TQT_TQOBJECT(tqparent), 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, 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("Horizontal Space - \\hspace{}"),0, TQT_TQOBJECT(tqparent), 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, 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 (forced) - \\hspace*{}"),0, TQT_TQOBJECT(tqparent), 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, 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("Vertical Space - \\vspace{}"),0, TQT_TQOBJECT(tqparent), 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, 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 (forced) - \\vspace*{}"),0, TQT_TQOBJECT(tqparent), 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, 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."));
// fonts
new KileAction::Tag(i18n("Emphasized - \\emph{}"),"emph",0, TQT_TQOBJECT(tqparent), 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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_strong","\\strong{","}",8,0,i18n("\\strong{text}"));
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}"));
(void) new KileAction::Tag("Roman - \\rmfamily",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_rmfamily", "\\rmfamily", TQString(), 9);
(void) new KileAction::Tag("Sansserif - \\sffamily",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sffamily", "\\sffamily", TQString(), 9);
(void) new KileAction::Tag("Monospace - \\ttfamily",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ttfamily", "\\ttfamily", TQString(), 9);
(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("Medium - \\mdseries",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_mdseries", "\\mdseries", TQString(), 9);
(void) new KileAction::Tag("Bold - \\bfseries",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bfseries", "\\bfseries", 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("Upright - \\uptqshape",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_uptqshape", "\\uptqshape", TQString(), 8);
(void) new KileAction::Tag("Italic - \\ittqshape",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ittqshape", "\\ittqshape", TQString(), 8);
(void) new KileAction::Tag("Slanted - \\sltqshape",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sltqshape", "\\sltqshape", TQString(), 8);
(void) new KileAction::Tag("Smallcaps - \\sctqshape",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sctqshape", "\\sctqshape", TQString(), 8);
(void) new KileAction::Tag("Upright - \\uptqshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_uptqshape", "\\uptqshape", TQString(), 8);
(void) new KileAction::Tag("Italic - \\ittqshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_ittqshape", "\\ittqshape", TQString(), 8);
(void) new KileAction::Tag("Slanted - \\sltqshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sltqshape", "\\sltqshape", TQString(), 8);
(void) new KileAction::Tag("Smallcaps - \\sctqshape",0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_sctqshape", "\\sctqshape", TQString(), 8);
}
void setupBibTags(KMainWindow *tqparent)
void setupBibTags(KMainWindow *parent)
{
(void) new KileAction::Tag(i18n("Article in Journal"),0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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 , 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 setupMathTags(KMainWindow *tqparent)
void setupMathTags(KMainWindow *parent)
{
(void) new KileAction::Tag("\\mathrm{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathrm","\\mathrm{","}",8);
(void) new KileAction::Tag("\\mathit{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathit" ,"\\mathit{","}",8);
(void) new KileAction::Tag("\\mathbf{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathbf" ,"\\mathbf{","}",8);
(void) new KileAction::Tag("\\mathsf{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathsf" ,"\\mathsf{","}",8);
(void) new KileAction::Tag("\\mathtt{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathtt" ,"\\mathtt{","}",8);
(void) new KileAction::Tag("\\mathcal{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathcal" ,"\\mathcal{","}",9);
(void) new KileAction::Tag("\\mathbb{}", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathbb" ,"\\mathbb{","}",8);
(void) new KileAction::Tag("\\mathfrak{}",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathfrak" ,"\\mathfrak{","}",10);
(void) new KileAction::Tag("\\acute{}","acute",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_acute", "\\acute{","}",7);
(void) new KileAction::Tag("\\grave{}","grave",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_grave", "\\grave{","}", 7);
(void) new KileAction::Tag("\\tilde{}","tilde",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_tilde", "\\tilde{","}", 7);
(void) new KileAction::Tag("\\bar{}","bar", 0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_bar", "\\bar{","}", 5);
(void) new KileAction::Tag("\\vec{}","vec", 0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_vec", "\\vec{","}", 5);
(void) new KileAction::Tag("\\hat{}","hat", 0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_hat", "\\hat{","}", 5);
(void) new KileAction::Tag("\\check{}","check",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_check", "\\check{","}", 7);
(void) new KileAction::Tag("\\breve{}","breve",0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_breve", "\\breve{","}", 7);
(void) new KileAction::Tag("\\dot{}","dot", 0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_dot", "\\dot{","}", 5);
(void) new KileAction::Tag("\\ddot{}","ddot", 0 , TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_ddot", "\\ddot{","}", 6);
(void) new KileAction::Tag(i18n("small"), 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_space_small", "\\,", TQString(), 2);
(void) new KileAction::Tag(i18n("medium"), 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_space_medium", "\\:", TQString(),2);
(void) new KileAction::Tag(i18n("large"), 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_space_large", "\\;", TQString(),2);
(void) new KileAction::Tag("\\quad", 0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_quad", "\\quad ", TQString(), 6);
(void) new KileAction::Tag("\\qquad",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_qquad", "\\qquad ", TQString(), 7);
(void) new KileAction::Tag(i18n("Math Mode - $...$"),"mathmode",TQt::ALT+TQt::SHIFT+TQt::Key_M, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_mathmode","$","$",1);
(void) new KileAction::Tag("Displaymath Mode - \\[...\\]", "displaymathmode",TQt::ALT+TQt::SHIFT+TQt::Key_E, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_equation", "\\[","\\]", 2);
(void) new KileAction::Tag(i18n("Equation - \\begin{equation}"),"equation",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_subscript","_{","}",2);
(void) new KileAction::Tag(i18n("Superscript - ^{}"),"math_lsub",TQt::ALT+TQt::SHIFT+TQt::Key_U, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_superscript","^{","}",2);
(void) new KileAction::Tag(i18n("Normal - \\frac{}{}"),"smallfrac",TQt::ALT+TQt::SHIFT+TQt::Key_F, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_frac", "\\frac{","}{}",6);
(void) new KileAction::Tag(i18n("Displaystyle - \\dfrac{}{}"),"dfrac",TQt::ALT+TQt::SHIFT+TQt::Key_Q, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_dfrac", "\\dfrac{","}{}", 7);
(void) new KileAction::Tag(i18n("Square Root - \\sqrt{}"),"math_sqrt",TQt::ALT+TQt::SHIFT+TQt::Key_S, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_sqrt", "\\sqrt{","}", 6);
(void) new KileAction::Tag("\\left",TQt::ALT+TQt::SHIFT+TQt::Key_L, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_left", "\\left", TQString(), 5);
(void) new KileAction::Tag("\\right",TQt::ALT+TQt::SHIFT+TQt::Key_R, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_right", "\\right", TQString(), 6);
(void) new KileAction::Tag(i18n("Array - \\begin{array}"),"array",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"tag_env_array", "\\begin{array}{}\n", "%E\n\\end{array}", 14, 0,
(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,
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<KAction> alist;
KileAction::Select *actionleft_list = new KileAction::Select(i18n("Left Delimiter"), 0, tqparent->actionCollection(), "left_list");
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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left( ",TQString(),7,0));
alist.append(new KileAction::Tag("left [",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left[ ",TQString(),7,0));
alist.append(new KileAction::Tag("left {",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left <",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("left )",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left) ",TQString(),7,0));
alist.append(new KileAction::Tag("left ]",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left] ",TQString(),7,0));
alist.append(new KileAction::Tag("left }",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("left >",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\left\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("left .",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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[ ",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));
actionleft_list->setItems(alist);
KileAction::Select *actionright_list = new KileAction::Select(i18n("Right Delimiter"), 0, tqparent->actionCollection(), "right_list");
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(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right) ",TQString(),8,0));
alist.append(new KileAction::Tag("right ]",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right] ",TQString(),8,0));
alist.append(new KileAction::Tag("right }",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right\\rbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right >",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right\\rangle ",TQString(),14,0));
alist.append(new KileAction::Tag("right (",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right( ",TQString(),8,0));
alist.append(new KileAction::Tag("right [",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right[ ",TQString(),8,0));
alist.append(new KileAction::Tag("right {",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right\\lbrace ",TQString(),14,0));
alist.append(new KileAction::Tag("right <",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->actionCollection(),"","\\right\\langle ",TQString(),14,0));
alist.append(new KileAction::Tag("right.",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), tqparent->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] ",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));
actionright_list->setItems(alist);
// new math tags (dani 29.01.2005)
KActionCollection* ac = tqparent->actionCollection();
KActionCollection* ac = parent->actionCollection();
(void) new KileAction::Tag(i18n("Textstyle - \\tfrac{}{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tfrac", "\\tfrac{","}{}", 7);
(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("Normal - \\binom{}{}"),"binom",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_binom", "\\binom{","}{}", 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("Displaystyle - \\dbinom{}{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_dbinom", "\\dbinom{","}{}", 8);
(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("Textstyle - \\tbinom{}{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_tbinom", "\\tbinom{","}{}", 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("n-th root - \\sqrt[]{}"),"nroot",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_nroot", "\\sqrt[]{","}", 6);
(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("Left-Right - \\left(..\\right)",0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_leftright", "\\left( \\right)", TQString(), 7);
(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(i18n("Extendable Left Arrow - \\xleftarrow{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xleftarrow", "\\xleftarrow{","}", 12);
(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 Right Arrow - \\xrightarrow{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_xrightarrow", "\\xrightarrow{","}", 13);
(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("Boxed Formula - \\boxed{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_boxed", "\\boxed{","}", 7);
(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("bigl - \\bigl"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigl", "\\bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigl - \\Bigl"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigl", "\\Bigl",TQString(), 5);
(void) new KileAction::Tag(i18n("biggl - \\biggl"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggl", "\\biggl",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggl - \\Biggl"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggl", "\\Biggl",TQString(), 6);
(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("bigr - \\bigr"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_bigr", "\\bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("Bigr - \\Bigr"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Bigr", "\\Bigr",TQString(), 5);
(void) new KileAction::Tag(i18n("biggr - \\biggr"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_biggr", "\\biggr",TQString(), 6);
(void) new KileAction::Tag(i18n("Biggr - \\Biggr"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertTag(const KileAction::TagData&)), ac,"tag_Biggr", "\\Biggr",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);
// text in mathmode
(void) new KileAction::Tag(i18n("Text in Mathmode - \\text{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_text", "\\text{","}", 6);
(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("Intertext - \\intertext{}"),0, TQT_TQOBJECT(tqparent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)), ac,"tag_intertext", "\\intertext{","}\n", 11);
(void) new KileAction::Tag(i18n("Intertext - \\intertext{}"),0, TQT_TQOBJECT(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(tqparent), 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, 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("Equation (not numbered) - \\begin{equation*}"),0, TQT_TQOBJECT(tqparent), 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, TQT_TQOBJECT(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(tqparent), 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(tqparent), 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, 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("Split - \\begin{split}"),0, TQT_TQOBJECT(tqparent), 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, 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("Gather - \\begin{gather}"),0, TQT_TQOBJECT(tqparent), 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(tqparent), 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, 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("Align - \\begin{align}"),0, TQT_TQOBJECT(tqparent), 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(tqparent), 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, 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("Flalign - \\begin{flalign}"),0, TQT_TQOBJECT(tqparent), 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(tqparent), 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, 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("Alignat - \\begin{alignat}"),0, TQT_TQOBJECT(tqparent), 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(tqparent), 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, 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("Aligned - \\begin{aligned}"),0, TQT_TQOBJECT(tqparent), 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(tqparent), 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(tqparent), 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, 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("Cases - \\begin{cases}"),0, TQT_TQOBJECT(tqparent), 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, TQT_TQOBJECT(parent), TQT_SLOT(insertAmsTag(const KileAction::TagData&)),ac,"tag_env_cases","\\begin{cases}\n","%E\n\\end{cases}\n", 0,1);
}

@ -23,9 +23,9 @@ class KMainWindow;
namespace KileStdActions
{
void setupStdTags(KileInfo *ki, KMainWindow *tqparent);
void setupBibTags(KMainWindow *tqparent);
void setupMathTags(KMainWindow *tqparent);
void setupStdTags(KileInfo *ki, KMainWindow *parent);
void setupBibTags(KMainWindow *parent);
void setupMathTags(KMainWindow *parent);
}
#endif

@ -81,21 +81,21 @@
////////////////////// KileListViewItem with all info //////////////////////
KileListViewItem::KileListViewItem(TQListViewItem * tqparent, TQListViewItem * after, const TQString &title, const KURL &url, uint line, uint column, int type, int level, uint startline, uint startcol) :
KListViewItem(tqparent,after),
KileListViewItem::KileListViewItem(TQListViewItem * parent, TQListViewItem * after, const TQString &title, const KURL &url, uint line, uint column, int type, int level, uint startline, uint startcol) :
KListViewItem(parent,after),
m_title(title), m_url(url), m_line(line), m_column(column), m_type(type), m_level(level),
m_startline(startline), m_startcol(startcol)
{
setItemEntry();
}
KileListViewItem::KileListViewItem(TQListView * tqparent, const TQString & label) :
KListViewItem(tqparent,label),
KileListViewItem::KileListViewItem(TQListView * parent, const TQString & label) :
KListViewItem(parent,label),
m_title(label), m_url(KURL()), m_line(0), m_column(0), m_type(KileStruct::None), m_level(0)
{}
KileListViewItem::KileListViewItem(TQListViewItem * tqparent, const TQString & label) :
KListViewItem(tqparent,label),
KileListViewItem::KileListViewItem(TQListViewItem * parent, const TQString & label) :
KListViewItem(parent,label),
m_title(label), m_url(KURL()), m_line(0), m_column(0), m_type(KileStruct::None), m_level(0)
{}
@ -133,7 +133,7 @@ void KileListViewToolTip::maybeTip(const TQPoint &p)
{
tip(rect,i18n("Label: ") + item->label());
}
else if ( item->line()==0 && item->column()==0 && item->tqparent()==0L ) // only root
else if ( item->line()==0 && item->column()==0 && item->parent()==0L ) // only root
{
tip(rect,i18n("Click left to jump to the line. A double click will open\n a text file or a graphics file. When a label is assigned\nto this item, it will be shown when the mouse is over\nthis item. Items for a graphics file or an assigned label\nalso offer a context menu (right mouse button)."));
}
@ -280,7 +280,7 @@ namespace KileWidget
bool StructureList::shouldBeOpen(KileListViewItem *item, const TQString & folder, int level)
{
if ( item->tqparent() == 0L )
if ( item->parent() == 0L )
return true;
if ( folder == "labels" )
{
@ -504,11 +504,11 @@ namespace KileWidget
m_lastType = type;
m_lastLine = line;
//find the tqparent for the new element
//find the parent for the new element
KileListViewItem *parentItem = ( type==KileStruct::BeamerBeginBlock && m_lastFrameEnv ) ? m_lastFrameEnv : parentFor(lev, fldr);
if ( parentItem == 0L )
{
KMessageBox::error(0,i18n("Can't create ListviewItem: no tqparent found."));
KMessageBox::error(0,i18n("Can't create ListviewItem: no parent found."));
return;
}
@ -597,8 +597,8 @@ namespace KileWidget
////////////////////// Structure: TQWidgetStack //////////////////////
Structure::Structure(KileInfo *ki, TQWidget * tqparent, const char * name) :
TQWidgetStack(tqparent,name),
Structure::Structure(KileInfo *ki, TQWidget * parent, const char * name) :
TQWidgetStack(parent,name),
m_ki(ki),
m_docinfo(0L)
{
@ -640,7 +640,7 @@ namespace KileWidget
if (! (item->type() & KileStruct::None ))
emit(setCursor(item->url(), item->line()-1, item->column()));
else if ( item->tqparent() == 0L ) //root item
else if ( item->parent() == 0L ) //root item
emit(setCursor(item->url(), 0, 0));
}

@ -49,9 +49,9 @@ class TQListViewItem;
class KileListViewItem : public KListViewItem
{
public:
KileListViewItem(TQListViewItem * tqparent, TQListViewItem * after, const TQString &title, const KURL &url, uint line, uint m_column, int type, int level, uint startline, uint startcol);
KileListViewItem(TQListView * tqparent, const TQString & label);
KileListViewItem(TQListViewItem * tqparent, const TQString & label);
KileListViewItem(TQListViewItem * parent, TQListViewItem * after, const TQString &title, const KURL &url, uint line, uint m_column, int type, int level, uint startline, uint startcol);
KileListViewItem(TQListView * parent, const TQString & label);
KileListViewItem(TQListViewItem * parent, const TQString & label);
/** @returns the title of this element (for a label it return the label), without the (line ...) part **/
const TQString& title() const { return m_title; }
@ -179,7 +179,7 @@ namespace KileWidget
TQ_OBJECT
public:
Structure(KileInfo *, TQWidget * tqparent, const char * name = 0);
Structure(KileInfo *, TQWidget * parent, const char * name = 0);
~Structure();
int level();

@ -49,8 +49,8 @@
namespace KileWidget
{
ToolConfig::ToolConfig(KileTool::Manager *mngr, TQWidget *tqparent, const char *name) :
TQWidget(tqparent, name),
ToolConfig::ToolConfig(KileTool::Manager *mngr, TQWidget *parent, const char *name) :
TQWidget(parent, name),
m_manager(mngr)
{
m_config = m_manager->config();

@ -43,7 +43,7 @@ namespace KileWidget
enum GeneralExtraStack { GES_None = 1, GES_LaTeX/*, GES_ViewBib*/ };
public:
ToolConfig(KileTool::Manager *mngr, TQWidget *tqparent, const char * name = 0);
ToolConfig(KileTool::Manager *mngr, TQWidget *parent, const char * name = 0);
public slots:
void writeConfig();

@ -53,8 +53,8 @@
namespace KileView
{
Manager::Manager(KileInfo *info, TQObject *tqparent, const char *name) :
TQObject(tqparent, name),
Manager::Manager(KileInfo *info, TQObject *parent, const char *name) :
TQObject(parent, name),
m_ki(info),
m_activeTextView(0L),
// m_projectview(0L),
@ -84,14 +84,14 @@ void Manager::setClient(TQObject *receiver, KXMLGUIClient *client)
TQT_SLOT(quickPreviewPopup()), m_client->actionCollection(), "popup_quickpreview");
}
void Manager::createTabs(TQWidget *tqparent)
void Manager::createTabs(TQWidget *parent)
{
m_widgetStack = new TQWidgetStack(tqparent);
m_emptyDropWidget = new DropWidget(tqparent);
m_widgetStack = new TQWidgetStack(parent);
m_emptyDropWidget = new DropWidget(parent);
m_widgetStack->addWidget(m_emptyDropWidget);
connect(m_emptyDropWidget, TQT_SIGNAL(testCanDecode(const TQDragMoveEvent *, bool &)), this, TQT_SLOT(testCanDecodeURLs(const TQDragMoveEvent *, bool &)));
connect(m_emptyDropWidget, TQT_SIGNAL(receivedDropEvent(TQDropEvent *)), m_ki->docManager(), TQT_SLOT(openDroppedURLs(TQDropEvent *)));
m_tabs = new KTabWidget(tqparent);
m_tabs = new KTabWidget(parent);
m_widgetStack->addWidget(m_tabs);
m_tabs->setFocusPolicy(TQ_ClickFocus);
m_tabs->setTabReorderingEnabled(true);
@ -534,7 +534,7 @@ void Manager::urlChanged(KileDocument::Info* info, const KURL& /*url*/)
}
}
DropWidget::DropWidget(TQWidget * tqparent, const char * name, WFlags f) : TQWidget(tqparent, name, f)
DropWidget::DropWidget(TQWidget * parent, const char * name, WFlags f) : TQWidget(parent, name, f)
{
setAcceptDrops(true);
}

@ -54,7 +54,7 @@ class Manager : public TQObject
TQ_OBJECT
public:
Manager(KileInfo *ki, TQObject *tqparent = 0, const char *name = 0);
Manager(KileInfo *ki, TQObject *parent = 0, const char *name = 0);
~Manager();
@ -134,7 +134,7 @@ class DropWidget : public TQWidget {
TQ_OBJECT
public:
DropWidget(TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0);
DropWidget(TQWidget * parent = 0, const char * name = 0, WFlags f = 0);
virtual ~DropWidget();
virtual void dragMoveEvent(TQDragMoveEvent *e);

@ -17,8 +17,8 @@
namespace KileDialog
{
Wizard::Wizard(KConfig *config, TQWidget *tqparent, const char *name, const TQString &caption) :
KDialogBase(tqparent,name,true,caption,KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true),
Wizard::Wizard(KConfig *config, TQWidget *parent, const char *name, const TQString &caption) :
KDialogBase(parent,name,true,caption,KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true),
m_td(TQString(), TQString(), TQString(), 0, 0, TQString()),
m_config(config)
{

@ -27,7 +27,7 @@ namespace KileDialog
class Wizard : public KDialogBase
{
public:
Wizard(KConfig *, TQWidget *tqparent=0, const char *name=0, const TQString &caption = TQString());
Wizard(KConfig *, TQWidget *parent=0, const char *name=0, const TQString &caption = TQString());
~Wizard();
public:

@ -38,11 +38,11 @@ namespace KileDialog
// BEGIN NewLatexCommand
NewLatexCommand::NewLatexCommand(TQWidget *tqparent, const TQString &caption,
NewLatexCommand::NewLatexCommand(TQWidget *parent, const TQString &caption,
const TQString &groupname, KListViewItem *lvitem,
KileDocument::CmdAttribute cmdtype,
TQMap<TQString,bool> *dict)
: KDialogBase( tqparent,0, true, caption, Ok | Cancel, Ok, true ),
: KDialogBase( parent,0, true, caption, Ok | Cancel, Ok, true ),
m_dict(dict)
{
// 'add' is only allowed, if the KListViewItem is defined
@ -300,8 +300,8 @@ void NewLatexCommand::slotOk()
//BEGIN LatexCommandsDialog
LatexCommandsDialog::LatexCommandsDialog(KConfig *config, KileDocument::LatexCommands *commands, TQWidget *tqparent, const char *name)
: KDialogBase( tqparent,name, true, i18n("LaTeX Configuration"), Ok | Cancel | Help, Ok, true ),
LatexCommandsDialog::LatexCommandsDialog(KConfig *config, KileDocument::LatexCommands *commands, TQWidget *parent, const char *name)
: KDialogBase( parent,name, true, i18n("LaTeX Configuration"), Ok | Cancel | Help, Ok, true ),
m_config(config), m_commands(commands)
{
TQWidget *page = new TQWidget( this );
@ -429,20 +429,20 @@ void LatexCommandsDialog::resetListviews()
{
if ( m_commands->commandAttributes(*it,attr) )
{
KListViewItem *tqparent;
KListViewItem *parent;
switch ( attr.type ) {
case KileDocument::CmdAttrAmsmath: tqparent = m_lviAmsmath; break;
case KileDocument::CmdAttrMath: tqparent = m_lviMath; break;
case KileDocument::CmdAttrList: tqparent = m_lviList; break;
case KileDocument::CmdAttrTabular: tqparent = m_lviTabular; break;
case KileDocument::CmdAttrVerbatim: tqparent = m_lviVerbatim; break;
case KileDocument::CmdAttrLabel: tqparent = m_lviLabels; break;
case KileDocument::CmdAttrReference: tqparent = m_lviReferences; break;
case KileDocument::CmdAttrCitations: tqparent = m_lviCitations; break;
case KileDocument::CmdAttrIncludes: tqparent = m_lviInputs; break;
case KileDocument::CmdAttrAmsmath: parent = m_lviAmsmath; break;
case KileDocument::CmdAttrMath: parent = m_lviMath; break;
case KileDocument::CmdAttrList: parent = m_lviList; break;
case KileDocument::CmdAttrTabular: parent = m_lviTabular; break;
case KileDocument::CmdAttrVerbatim: parent = m_lviVerbatim; break;
case KileDocument::CmdAttrLabel: parent = m_lviLabels; break;
case KileDocument::CmdAttrReference: parent = m_lviReferences; break;
case KileDocument::CmdAttrCitations: parent = m_lviCitations; break;
case KileDocument::CmdAttrIncludes: parent = m_lviInputs; break;
default: continue;
}
setEntry(tqparent,*it,attr);
setEntry(parent,*it,attr);
}
}
}
@ -495,14 +495,14 @@ bool LatexCommandsDialog::isParentItem(KListViewItem *item)
////////////////////////////// entries //////////////////////////////
void LatexCommandsDialog::setEntry(KListViewItem *tqparent,const TQString &name,
void LatexCommandsDialog::setEntry(KListViewItem *parent,const TQString &name,
KileDocument::LatexCmdAttributes &attr)
{
// set dictionary
m_dictCommands[name] = attr.standard;
// create an item
KListViewItem *item = new KListViewItem(tqparent,name);
KListViewItem *item = new KListViewItem(parent,name);
// always set the starred entry
if ( attr.starred )
@ -652,7 +652,7 @@ void LatexCommandsDialog::slotAddClicked()
KileDocument::LatexCmdAttributes attr;
dialog->getParameter(name,attr);
setEntry((KListViewItem *)item,name,attr);
// open this tqparent item
// open this parent item
if ( !item->isOpen() )
{
item->setOpen(true);
@ -713,7 +713,7 @@ void LatexCommandsDialog::slotEditClicked()
KListViewItem *item = (KListViewItem *)listview->selectedItem();
if ( item && !isParentItem(item) )
{
KListViewItem *parentitem = (KListViewItem *)item->tqparent();
KListViewItem *parentitem = (KListViewItem *)item->parent();
if ( parentitem )
{
// get current command type
@ -812,11 +812,11 @@ void LatexCommandsDialog::writeConfig(KListView *listview, const TQString &group
// scan the listview for non standard entries
for ( TQListViewItem *cur=listview->firstChild(); cur; cur=cur->nextSibling() )
{
// get the type of the tqparent entry
// get the type of the parent entry
attr.type = getCommandMode((KListViewItem *)cur);
if ( attr.type == KileDocument::CmdAttrNone )
{
KILE_DEBUG() << "\tLatexCommandsDialog error: no tqparent item (" << cur->text(0) << ")" << endl;
KILE_DEBUG() << "\tLatexCommandsDialog error: no parent item (" << cur->text(0) << ")" << endl;
continue;
}
@ -874,7 +874,7 @@ void LatexCommandsDialog::resetCommands()
setListviewStates(states);
}
// states of all tqparent items
// states of all parent items
void LatexCommandsDialog::getListviewStates(bool states[])
{

@ -45,7 +45,7 @@ class NewLatexCommand : public KDialogBase
TQ_OBJECT
public:
NewLatexCommand(TQWidget *tqparent, const TQString &caption,
NewLatexCommand(TQWidget *parent, const TQString &caption,
const TQString &groupname, KListViewItem *lvitem,
KileDocument::CmdAttribute cmdtype, TQMap<TQString,bool> *dict);
~NewLatexCommand() {}
@ -72,7 +72,7 @@ class LatexCommandsDialog : public KDialogBase
TQ_OBJECT
public:
LatexCommandsDialog(KConfig *config, KileDocument::LatexCommands *commands, TQWidget *tqparent=0, const char *name=0);
LatexCommandsDialog(KConfig *config, KileDocument::LatexCommands *commands, TQWidget *parent=0, const char *name=0);
~LatexCommandsDialog() {}
//enum EnvParameter { envName,envStarred,envEOL,envMath,envTab,envOption };
@ -98,7 +98,7 @@ private:
KileDocument::CmdAttribute getCommandMode(KListViewItem *item);
bool isParentItem(KListViewItem *item);
void setEntry(KListViewItem *tqparent,const TQString &name,KileDocument::LatexCmdAttributes &attr);
void setEntry(KListViewItem *parent,const TQString &name,KileDocument::LatexCmdAttributes &attr);
void getEntry(KListViewItem *item,KileDocument::LatexCmdAttributes &attr);
bool isUserDefined(const TQString &name);

@ -51,7 +51,7 @@ class TemplateListViewItem : public TQListViewItem {
};
// dialog to create a template
ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateManager, const KURL& sourceURL, const TQString &caption, TQWidget *tqparent, const char *name ) : KDialogBase(tqparent,name,true,caption,KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_sourceURL(sourceURL) {
ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateManager, const KURL& sourceURL, const TQString &caption, TQWidget *parent, const char *name ) : KDialogBase(parent,name,true,caption,KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_sourceURL(sourceURL) {
m_templateType = KileDocument::Extensions().determineDocumentType(sourceURL);
@ -117,7 +117,7 @@ ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateMana
}
// dialog to remove a template
ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateManager, const TQString &caption, TQWidget *tqparent, const char *name ) : KDialogBase(tqparent,name,true,caption,KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_templateType(KileDocument::Undefined), m_showAllTypesCheckBox(NULL)
ManageTemplatesDialog::ManageTemplatesDialog(KileTemplate::Manager *templateManager, const TQString &caption, TQWidget *parent, const char *name ) : KDialogBase(parent,name,true,caption,KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_templateType(KileDocument::Undefined), m_showAllTypesCheckBox(NULL)
{
TQWidget *page = new TQWidget(this, "managetemplates_mainwidget");
setMainWidget(page);

@ -39,8 +39,8 @@ class ManageTemplatesDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
ManageTemplatesDialog(KileTemplate::Manager *templateManager, const KURL& sourceURL, const TQString &caption,TQWidget *tqparent=0, const char *name=0);
ManageTemplatesDialog(KileTemplate::Manager *templateManager, const TQString &caption,TQWidget *tqparent=0, const char *name=0);
ManageTemplatesDialog(KileTemplate::Manager *templateManager, const KURL& sourceURL, const TQString &caption,TQWidget *parent=0, const char *name=0);
ManageTemplatesDialog(KileTemplate::Manager *templateManager, const TQString &caption,TQWidget *parent=0, const char *name=0);
virtual ~ManageTemplatesDialog();
public slots:

@ -31,8 +31,8 @@
namespace KileDialog
{
MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *tqparent, KConfig *config, KileInfo *ki, KileDocument::LatexCommands *commands)
: Wizard(config,tqparent), m_ki(ki), m_latexCommands(commands)
MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *parent, KConfig *config, KileInfo *ki, KileDocument::LatexCommands *commands)
: Wizard(config,parent), m_ki(ki), m_latexCommands(commands)
{
TQWidget *page = new TQWidget(this);
setMainWidget(page);

@ -42,7 +42,7 @@ class MathEnvironmentDialog : public Wizard
TQ_OBJECT
public:
MathEnvironmentDialog(TQWidget *tqparent, KConfig *config, KileInfo *ki, KileDocument::LatexCommands *commands);
MathEnvironmentDialog(TQWidget *parent, KConfig *config, KileInfo *ki, KileDocument::LatexCommands *commands);
~MathEnvironmentDialog() {}
public slots:

@ -36,8 +36,8 @@
#define BIBTEX_TYPE 1
#define SCRIPT_TYPE 2
NewFileWizard::NewFileWizard(KileTemplate::Manager *templateManager, TQWidget *tqparent, const char *name )
: KDialogBase(tqparent,name,true,i18n("New File"),KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_currentlyDisplayedType(-1)
NewFileWizard::NewFileWizard(KileTemplate::Manager *templateManager, TQWidget *parent, const char *name )
: KDialogBase(parent,name,true,i18n("New File"),KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true), m_templateManager(templateManager), m_currentlyDisplayedType(-1)
{
// first read config
m_config = kapp->config();

@ -35,7 +35,7 @@ class NewFileWizard : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
NewFileWizard(KileTemplate::Manager *manager, TQWidget *tqparent=0, const char *name=0);
NewFileWizard(KileTemplate::Manager *manager, TQWidget *parent=0, const char *name=0);
~NewFileWizard();
public:

@ -42,11 +42,11 @@
namespace KileDialog
{
PostscriptDialog::PostscriptDialog(TQWidget *tqparent,
PostscriptDialog::PostscriptDialog(TQWidget *parent,
const TQString &texfilename,const TQString &startdir,
const TQString &latexextensions,
KileWidget::LogMsg *log,KileWidget::Output *output) :
KDialogBase( tqparent,0, true, i18n("Rearrange Postscript File"), User1 | Ok, User1, true ),
KDialogBase( parent,0, true, i18n("Rearrange Postscript File"), User1 | Ok, User1, true ),
m_startdir(startdir),
m_log(log),
m_output(output),

@ -58,7 +58,7 @@ class PostscriptDialog : public KDialogBase
TQ_OBJECT
public:
PostscriptDialog(TQWidget *tqparent,
PostscriptDialog(TQWidget *parent,
const TQString &texfilename,const TQString &startdir,
const TQString &latexextensions,
KileWidget::LogMsg *log, KileWidget::Output *output);

@ -28,8 +28,8 @@
#include "kileconfig.h"
KileWidgetPreviewConfig::KileWidgetPreviewConfig(KConfig *config, KileTool::QuickPreview *preview, TQWidget *tqparent, const char *name )
: TQWidget(tqparent,name),
KileWidgetPreviewConfig::KileWidgetPreviewConfig(KConfig *config, KileTool::QuickPreview *preview, TQWidget *parent, const char *name )
: TQWidget(parent,name),
m_config(config),
m_preview(preview)
{

@ -35,7 +35,7 @@ class KileWidgetPreviewConfig : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
KileWidgetPreviewConfig(KConfig *config, KileTool::QuickPreview *preview, TQWidget *tqparent=0, const char *name=0);
KileWidgetPreviewConfig(KConfig *config, KileTool::QuickPreview *preview, TQWidget *parent=0, const char *name=0);
~KileWidgetPreviewConfig() {}
void readConfig(void);

@ -41,8 +41,8 @@
namespace KileWidget
{
PreviewWidget::PreviewWidget(KileInfo *info, TQWidget *tqparent, const char *name)
: TQWidget(tqparent,name), m_info(info), m_previewImage(0L), m_running(false)
PreviewWidget::PreviewWidget(KileInfo *info, TQWidget *parent, const char *name)
: TQWidget(parent,name), m_info(info), m_previewImage(0L), m_running(false)
{
setPalette( TQPalette(TQColor(0xff,0xff,0xff)) );
}

@ -52,7 +52,7 @@ class PreviewWidget : public TQWidget
TQ_OBJECT
public:
PreviewWidget(KileInfo *info, TQWidget *tqparent = 0, const char *name = 0);
PreviewWidget(KileInfo *info, TQWidget *parent = 0, const char *name = 0);
~PreviewWidget();
/**

@ -99,14 +99,14 @@ void ListBoxSeparator::paint(TQPainter *painter)
class EditableCheckListItem : public TQCheckListItem
{
public:
EditableCheckListItem(TQCheckListItem *tqparent, const TQString &text);
EditableCheckListItem(TQCheckListItem *parent, const TQString &text);
virtual void paintCell(TQPainter *p, const TQColorGroup &cg,
int column, int width, int tqalignment );
};
EditableCheckListItem::EditableCheckListItem(TQCheckListItem *tqparent, const TQString &text)
: TQCheckListItem(tqparent,text,TQCheckListItem::CheckBox)
EditableCheckListItem::EditableCheckListItem(TQCheckListItem *parent, const TQString &text)
: TQCheckListItem(parent,text,TQCheckListItem::CheckBox)
{
}
@ -129,7 +129,7 @@ void EditableCheckListItem::paintCell( TQPainter *p, const TQColorGroup &cg,
//////////////////// QuickDocument class ////////////////////
QuickDocument::QuickDocument(KConfig *config, TQWidget *tqparent, const char *name, const TQString &caption) : Wizard(config, tqparent,name,caption)
QuickDocument::QuickDocument(KConfig *config, TQWidget *parent, const char *name, const TQString &caption) : Wizard(config, parent,name,caption)
{
KILE_DEBUG() << "==QuickDocument::setupGUI()============" << endl;
TQTabWidget *tabWidget = new TQTabWidget( this );
@ -1311,11 +1311,11 @@ TQCheckListItem *QuickDocument::insertListview(TQListView *listview,
}
// insert package option (not editable)
TQCheckListItem *QuickDocument::insertListview(TQCheckListItem *tqparent,
TQCheckListItem *QuickDocument::insertListview(TQCheckListItem *parent,
const TQString &entry,
const TQString &description)
{
TQCheckListItem *item = new TQCheckListItem(tqparent,entry,TQCheckListItem::CheckBox);
TQCheckListItem *item = new TQCheckListItem(parent,entry,TQCheckListItem::CheckBox);
if ( ! description.isEmpty() )
item->setText(2,description);
@ -1323,12 +1323,12 @@ TQCheckListItem *QuickDocument::insertListview(TQCheckListItem *tqparent,
}
// insert package option (editable)
TQCheckListItem *QuickDocument::insertEditableListview(TQCheckListItem *tqparent,
TQCheckListItem *QuickDocument::insertEditableListview(TQCheckListItem *parent,
const TQString &entry,const TQString &description,
const TQString value,const TQString defaultvalue)
{
TQCheckListItem *item = new EditableCheckListItem(tqparent,entry);
TQString option = tqparent->text(0) + '!' + entry;
TQCheckListItem *item = new EditableCheckListItem(parent,entry);
TQString option = parent->text(0) + '!' + entry;
m_dictPackagesEditable[option] = true;
if ( ! defaultvalue.isEmpty() )
m_dictPackagesDefaultvalues[option] = defaultvalue;
@ -1948,7 +1948,7 @@ void QuickDocument::slotPackageAddOption()
<< i18n("&Select this option") // 11
;
if ( !cur->tqparent() && inputDialog(list,qd_CheckNotEmpty | qd_CheckPackageOption) ) {
if ( !cur->parent() && inputDialog(list,qd_CheckNotEmpty | qd_CheckPackageOption) ) {
KILE_DEBUG() << "\tadd option: " << list[3] << " (" << list[10] << ") checked=" << list[11] << endl;
TQCheckListItem *cli;
@ -1975,11 +1975,11 @@ void QuickDocument::slotPackageEdit()
bool editableOption;
TQString caption,labelText,optionname;
if ( cur->tqparent() ) {
if ( cur->parent() ) {
// checkmode = qd_CheckPackageOption;
caption = i18n("Edit Option");
labelText = i18n("Op&tion:") + " (" + i18n("package:") + ' ' + cur->tqparent()->text(0) + ')';
optionname = cur->tqparent()->text(0) + '!' + cur->text(0);
labelText = i18n("Op&tion:") + " (" + i18n("package:") + ' ' + cur->parent()->text(0) + ')';
optionname = cur->parent()->text(0) + '!' + cur->text(0);
editableOption = m_dictPackagesEditable.contains(optionname);
} else {
// checkmode = qd_CheckPackage;
@ -2044,10 +2044,10 @@ void QuickDocument::slotPackageDelete()
bool packageoption;
TQString message,optionname;
if ( cur->tqparent() ) {
if ( cur->parent() ) {
packageoption = true;
message = i18n("Do you want do delete this package option?");
optionname = cur->tqparent()->text(0) + '!' + cur->text(0);
optionname = cur->parent()->text(0) + '!' + cur->text(0);
} else {
packageoption = false;
message = i18n("Do you want to delete this package?");
@ -2086,17 +2086,17 @@ void QuickDocument::slotPackageReset()
void QuickDocument::slotCheckParent(TQListViewItem *listViewItem)
{
TQCheckListItem *cli = dynamic_cast<TQCheckListItem*>(listViewItem);
if (cli && listViewItem->tqparent() && cli->isOn()) {
TQCheckListItem *clitqparent=dynamic_cast<TQCheckListItem*>(listViewItem->tqparent());
if (clitqparent)
clitqparent->setOn(true);
if (cli && listViewItem->parent() && cli->isOn()) {
TQCheckListItem *cliparent=dynamic_cast<TQCheckListItem*>(listViewItem->parent());
if (cliparent)
cliparent->setOn(true);
}
}
void QuickDocument::slotPackageDoubleClicked(TQListViewItem *listViewItem,const TQPoint &,int)
{
if ( listViewItem && listViewItem->tqparent() ) {
TQCheckListItem *parentitem = dynamic_cast<TQCheckListItem*>(listViewItem->tqparent());
if ( listViewItem && listViewItem->parent() ) {
TQCheckListItem *parentitem = dynamic_cast<TQCheckListItem*>(listViewItem->parent());
TQString option = parentitem->text(0) + '!' + listViewItem->text(0);
if ( m_dictPackagesEditable.contains(option) )
slotPackageEdit();
@ -2129,7 +2129,7 @@ void QuickDocument::slotEnableButtons()
if ( cur && cur->text(0)!= "hyperref" ) {
m_btnPackagesEdit->setEnabled(true);
m_btnPackagesDelete->setEnabled(true);
if ( cur->tqparent() )
if ( cur->parent() )
m_btnPackagesAddOption->setEnabled(false);
else
m_btnPackagesAddOption->setEnabled(true);
@ -2166,10 +2166,10 @@ bool QuickDocument::inputDialog(TQStringList &list, int check)
}
QuickDocumentInputDialog::QuickDocumentInputDialog(const TQStringList &list,int check,
QuickDocument *tqparent,
QuickDocument *parent,
const char *name )
: KDialogBase(tqparent,name,true,list[0],KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true),
m_parent(tqparent),
: KDialogBase(parent,name,true,list[0],KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true),
m_parent(parent),
m_check(check)
{

@ -49,7 +49,7 @@ class QuickDocument : public Wizard
TQ_OBJECT
public:
QuickDocument(KConfig *, TQWidget *tqparent=0, const char *name=0, const TQString &caption = TQString());
QuickDocument(KConfig *, TQWidget *parent=0, const char *name=0, const TQString &caption = TQString());
~QuickDocument();
bool isStandardClass(const TQString &classname);
@ -149,10 +149,10 @@ private:
TQCheckListItem *insertListview(TQListView *listview,
const TQString &entry,
const TQString &description);
TQCheckListItem *insertListview(TQCheckListItem *tqparent,
TQCheckListItem *insertListview(TQCheckListItem *parent,
const TQString &entry,
const TQString &description);
TQCheckListItem *insertEditableListview(TQCheckListItem *tqparent,
TQCheckListItem *insertEditableListview(TQCheckListItem *parent,
const TQString &entry,const TQString &description,
const TQString value,const TQString defaultvalue);
bool isListviewEntry(TQListView *listview,const TQString &entry);
@ -202,7 +202,7 @@ class QuickDocumentInputDialog : public KDialogBase {
TQ_OBJECT
public:
QuickDocumentInputDialog(const TQStringList &list,int check=0,
QuickDocument *tqparent=0, const char *name=0);
QuickDocument *parent=0, const char *name=0);
~QuickDocumentInputDialog();
void getResults(TQStringList &list);

@ -29,7 +29,7 @@
namespace KileWidget {
JScriptListViewItem::JScriptListViewItem(TQWidget *managementWidget, KListView *tqparent, KileJScript::JScript *script, KileInfo *kileInfo) : KListViewItem(tqparent), m_script(script), m_kileInfo(kileInfo), m_managementWidget(managementWidget) {
JScriptListViewItem::JScriptListViewItem(TQWidget *managementWidget, KListView *parent, KileJScript::JScript *script, KileInfo *kileInfo) : KListViewItem(parent), m_script(script), m_kileInfo(kileInfo), m_managementWidget(managementWidget) {
}
JScriptListViewItem::~JScriptListViewItem() {
@ -88,7 +88,7 @@ void JScriptListViewItem::setText(int column, const TQString & str) {
}
}
ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *tqparent, const char *name, WFlags f) : TQWidget(tqparent, name, f), m_kileInfo(kileInfo) {
ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, TQWidget *parent, const char *name, WFlags f) : TQWidget(parent, name, f), m_kileInfo(kileInfo) {
TQVBoxLayout *baseLayout = new TQVBoxLayout(this);
m_toolbar = new KToolBar(this, "scriptControlToolBar");

@ -38,7 +38,7 @@ namespace KileWidget {
**/
class JScriptListViewItem : public KListViewItem {
public:
JScriptListViewItem(TQWidget *managementWidget, KListView *tqparent, KileJScript::JScript *script, KileInfo *kileInfo);
JScriptListViewItem(TQWidget *managementWidget, KListView *parent, KileJScript::JScript *script, KileInfo *kileInfo);
virtual ~JScriptListViewItem();
KileJScript::JScript* getScript();
@ -59,7 +59,7 @@ namespace KileWidget {
Q_OBJECT
TQ_OBJECT
public:
ScriptsManagement(KileInfo *kileInfo, TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0);
ScriptsManagement(KileInfo *kileInfo, TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
~ScriptsManagement();
// signals:

@ -48,7 +48,7 @@ tbraun 2007-06-13
#include <tqapplication.h>
SymbolView::SymbolView(TQWidget *tqparent, int type, const char *name): KIconView( tqparent, name ),m_toolTip(0L)
SymbolView::SymbolView(TQWidget *parent, int type, const char *name): KIconView( parent, name ),m_toolTip(0L)
{
setGridX( 36 );
setGridY( 36);

@ -33,7 +33,7 @@ class SymbolView : public KIconView
TQ_OBJECT
public:
SymbolView(TQWidget *tqparent=0,int type = -1, const char *name=0);
SymbolView(TQWidget *parent=0,int type = -1, const char *name=0);
~SymbolView();
enum { MFUS = 0, Relation, Operator, Arrow, MiscMath, MiscText, Delimiters, Greek, Special, Cyrillic, User };
void writeConfig();

@ -27,7 +27,7 @@
namespace KileDialog
{
QuickTabbing::QuickTabbing(KConfig *config, KileInfo *ki, TQWidget *tqparent, const char *name, const TQString &caption ) : Wizard(config, tqparent,name, caption), m_ki(ki)
QuickTabbing::QuickTabbing(KConfig *config, KileInfo *ki, TQWidget *parent, const char *name, const TQString &caption ) : Wizard(config, parent,name, caption), m_ki(ki)
{
TQWidget *page = new TQWidget(this);
setMainWidget(page);

@ -37,7 +37,7 @@ namespace KileDialog
TQ_OBJECT
public:
QuickTabbing(KConfig *config, KileInfo *ki, TQWidget *tqparent=0, const char *name=0, const TQString &caption = TQString());
QuickTabbing(KConfig *config, KileInfo *ki, TQWidget *parent=0, const char *name=0, const TQString &caption = TQString());
~QuickTabbing();
public slots:

@ -119,7 +119,7 @@ static const char * const no_border_xpm[] = {
////////////////////////////// TabCellFrame //////////////////////////////
TabCellFrame::TabCellFrame(TQWidget* tqparent) : TQFrame(tqparent)
TabCellFrame::TabCellFrame(TQWidget* parent) : TQFrame(parent)
{
m_border = TabularCell::cbNone;
@ -237,9 +237,9 @@ void TabCellFrame::mouseDoubleClickEvent(TQMouseEvent *event)
//BEGIN TabCellDialog
TabCellDialog::TabCellDialog(TQWidget *tqparent, TabularCell::Data *data,
TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
const TQString &headerlabel, const TQStringList &alignlist)
: KDialogBase( tqparent,0, true, i18n("Cell Properties"),
: KDialogBase( parent,0, true, i18n("Cell Properties"),
Ok | Cancel | User1, Ok, true )
{
TQWidget *page = new TQWidget(this);
@ -675,8 +675,8 @@ void TabularItem::paint(TQPainter *p,const TQColorGroup &cg,const TQRect &cr,boo
//////////////////////////////////////////////////////////////////////
TabularTable::TabularTable(int numRows,int numCols,TQWidget* tqparent,TabularDialog *tabdialog)
: TQTable(numRows,numCols,tqparent), m_tabdialog(tabdialog)
TabularTable::TabularTable(int numRows,int numCols,TQWidget* parent,TabularDialog *tabdialog)
: TQTable(numRows,numCols,parent), m_tabdialog(tabdialog)
{
setSelectionMode(TQTable::Single);
@ -1832,8 +1832,8 @@ TabularCell::Count TabularTable::countCells(int x1,int y1,int x2,int y2)
//BEGIN TabularDialog
TabularDialog::TabularDialog(TQWidget *tqparent, KConfig *config, KileDocument::LatexCommands *commands, bool tabularenv)
: Wizard(config,tqparent), m_latexCommands(commands)
TabularDialog::TabularDialog(TQWidget *parent, KConfig *config, KileDocument::LatexCommands *commands, bool tabularenv)
: Wizard(config,parent), m_latexCommands(commands)
{
TQWidget *page = new TQWidget(this);
setMainWidget(page);

@ -90,7 +90,7 @@ class TabCellFrame : public TQFrame
TQ_OBJECT
public:
TabCellFrame(TQWidget* tqparent);
TabCellFrame(TQWidget* parent);
void setBorder(int value);
int border() { return m_border; }
@ -111,7 +111,7 @@ class TabCellDialog : public KDialogBase
TQ_OBJECT
public:
TabCellDialog(TQWidget *tqparent, TabularCell::Data *data,
TabCellDialog(TQWidget *parent, TabularCell::Data *data,
const TQString &headerlabel, const TQStringList &alignlist);
~TabCellDialog() {}
@ -164,7 +164,7 @@ class TabularTable : public TQTable
TQ_OBJECT
public:
TabularTable(int numRows,int numCols,TQWidget* tqparent, TabularDialog *tabdialog);
TabularTable(int numRows,int numCols,TQWidget* parent, TabularDialog *tabdialog);
void setText(int row,int col,const TQString &text);
void tqsetAlignment(int row,int col,int align);
@ -260,7 +260,7 @@ class TabularDialog : public Wizard
TQ_OBJECT
public:
TabularDialog(TQWidget *tqparent, KConfig *config, KileDocument::LatexCommands *commands, bool tabularenv= true);
TabularDialog(TQWidget *parent, KConfig *config, KileDocument::LatexCommands *commands, bool tabularenv= true);
~TabularDialog() {}
TQStringList columnAlignments();

@ -56,7 +56,7 @@ bool Info::operator==(const Info ti) const
////////////////////// Manager //////////////////////
Manager::Manager(KileInfo* kileInfo, TQObject* tqparent, const char* name) : TQObject(tqparent, name), m_kileInfo(kileInfo)
Manager::Manager(KileInfo* kileInfo, TQObject* parent, const char* name) : TQObject(parent, name), m_kileInfo(kileInfo)
{
}
@ -207,7 +207,7 @@ TemplateList Manager::getTemplates(KileDocument::Type type) const {
// new compare function to make the "Empty (...) Document" items appear at the beginning
TemplateItem::TemplateItem(TQIconView * tqparent, const KileTemplate::Info& info) : TQIconViewItem(tqparent,info.name, TQPixmap(info.icon))
TemplateItem::TemplateItem(TQIconView * parent, const KileTemplate::Info& info) : TQIconViewItem(parent,info.name, TQPixmap(info.icon))
{
setDragEnabled(false);
m_info = info;
@ -228,7 +228,7 @@ int TemplateItem::compare( TQIconViewItem *i ) const
////////////////////// TemplateIconView //////////////////////
TemplateIconView::TemplateIconView(TQWidget *tqparent, const char *name, WFlags f) : KIconView(tqparent, name, f), m_templateManager(NULL), m_proc(NULL) {
TemplateIconView::TemplateIconView(TQWidget *parent, const char *name, WFlags f) : KIconView(parent, name, f), m_templateManager(NULL), m_proc(NULL) {
setItemsMovable(false);
setMode(KIconView::Select);
setResizeMode(TQIconView::Adjust);

@ -59,7 +59,7 @@ class Manager : public TQObject {
TQ_OBJECT
public:
Manager(KileInfo *info, TQObject* tqparent = NULL, const char* name = NULL);
Manager(KileInfo *info, TQObject* parent = NULL, const char* name = NULL);
virtual ~Manager();
void scanForTemplates();
@ -120,7 +120,7 @@ const TQString DEFAULT_EMPTY_BIBTEX_CAPTION = i18n("Empty BibTeX Document");
class TemplateItem : public TQIconViewItem
{
public:
TemplateItem( TQIconView * tqparent, const KileTemplate::Info & info);
TemplateItem( TQIconView * parent, const KileTemplate::Info & info);
~TemplateItem() {}
int compare( TQIconViewItem *i ) const;
@ -139,7 +139,7 @@ class TemplateIconView : public KIconView {
TQ_OBJECT
public:
TemplateIconView(TQWidget *tqparent=0, const char *name=0, WFlags f=0);
TemplateIconView(TQWidget *parent=0, const char *name=0, WFlags f=0);
virtual ~TemplateIconView();
void setTemplateManager(KileTemplate::Manager *templateManager);

@ -47,8 +47,8 @@ namespace KileDialog
//BEGIN TexDocDialog
TexDocDialog::TexDocDialog(TQWidget *tqparent, const char *name)
: KDialogBase( tqparent,name, true, i18n("Documentation Browser"), Close | Help,
TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
: KDialogBase( parent,name, true, i18n("Documentation Browser"), Close | Help,
#if KDE_VERSION >= KDE_MAKE_VERSION(3,3,0)
NoDefault
#else
@ -431,7 +431,7 @@ void TexDocDialog::showFile(const TQString &filename)
void TexDocDialog::slotListViewDoubleClicked(TQListViewItem *item,const TQPoint &,int)
{
if ( ! item->tqparent() )
if ( ! item->parent() )
return;
TQString package = item->text(1);

@ -39,7 +39,7 @@ class TexDocDialog : public KDialogBase
TQ_OBJECT
public:
TexDocDialog(TQWidget *tqparent=0, const char *name=0);
TexDocDialog(TQWidget *parent=0, const char *name=0);
~TexDocDialog();
private:

@ -41,8 +41,8 @@ namespace KileDialog
//BEGIN UserHelpDialog
UserHelpDialog::UserHelpDialog(TQWidget *tqparent, const char *name)
: KDialogBase( tqparent, name, true, i18n("Configure User Help"), Cancel | Ok, Ok, true )
UserHelpDialog::UserHelpDialog(TQWidget *parent, const char *name)
: KDialogBase( parent, name, true, i18n("Configure User Help"), Cancel | Ok, Ok, true )
{
KILE_DEBUG() << "==UserHelpDialog::UserHelpDialog()===================" << endl;
@ -340,8 +340,8 @@ void UserHelpDialog::updateButton()
//BEGIN UserHelpAddDialog
UserHelpAddDialog::UserHelpAddDialog(KListBox *menulistbox, TQWidget *tqparent, const char *name)
: KDialogBase( tqparent, name, true, i18n("Add User Helpfile"), Cancel | Ok, Ok, true ),
UserHelpAddDialog::UserHelpAddDialog(KListBox *menulistbox, TQWidget *parent, const char *name)
: KDialogBase( parent, name, true, i18n("Add User Helpfile"), Cancel | Ok, Ok, true ),
m_menulistbox(menulistbox)
{
KILE_DEBUG() << "==UserHelpAddDialog::UserHelpAddDialog()===================" << endl;

@ -36,7 +36,7 @@ class UserHelpDialog : public KDialogBase
TQ_OBJECT
public:
UserHelpDialog(TQWidget *tqparent=0, const char *name=0);
UserHelpDialog(TQWidget *parent=0, const char *name=0);
~UserHelpDialog() {}
void setParameter(const TQStringList &menuentries, const TQStringList &helpfiles);
@ -65,7 +65,7 @@ class UserHelpAddDialog : public KDialogBase
TQ_OBJECT
public:
UserHelpAddDialog(KListBox *menulistbox, TQWidget *tqparent=0, const char *name=0);
UserHelpAddDialog(KListBox *menulistbox, TQWidget *parent=0, const char *name=0);
~UserHelpAddDialog() {}
private:

@ -30,8 +30,8 @@
namespace KileDialog
{
UserTags::UserTags(const TQValueList<KileAction::TagData> &list, TQWidget* tqparent, const char* name, const TQString &caption)
: KDialogBase(tqparent,name,true,caption,KDialogBase::Apply|KDialogBase::Cancel, KDialogBase::Apply, true),
UserTags::UserTags(const TQValueList<KileAction::TagData> &list, TQWidget* parent, const char* name, const TQString &caption)
: KDialogBase(parent,name,true,caption,KDialogBase::Apply|KDialogBase::Cancel, KDialogBase::Apply, true),
m_list(list)
{
TQWidget *page = new TQWidget( this );

@ -38,7 +38,7 @@ class UserTags: public KDialogBase
TQ_OBJECT
public:
UserTags( const TQValueList<KileAction::TagData> &list, TQWidget* tqparent = 0, const char* name = 0, const TQString &caption = TQString());
UserTags( const TQValueList<KileAction::TagData> &list, TQWidget* parent = 0, const char* name = 0, const TQString &caption = TQString());
~UserTags();
int index() { return m_prevIndex; }

Loading…
Cancel
Save