#include <kdialog.h>
#include <tdelocale.h>

/****************************************************************************
** Form implementation generated from reading ui file 'actionconfigdialogs.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#include "actionconfigdialogs.h"

#include <ntqvariant.h>
#include <kkeybutton.h>
#include <kpushbutton.h>
#include <tdelistview.h>
#include <kicondialog.h>
#include <tdelistbox.h>
#include <filecombo.h>
#include <ntqpushbutton.h>
#include <ntqsplitter.h>
#include <ntqlabel.h>
#include <ntqbuttongroup.h>
#include <ntqlineedit.h>
#include <ntqradiobutton.h>
#include <ntqcombobox.h>
#include <ntqwidgetstack.h>
#include <ntqwidget.h>
#include <ntqcheckbox.h>
#include <ntqmultilineedit.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a ActionConfigDialogS as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 *
 *  The qdialog will by default be modeless, unless you set 'modal' to
 *  true to construct a modal qdialog.
 */
ActionConfigDialogS::ActionConfigDialogS( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "ActionConfigDialogS" );
    ActionConfigDialogSLayout = new TQGridLayout( this, 1, 1, 11, 6, "ActionConfigDialogSLayout"); 

    splitter2 = new TQSplitter( this, "splitter2" );
    splitter2->setOrientation( TQSplitter::Horizontal );

    TQWidget* privateLayoutWidget = new TQWidget( splitter2, "layout17" );
    layout17 = new TQGridLayout( privateLayoutWidget, 1, 1, 11, 6, "layout17"); 

    deleteAction = new KPushButton( privateLayoutWidget, "deleteAction" );
    deleteAction->setEnabled( false );

    layout17->addWidget( deleteAction, 2, 3 );

    addAction = new TQPushButton( privateLayoutWidget, "addAction" );
    addAction->setAutoDefault( true );

    layout17->addWidget( addAction, 2, 1 );
    spacer14 = new TQSpacerItem( 16, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout17->addItem( spacer14, 2, 2 );
    spacer17 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layout17->addItem( spacer17, 1, 4 );

    textLabel1 = new TQLabel( privateLayoutWidget, "textLabel1" );
    textLabel1->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)0, 0, 0, textLabel1->sizePolicy().hasHeightForWidth() ) );

    layout17->addMultiCellWidget( textLabel1, 0, 0, 0, 3 );

    actionTreeView = new TDEListView( privateLayoutWidget, "actionTreeView" );
    actionTreeView->addColumn( tr2i18n( "Name" ) );
    actionTreeView->header()->setClickEnabled( false, actionTreeView->header()->count() - 1 );
    actionTreeView->addColumn( tr2i18n( "Shortcut" ) );
    actionTreeView->header()->setClickEnabled( false, actionTreeView->header()->count() - 1 );
    actionTreeView->setHScrollBarMode( TDEListView::Auto );
    actionTreeView->setRootIsDecorated( true );
    actionTreeView->setResizeMode( TDEListView::AllColumns );
    actionTreeView->setTooltipColumn( 2 );

    layout17->addMultiCellWidget( actionTreeView, 1, 1, 1, 3 );

    TQWidget* privateLayoutWidget_2 = new TQWidget( splitter2, "layout9" );
    layout9 = new TQGridLayout( privateLayoutWidget_2, 1, 1, 11, 6, "layout9"); 

    buttonApply = new KPushButton( privateLayoutWidget_2, "buttonApply" );
    buttonApply->setEnabled( false );

    layout9->addWidget( buttonApply, 1, 3 );

    buttonCancel = new TQPushButton( privateLayoutWidget_2, "buttonCancel" );
    buttonCancel->setAutoDefault( true );

    layout9->addWidget( buttonCancel, 1, 4 );
    spacer16 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    layout9->addItem( spacer16, 0, 0 );

    buttonOk = new KPushButton( privateLayoutWidget_2, "buttonOk" );
    buttonOk->setMinimumSize( TQSize( 90, 0 ) );
    buttonOk->setAutoDefault( true );
    buttonOk->setDefault( true );

    layout9->addWidget( buttonOk, 1, 2 );

    actionProperties = new TQButtonGroup( privateLayoutWidget_2, "actionProperties" );
    actionProperties->setEnabled( false );
    actionProperties->setColumnLayout(0, TQt::Vertical );
    actionProperties->layout()->setSpacing( 6 );
    actionProperties->layout()->setMargin( 11 );
    actionPropertiesLayout = new TQGridLayout( actionProperties->layout() );
    actionPropertiesLayout->setAlignment( TQt::AlignTop );

    addToolbar = new TQPushButton( actionProperties, "addToolbar" );

    actionPropertiesLayout->addMultiCellWidget( addToolbar, 6, 6, 3, 4 );

    removeToolbar = new TQPushButton( actionProperties, "removeToolbar" );

    actionPropertiesLayout->addMultiCellWidget( removeToolbar, 7, 7, 3, 4 );
    spacer7 = new TQSpacerItem( 16, 20, TQSizePolicy::Fixed, TQSizePolicy::Minimum );
    actionPropertiesLayout->addMultiCell( spacer7, 6, 7, 0, 0 );

    TextLabel2 = new TQLabel( actionProperties, "TextLabel2" );

    actionPropertiesLayout->addMultiCellWidget( TextLabel2, 2, 2, 0, 1 );

    lineToolTip = new TQLineEdit( actionProperties, "lineToolTip" );

    actionPropertiesLayout->addMultiCellWidget( lineToolTip, 2, 2, 2, 4 );

    TextLabel1_2 = new TQLabel( actionProperties, "TextLabel1_2" );

    actionPropertiesLayout->addMultiCellWidget( TextLabel1_2, 1, 1, 0, 1 );

    actionIcon = new TDEIconButton( actionProperties, "actionIcon" );
    actionIcon->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, actionIcon->sizePolicy().hasHeightForWidth() ) );
    actionIcon->setMinimumSize( TQSize( 32, 32 ) );
    actionIcon->setMaximumSize( TQSize( 32, 32 ) );
    actionIcon->setIconSize( 22 );

    actionPropertiesLayout->addWidget( actionIcon, 1, 4 );

    lineText = new TQLineEdit( actionProperties, "lineText" );

    actionPropertiesLayout->addMultiCellWidget( lineText, 1, 1, 2, 3 );

    buttonGroup4_2 = new TQButtonGroup( actionProperties, "buttonGroup4_2" );
    buttonGroup4_2->setColumnLayout(0, TQt::Vertical );
    buttonGroup4_2->layout()->setSpacing( 6 );
    buttonGroup4_2->layout()->setMargin( 11 );
    buttonGroup4_2Layout = new TQGridLayout( buttonGroup4_2->layout() );
    buttonGroup4_2Layout->setAlignment( TQt::AlignTop );

    customShortcut = new TQRadioButton( buttonGroup4_2, "customShortcut" );

    buttonGroup4_2Layout->addWidget( customShortcut, 0, 1 );

    shortcutKeyButton = new KKeyButton( buttonGroup4_2, "shortcutKeyButton" );
    shortcutKeyButton->setEnabled( false );

    buttonGroup4_2Layout->addWidget( shortcutKeyButton, 0, 2 );

    noShortcut = new TQRadioButton( buttonGroup4_2, "noShortcut" );
    noShortcut->setChecked( true );

    buttonGroup4_2Layout->addWidget( noShortcut, 0, 0 );

    actionPropertiesLayout->addMultiCellWidget( buttonGroup4_2, 4, 4, 0, 4 );

    toolbarListBox = new TDEListBox( actionProperties, "toolbarListBox" );

    actionPropertiesLayout->addMultiCellWidget( toolbarListBox, 6, 7, 1, 2 );

    textLabel2 = new TQLabel( actionProperties, "textLabel2" );

    actionPropertiesLayout->addMultiCellWidget( textLabel2, 5, 5, 0, 2 );

    typeCombo = new TQComboBox( false, actionProperties, "typeCombo" );
    typeCombo->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, typeCombo->sizePolicy().hasHeightForWidth() ) );

    actionPropertiesLayout->addMultiCellWidget( typeCombo, 0, 0, 2, 4 );

    textLabel3 = new TQLabel( actionProperties, "textLabel3" );

    actionPropertiesLayout->addMultiCellWidget( textLabel3, 0, 0, 0, 1 );

    buttonGroup13 = new TQButtonGroup( actionProperties, "buttonGroup13" );
    buttonGroup13->setColumnLayout(0, TQt::Vertical );
    buttonGroup13->layout()->setSpacing( 6 );
    buttonGroup13->layout()->setMargin( 11 );
    buttonGroup13Layout = new TQGridLayout( buttonGroup13->layout() );
    buttonGroup13Layout->setAlignment( TQt::AlignTop );

    widgetStack1 = new TQWidgetStack( buttonGroup13, "widgetStack1" );

    page = new TQWidget( widgetStack1, "page" );
    pageLayout = new TQGridLayout( page, 1, 1, 11, 6, "pageLayout"); 

    TextLabel5_2_2_2 = new TQLabel( page, "TextLabel5_2_2_2" );

    pageLayout->addWidget( TextLabel5_2_2_2, 0, 0 );

    lineTag = new TQLineEdit( page, "lineTag" );

    pageLayout->addWidget( lineTag, 0, 1 );

    lineClosingTag = new TQLineEdit( page, "lineClosingTag" );

    pageLayout->addWidget( lineClosingTag, 1, 1 );

    useClosingTag = new TQCheckBox( page, "useClosingTag" );
    useClosingTag->setChecked( true );

    pageLayout->addWidget( useClosingTag, 1, 0 );

    useActionDialog = new TQCheckBox( page, "useActionDialog" );
    useActionDialog->setChecked( true );

    pageLayout->addMultiCellWidget( useActionDialog, 2, 2, 0, 1 );
    widgetStack1->addWidget( page, 0 );

    page_2 = new TQWidget( widgetStack1, "page_2" );
    pageLayout_2 = new TQGridLayout( page_2, 1, 1, 11, 6, "pageLayout_2"); 

    scriptPath = new FileCombo( page_2, "scriptPath" );
    scriptPath->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)0, 0, 0, scriptPath->sizePolicy().hasHeightForWidth() ) );
    scriptPath->setMinimumSize( TQSize( 64, 20 ) );

    pageLayout_2->addMultiCellWidget( scriptPath, 0, 0, 0, 1 );

    textLabel1_2 = new TQLabel( page_2, "textLabel1_2" );
    textLabel1_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel1_2->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( textLabel1_2, 1, 0 );

    inputBox = new TQComboBox( false, page_2, "inputBox" );
    inputBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, inputBox->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( inputBox, 1, 1 );

    textLabel2_2 = new TQLabel( page_2, "textLabel2_2" );
    textLabel2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel2_2->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( textLabel2_2, 2, 0 );

    outputBox = new TQComboBox( false, page_2, "outputBox" );
    outputBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, outputBox->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( outputBox, 2, 1 );

    errorBox = new TQComboBox( false, page_2, "errorBox" );
    errorBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, errorBox->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( errorBox, 3, 1 );

    textLabel3_2 = new TQLabel( page_2, "textLabel3_2" );
    textLabel3_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)5, 0, 0, textLabel3_2->sizePolicy().hasHeightForWidth() ) );

    pageLayout_2->addWidget( textLabel3_2, 3, 0 );
    widgetStack1->addWidget( page_2, 1 );

    page_3 = new TQWidget( widgetStack1, "page_3" );
    pageLayout_3 = new TQGridLayout( page_3, 1, 1, 11, 6, "pageLayout_3"); 

    textEdit = new TQMultiLineEdit( page_3, "textEdit" );

    pageLayout_3->addWidget( textEdit, 0, 0 );
    widgetStack1->addWidget( page_3, 2 );

    buttonGroup13Layout->addWidget( widgetStack1, 0, 0 );

    actionPropertiesLayout->addMultiCellWidget( buttonGroup13, 8, 8, 0, 4 );

    layout9->addMultiCellWidget( actionProperties, 0, 0, 1, 4 );
    spacer15 = new TQSpacerItem( 55, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout9->addItem( spacer15, 1, 1 );

    ActionConfigDialogSLayout->addWidget( splitter2, 0, 0 );
    languageChange();
    resize( TQSize(751, 628).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( typeCombo, TQ_SIGNAL( activated(int) ), widgetStack1, TQ_SLOT( raiseWidget(int) ) );
    connect( customShortcut, TQ_SIGNAL( toggled(bool) ), shortcutKeyButton, TQ_SLOT( setEnabled(bool) ) );
    connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
    connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
    connect( typeCombo, TQ_SIGNAL( highlighted(int) ), widgetStack1, TQ_SLOT( raiseWidget(int) ) );
    connect( useClosingTag, TQ_SIGNAL( toggled(bool) ), lineClosingTag, TQ_SLOT( setEnabled(bool) ) );
    connect( addAction, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotNewAction() ) );
    connect( deleteAction, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDeleteAction() ) );
    connect( addToolbar, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAddContainerToolbar() ) );
    connect( removeToolbar, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemoveContainerToolbar() ) );
    connect( buttonApply, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotApply() ) );
    connect( lineText, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( lineTag, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( lineClosingTag, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( textEdit, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( slotTextChanged() ) );
    connect( customShortcut, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( noShortcut, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( useClosingTag, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( useActionDialog, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( actionIcon, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( lineToolTip, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( typeCombo, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( inputBox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( outputBox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( errorBox, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotTextChanged(const TQString&) ) );
    connect( shortcutKeyButton, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( slotToggled(bool) ) );
    connect( customShortcut, TQ_SIGNAL( clicked() ), shortcutKeyButton, TQ_SLOT( animateClick() ) );
    connect( actionIcon, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotTextChanged() ) );

    // tab order
    setTabOrder( actionTreeView, addAction );
    setTabOrder( addAction, deleteAction );
    setTabOrder( deleteAction, typeCombo );
    setTabOrder( typeCombo, lineText );
    setTabOrder( lineText, actionIcon );
    setTabOrder( actionIcon, lineToolTip );
    setTabOrder( lineToolTip, noShortcut );
    setTabOrder( noShortcut, shortcutKeyButton );
    setTabOrder( shortcutKeyButton, toolbarListBox );
    setTabOrder( toolbarListBox, addToolbar );
    setTabOrder( addToolbar, removeToolbar );
    setTabOrder( removeToolbar, lineTag );
    setTabOrder( lineTag, useClosingTag );
    setTabOrder( useClosingTag, lineClosingTag );
    setTabOrder( lineClosingTag, useActionDialog );
    setTabOrder( useActionDialog, inputBox );
    setTabOrder( inputBox, outputBox );
    setTabOrder( outputBox, errorBox );
    setTabOrder( errorBox, textEdit );
    setTabOrder( textEdit, buttonOk );
    setTabOrder( buttonOk, buttonApply );
    setTabOrder( buttonApply, buttonCancel );

    // buddies
    TextLabel2->setBuddy( lineToolTip );
    TextLabel1_2->setBuddy( lineText );
    textLabel3->setBuddy( typeCombo );
    textLabel1_2->setBuddy( inputBox );
    textLabel2_2->setBuddy( outputBox );
    textLabel3_2->setBuddy( errorBox );
}

/*
 *  Destroys the object and frees any allocated resources
 */
ActionConfigDialogS::~ActionConfigDialogS()
{
    // no need to delete child widgets, TQt does it all for us
}

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void ActionConfigDialogS::languageChange()
{
    setCaption( tr2i18n( "Configure Actions" ) );
    deleteAction->setText( tr2i18n( "&Delete Action" ) );
    addAction->setText( tr2i18n( "&New Action" ) );
    textLabel1->setText( tr2i18n( "Toolbar & Action Tree" ) );
    actionTreeView->header()->setLabel( 0, tr2i18n( "Name" ) );
    actionTreeView->header()->setLabel( 1, tr2i18n( "Shortcut" ) );
    buttonApply->setText( tr2i18n( "&Apply" ) );
    buttonCancel->setText( tr2i18n( "&Cancel" ) );
    buttonOk->setText( tr2i18n( "&OK" ) );
    actionProperties->setTitle( tr2i18n( "Action Properties" ) );
    addToolbar->setText( tr2i18n( "&Add..." ) );
    removeToolbar->setText( tr2i18n( "&Remove" ) );
    TextLabel2->setText( tr2i18n( "Tool &tip:" ) );
    TextLabel1_2->setText( tr2i18n( "Te&xt:" ) );
    actionIcon->setText( TQString::null );
    buttonGroup4_2->setTitle( tr2i18n( "Shortcut" ) );
    customShortcut->setText( tr2i18n( "C&ustom" ) );
    shortcutKeyButton->setText( tr2i18n( "None" ) );
    noShortcut->setText( tr2i18n( "&None" ) );
    textLabel2->setText( tr2i18n( "Container toolbars:" ) );
    typeCombo->clear();
    typeCombo->insertItem( tr2i18n( "Tag" ) );
    typeCombo->insertItem( tr2i18n( "Script" ) );
    typeCombo->insertItem( tr2i18n( "Text" ) );
    textLabel3->setText( tr2i18n( "T&ype:" ) );
    buttonGroup13->setTitle( tr2i18n( "Detailed Settings" ) );
    TextLabel5_2_2_2->setText( tr2i18n( "<tag> :" ) );
    useClosingTag->setText( tr2i18n( "</tag> :" ) );
    useActionDialog->setText( tr2i18n( "Run \"Edit tag\" dialog if available" ) );
    textLabel1_2->setText( tr2i18n( "&Input:" ) );
    inputBox->clear();
    inputBox->insertItem( tr2i18n( "None" ) );
    inputBox->insertItem( tr2i18n( "Current Document" ) );
    inputBox->insertItem( tr2i18n( "Selected Text" ) );
    textLabel2_2->setText( tr2i18n( "&Output:" ) );
    outputBox->clear();
    outputBox->insertItem( tr2i18n( "None" ) );
    outputBox->insertItem( tr2i18n( "Insert in Cursor Position" ) );
    outputBox->insertItem( tr2i18n( "Replace Selection" ) );
    outputBox->insertItem( tr2i18n( "Replace Current Document" ) );
    outputBox->insertItem( tr2i18n( "Create New Document" ) );
    outputBox->insertItem( tr2i18n( "Message Window" ) );
    outputBox->setCurrentItem( 5 );
    errorBox->clear();
    errorBox->insertItem( tr2i18n( "None" ) );
    errorBox->insertItem( tr2i18n( "Insert in cursor position" ) );
    errorBox->insertItem( tr2i18n( "Replace selection" ) );
    errorBox->insertItem( tr2i18n( "Replace current document" ) );
    errorBox->insertItem( tr2i18n( "Create a new document" ) );
    errorBox->insertItem( tr2i18n( "Message window" ) );
    errorBox->setCurrentItem( 5 );
    textLabel3_2->setText( tr2i18n( "&Error:" ) );
}

void ActionConfigDialogS::buttonOk_clicked()
{
    tqWarning( "ActionConfigDialogS::buttonOk_clicked(): Not implemented yet" );
}

void ActionConfigDialogS::slotNewAction()
{
    tqWarning( "ActionConfigDialogS::slotNewAction(): Not implemented yet" );
}

void ActionConfigDialogS::slotDeleteAction()
{
    tqWarning( "ActionConfigDialogS::slotDeleteAction(): Not implemented yet" );
}

void ActionConfigDialogS::slotAddContainerToolbar()
{
    tqWarning( "ActionConfigDialogS::slotAddContainerToolbar(): Not implemented yet" );
}

void ActionConfigDialogS::slotRemoveContainerToolbar()
{
    tqWarning( "ActionConfigDialogS::slotRemoveContainerToolbar(): Not implemented yet" );
}

void ActionConfigDialogS::slotApply()
{
    tqWarning( "ActionConfigDialogS::slotApply(): Not implemented yet" );
}

void ActionConfigDialogS::lineText_selectionChanged()
{
    tqWarning( "ActionConfigDialogS::lineText_selectionChanged(): Not implemented yet" );
}

void ActionConfigDialogS::typeCombo_activated(const TQString&)
{
    tqWarning( "ActionConfigDialogS::typeCombo_activated(const TQString&): Not implemented yet" );
}

void ActionConfigDialogS::slotTextChanged(const TQString&)
{
    tqWarning( "ActionConfigDialogS::slotTextChanged(const TQString&): Not implemented yet" );
}

void ActionConfigDialogS::shortcutKeyButton_toggled(bool)
{
    tqWarning( "ActionConfigDialogS::shortcutKeyButton_toggled(bool): Not implemented yet" );
}

void ActionConfigDialogS::slotToggled(bool)
{
    tqWarning( "ActionConfigDialogS::slotToggled(bool): Not implemented yet" );
}

void ActionConfigDialogS::slotTextChanged()
{
    tqWarning( "ActionConfigDialogS::slotTextChanged(): Not implemented yet" );
}

/****************************************************************************
** ActionConfigDialogS meta object code from reading C++ file 'actionconfigdialogs.h'
**
** Created by: The TQt Meta Object Compiler version 26 (TQt 3.5.0)
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#undef TQT_NO_COMPAT
#include "actionconfigdialogs.h"
#include <ntqmetaobject.h>
#include <ntqapplication.h>

#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.5.0. It"
#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif

const char *ActionConfigDialogS::className() const
{
    return "ActionConfigDialogS";
}

TQMetaObject *ActionConfigDialogS::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_ActionConfigDialogS( "ActionConfigDialogS", &ActionConfigDialogS::staticMetaObject );

#ifndef TQT_NO_TRANSLATION
TQString ActionConfigDialogS::tr( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "ActionConfigDialogS", s, c, TQApplication::DefaultCodec );
    else
	return TQString::fromLatin1( s );
}
#ifndef TQT_NO_TRANSLATION_UTF8
TQString ActionConfigDialogS::trUtf8( const char *s, const char *c )
{
    if ( tqApp )
	return tqApp->translate( "ActionConfigDialogS", s, c, TQApplication::UnicodeUTF8 );
    else
	return TQString::fromUtf8( s );
}
#endif // TQT_NO_TRANSLATION_UTF8

#endif // TQT_NO_TRANSLATION

TQMetaObject* ActionConfigDialogS::staticMetaObject()
{
    if ( metaObj ) {
	return metaObj;
}
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->lock();
    if ( metaObj ) {
	if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
	return metaObj;
    }
#endif // TQT_THREAD_SUPPORT
    TQMetaObject* parentObject = TQDialog::staticMetaObject();
    static const TQUMethod slot_0 = {"buttonOk_clicked", 0, 0 };
    static const TQUMethod slot_1 = {"slotNewAction", 0, 0 };
    static const TQUMethod slot_2 = {"slotDeleteAction", 0, 0 };
    static const TQUMethod slot_3 = {"slotAddContainerToolbar", 0, 0 };
    static const TQUMethod slot_4 = {"slotRemoveContainerToolbar", 0, 0 };
    static const TQUMethod slot_5 = {"slotApply", 0, 0 };
    static const TQUMethod slot_6 = {"lineText_selectionChanged", 0, 0 };
    static const TQUParameter param_slot_7[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_7 = {"typeCombo_activated", 1, param_slot_7 };
    static const TQUParameter param_slot_8[] = {
	{ 0, &static_QUType_TQString, 0, TQUParameter::In }
    };
    static const TQUMethod slot_8 = {"slotTextChanged", 1, param_slot_8 };
    static const TQUParameter param_slot_9[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_9 = {"shortcutKeyButton_toggled", 1, param_slot_9 };
    static const TQUParameter param_slot_10[] = {
	{ 0, &static_QUType_bool, 0, TQUParameter::In }
    };
    static const TQUMethod slot_10 = {"slotToggled", 1, param_slot_10 };
    static const TQUMethod slot_11 = {"slotTextChanged", 0, 0 };
    static const TQUMethod slot_12 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "buttonOk_clicked()", &slot_0, TQMetaData::Public },
	{ "slotNewAction()", &slot_1, TQMetaData::Public },
	{ "slotDeleteAction()", &slot_2, TQMetaData::Public },
	{ "slotAddContainerToolbar()", &slot_3, TQMetaData::Public },
	{ "slotRemoveContainerToolbar()", &slot_4, TQMetaData::Public },
	{ "slotApply()", &slot_5, TQMetaData::Public },
	{ "lineText_selectionChanged()", &slot_6, TQMetaData::Public },
	{ "typeCombo_activated(const TQString&)", &slot_7, TQMetaData::Public },
	{ "slotTextChanged(const TQString&)", &slot_8, TQMetaData::Public },
	{ "shortcutKeyButton_toggled(bool)", &slot_9, TQMetaData::Public },
	{ "slotToggled(bool)", &slot_10, TQMetaData::Public },
	{ "slotTextChanged()", &slot_11, TQMetaData::Public },
	{ "languageChange()", &slot_12, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"ActionConfigDialogS", parentObject,
	slot_tbl, 13,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_ActionConfigDialogS.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

void* ActionConfigDialogS::tqt_cast( const char* clname )
{
    if ( !qstrcmp( clname, "ActionConfigDialogS" ) )
	return this;
    return TQDialog::tqt_cast( clname );
}

bool ActionConfigDialogS::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: buttonOk_clicked(); break;
    case 1: slotNewAction(); break;
    case 2: slotDeleteAction(); break;
    case 3: slotAddContainerToolbar(); break;
    case 4: slotRemoveContainerToolbar(); break;
    case 5: slotApply(); break;
    case 6: lineText_selectionChanged(); break;
    case 7: typeCombo_activated((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 8: slotTextChanged((const TQString&)static_QUType_TQString.get(_o+1)); break;
    case 9: shortcutKeyButton_toggled((bool)static_QUType_bool.get(_o+1)); break;
    case 10: slotToggled((bool)static_QUType_bool.get(_o+1)); break;
    case 11: slotTextChanged(); break;
    case 12: languageChange(); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

bool ActionConfigDialogS::tqt_emit( int _id, TQUObject* _o )
{
    return TQDialog::tqt_emit(_id,_o);
}
#ifndef TQT_NO_PROPERTIES

bool ActionConfigDialogS::tqt_property( int id, int f, TQVariant* v)
{
    return TQDialog::tqt_property( id, f, v);
}

bool ActionConfigDialogS::tqt_static_property( TQObject* , int , int , TQVariant* ){ return false; }
#endif // TQT_NO_PROPERTIES
