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

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

#include "sq_imageproperties.h"

#include <ntqvariant.h>
#include <tqstringlist.h>
#include <tqfileinfo.h>
#include <tdeio/global.h>
#include <tdepopupmenu.h>
#include <kstdaction.h>
#include <tdeaction.h>
#include <tqapplication.h>
#include <tqclipboard.h>
#include <tqdir.h>
#include <tqbuttongroup.h>
#include <tdelocale.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqwidget.h>
#include <ntqgroupbox.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
#include <ntqheader.h>
#include <ntqlistview.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>
#include "sq_iconloader.h"
#include "sq_imageproperties.ui.h"

/*
 *  Constructs a SQ_ImageProperties 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.
 */
SQ_ImageProperties::SQ_ImageProperties( TQWidget* parent, const char* name, bool modal, WFlags fl )
    : TQDialog( parent, name, modal, fl )
{
    if ( !name )
	setName( "SQ_ImageProperties" );
    setSizeGripEnabled( true );
    SQ_ImagePropertiesLayout = new TQGridLayout( this, 1, 1, 11, 6, "SQ_ImagePropertiesLayout"); 

    pushButton1 = new TQPushButton( this, "pushButton1" );
    pushButton1->setToggleButton( false );
    pushButton1->setDefault( true );
    pushButton1->setFlat( false );

    SQ_ImagePropertiesLayout->addWidget( pushButton1, 1, 1 );
    spacer1 = new TQSpacerItem( 470, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    SQ_ImagePropertiesLayout->addItem( spacer1, 1, 0 );

    tabWidget = new TQTabWidget( this, "tabWidget" );

    tab = new TQWidget( tabWidget, "tab" );
    tabLayout = new TQGridLayout( tab, 1, 1, 11, 6, "tabLayout"); 
    spacer12 = new TQSpacerItem( 20, 10, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    tabLayout->addItem( spacer12, 2, 0 );

    groupBox1 = new TQGroupBox( tab, "groupBox1" );
    groupBox1->setFlat( true );
    groupBox1->setColumnLayout(0, TQt::Vertical );
    groupBox1->layout()->setSpacing( 6 );
    groupBox1->layout()->setMargin( 11 );
    groupBox1Layout = new TQGridLayout( groupBox1->layout() );
    groupBox1Layout->setAlignment( TQt::AlignTop );

    textLabel4_2 = new TQLabel( groupBox1, "textLabel4_2" );
    textLabel4_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel4_2->sizePolicy().hasHeightForWidth() ) );

    groupBox1Layout->addWidget( textLabel4_2, 0, 0 );

    textLabel5_2 = new TQLabel( groupBox1, "textLabel5_2" );
    textLabel5_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel5_2->sizePolicy().hasHeightForWidth() ) );

    groupBox1Layout->addWidget( textLabel5_2, 1, 0 );

    textOwner = new TQLabel( groupBox1, "textOwner" );

    groupBox1Layout->addWidget( textOwner, 0, 1 );

    textLabel27_2 = new TQLabel( groupBox1, "textLabel27_2" );
    textLabel27_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel27_2->sizePolicy().hasHeightForWidth() ) );
    textLabel27_2->setAlignment( int( TQLabel::AlignVCenter ) );

    groupBox1Layout->addWidget( textLabel27_2, 2, 0 );

    textPermissions = new TQLabel( groupBox1, "textPermissions" );
    textPermissions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textPermissions->sizePolicy().hasHeightForWidth() ) );

    groupBox1Layout->addWidget( textPermissions, 2, 1 );

    textGroup = new TQLabel( groupBox1, "textGroup" );

    groupBox1Layout->addWidget( textGroup, 1, 1 );

    tabLayout->addWidget( groupBox1, 1, 0 );

    groupBox2 = new TQGroupBox( tab, "groupBox2" );
    groupBox2->setFlat( true );
    groupBox2->setCheckable( false );
    groupBox2->setColumnLayout(0, TQt::Vertical );
    groupBox2->layout()->setSpacing( 6 );
    groupBox2->layout()->setMargin( 11 );
    groupBox2Layout = new TQGridLayout( groupBox2->layout() );
    groupBox2Layout->setAlignment( TQt::AlignTop );

    textLabel1_2_2 = new TQLabel( groupBox2, "textLabel1_2_2" );
    textLabel1_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel1_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel1_2_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );

    groupBox2Layout->addWidget( textLabel1_2_2, 0, 0 );

    textLabel2_2_2 = new TQLabel( groupBox2, "textLabel2_2_2" );
    textLabel2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel2_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel2_2_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );

    groupBox2Layout->addWidget( textLabel2_2_2, 1, 0 );

    textLabel3_2_2 = new TQLabel( groupBox2, "textLabel3_2_2" );
    textLabel3_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, 0, 0, textLabel3_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel3_2_2->setAlignment( int( TQLabel::WordBreak | TQLabel::AlignTop ) );

    groupBox2Layout->addWidget( textLabel3_2_2, 2, 0 );

    textCreated = new TQLabel( groupBox2, "textCreated" );
    textCreated->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textCreated->sizePolicy().hasHeightForWidth() ) );

    groupBox2Layout->addWidget( textCreated, 0, 1 );

    textLastRead = new TQLabel( groupBox2, "textLastRead" );
    textLastRead->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLastRead->sizePolicy().hasHeightForWidth() ) );

    groupBox2Layout->addWidget( textLastRead, 1, 1 );

    textLastMod = new TQLabel( groupBox2, "textLastMod" );
    textLastMod->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textLastMod->sizePolicy().hasHeightForWidth() ) );

    groupBox2Layout->addWidget( textLastMod, 2, 1 );

    tabLayout->addWidget( groupBox2, 1, 1 );

    groupBox3 = new TQGroupBox( tab, "groupBox3" );
    groupBox3->setFlat( true );
    groupBox3->setColumnLayout(0, TQt::Vertical );
    groupBox3->layout()->setSpacing( 6 );
    groupBox3->layout()->setMargin( 11 );
    groupBox3Layout = new TQGridLayout( groupBox3->layout() );
    groupBox3Layout->setAlignment( TQt::AlignTop );

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

    groupBox3Layout->addWidget( textLabel2_3, 1, 0 );

    textSize = new TQLabel( groupBox3, "textSize" );
    textSize->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textSize->sizePolicy().hasHeightForWidth() ) );

    groupBox3Layout->addWidget( textSize, 2, 1 );

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

    groupBox3Layout->addWidget( textLabel1_4, 0, 0 );

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

    groupBox3Layout->addWidget( textLabel3_3, 2, 0 );

    lineDirectory = new TQLineEdit( groupBox3, "lineDirectory" );
    lineDirectory->setReadOnly( true );

    groupBox3Layout->addWidget( lineDirectory, 0, 1 );

    lineFile = new TQLineEdit( groupBox3, "lineFile" );
    lineFile->setReadOnly( true );

    groupBox3Layout->addWidget( lineFile, 1, 1 );

    tabLayout->addMultiCellWidget( groupBox3, 0, 0, 0, 1 );
    tabWidget->insertTab( tab, TQString::fromLatin1("") );

    tab_2 = new TQWidget( tabWidget, "tab_2" );
    tabLayout_2 = new TQGridLayout( tab_2, 1, 1, 11, 6, "tabLayout_2"); 

    layout5 = new TQHBoxLayout( 0, 0, 6, "layout5"); 

    layout3 = new TQVBoxLayout( 0, 0, 6, "layout3"); 

    textLabel6_2_2_2 = new TQLabel( tab_2, "textLabel6_2_2_2" );
    textLabel6_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel6_2_2_2 );

    textLabel11_2_2_2 = new TQLabel( tab_2, "textLabel11_2_2_2" );
    textLabel11_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel11_2_2_2 );

    textLabel23_2_2_2_2_3 = new TQLabel( tab_2, "textLabel23_2_2_2_2_3" );
    textLabel23_2_2_2_2_3->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel23_2_2_2_2_3->sizePolicy().hasHeightForWidth() ) );
    textLabel23_2_2_2_2_3->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel23_2_2_2_2_3 );

    textLabel23_2_2_2_2_4 = new TQLabel( tab_2, "textLabel23_2_2_2_2_4" );
    textLabel23_2_2_2_2_4->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel23_2_2_2_2_4->sizePolicy().hasHeightForWidth() ) );
    textLabel23_2_2_2_2_4->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel23_2_2_2_2_4 );

    textLabel7_2_2_2 = new TQLabel( tab_2, "textLabel7_2_2_2" );
    textLabel7_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel7_2_2_2 );

    textLabel8_2_2_2 = new TQLabel( tab_2, "textLabel8_2_2_2" );
    textLabel8_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel8_2_2_2 );

    textLabel9_2_2_2 = new TQLabel( tab_2, "textLabel9_2_2_2" );
    textLabel9_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel9_2_2_2 );

    textLabel10_2_2_2 = new TQLabel( tab_2, "textLabel10_2_2_2" );
    textLabel10_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel10_2_2_2 );

    textLabel21_2_2_2 = new TQLabel( tab_2, "textLabel21_2_2_2" );
    textLabel21_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel21_2_2_2 );

    textLabel23_2_2_2 = new TQLabel( tab_2, "textLabel23_2_2_2" );
    textLabel23_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel23_2_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel23_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel23_2_2_2 );

    textLabel23_2_2_2_2 = new TQLabel( tab_2, "textLabel23_2_2_2_2" );
    textLabel23_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel23_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel23_2_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel23_2_2_2_2 );

    textLabel23_2_2_2_2_2 = new TQLabel( tab_2, "textLabel23_2_2_2_2_2" );
    textLabel23_2_2_2_2_2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)5, 0, 0, textLabel23_2_2_2_2_2->sizePolicy().hasHeightForWidth() ) );
    textLabel23_2_2_2_2_2->setAlignment( int( TQLabel::AlignTop | TQLabel::AlignRight ) );
    layout3->addWidget( textLabel23_2_2_2_2_2 );
    spacer10 = new TQSpacerItem( 210, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout3->addItem( spacer10 );
    layout5->addLayout( layout3 );

    layout4 = new TQVBoxLayout( 0, 0, 6, "layout4"); 

    textType = new TQLabel( tab_2, "textType" );
    textType->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textType->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textType );

    textFrames = new TQLabel( tab_2, "textFrames" );
    textFrames->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textFrames->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textFrames );

    textFrame = new TQLabel( tab_2, "textFrame" );
    layout4->addWidget( textFrame );

    textDelay = new TQLabel( tab_2, "textDelay" );
    layout4->addWidget( textDelay );

    textDimensions = new TQLabel( tab_2, "textDimensions" );
    textDimensions->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textDimensions->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textDimensions );

    textBpp = new TQLabel( tab_2, "textBpp" );
    textBpp->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textBpp->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textBpp );

    textColorModel = new TQLabel( tab_2, "textColorModel" );
    textColorModel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textColorModel->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textColorModel );

    textCompression = new TQLabel( tab_2, "textCompression" );
    textCompression->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textCompression->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textCompression );

    textUncompressed = new TQLabel( tab_2, "textUncompressed" );
    textUncompressed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textUncompressed->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textUncompressed );

    textRatio = new TQLabel( tab_2, "textRatio" );
    textRatio->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, textRatio->sizePolicy().hasHeightForWidth() ) );
    layout4->addWidget( textRatio );

    textInterlaced = new TQLabel( tab_2, "textInterlaced" );
    layout4->addWidget( textInterlaced );

    layout1 = new TQHBoxLayout( 0, 0, 6, "layout1"); 

    textStatusIcon = new TQLabel( tab_2, "textStatusIcon" );
    textStatusIcon->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, textStatusIcon->sizePolicy().hasHeightForWidth() ) );
    layout1->addWidget( textStatusIcon );

    textStatus = new TQLabel( tab_2, "textStatus" );
    layout1->addWidget( textStatus );
    layout4->addLayout( layout1 );
    spacer11 = new TQSpacerItem( 205, 16, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
    layout4->addItem( spacer11 );
    layout5->addLayout( layout4 );

    tabLayout_2->addLayout( layout5, 0, 0 );
    tabWidget->insertTab( tab_2, TQString::fromLatin1("") );

    TabPage = new TQWidget( tabWidget, "TabPage" );
    TabPageLayout = new TQGridLayout( TabPage, 1, 1, 11, 6, "TabPageLayout"); 

    listMeta = new TQListView( TabPage, "listMeta" );
    listMeta->addColumn( tr2i18n( "Group" ) );
    listMeta->addColumn( tr2i18n( "Value" ) );
    listMeta->setAllColumnsShowFocus( true );

    TabPageLayout->addWidget( listMeta, 0, 0 );
    tabWidget->insertTab( TabPage, TQString::fromLatin1("") );

    SQ_ImagePropertiesLayout->addMultiCellWidget( tabWidget, 0, 0, 0, 1 );
    languageChange();
    resize( TQSize(495, 384).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( pushButton1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( close() ) );
    connect( listMeta, TQ_SIGNAL( contextMenuRequested(TQListViewItem*,const TQPoint&,int) ), this, TQ_SLOT( slotContextMenu(TQListViewItem*,const TQPoint&,int) ) );

    // tab order
    setTabOrder( tabWidget, lineDirectory );
    setTabOrder( lineDirectory, lineFile );
    setTabOrder( lineFile, listMeta );
    setTabOrder( listMeta, pushButton1 );
    init();
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void SQ_ImageProperties::languageChange()
{
    setCaption( tr2i18n( "Image properties" ) );
    pushButton1->setText( tr2i18n( "Close" ) );
    groupBox1->setTitle( tr2i18n( "Attributes" ) );
    textLabel4_2->setText( tr2i18n( "Owner:" ) );
    textLabel5_2->setText( tr2i18n( "Group:" ) );
    textOwner->setText( TQString::null );
    textLabel27_2->setText( tr2i18n( "Permissions:" ) );
    textPermissions->setText( TQString::null );
    textGroup->setText( TQString::null );
    groupBox2->setTitle( tr2i18n( "Time" ) );
    textLabel1_2_2->setText( tr2i18n( "Created:" ) );
    textLabel2_2_2->setText( tr2i18n( "Last read:" ) );
    textLabel3_2_2->setText( tr2i18n( "Last modified:" ) );
    textCreated->setText( TQString::null );
    textLastRead->setText( TQString::null );
    textLastMod->setText( TQString::null );
    groupBox3->setTitle( tr2i18n( "General" ) );
    textLabel2_3->setText( tr2i18n( "File:" ) );
    textSize->setText( TQString::null );
    textLabel1_4->setText( tr2i18n( "Directory:" ) );
    textLabel3_3->setText( tr2i18n( "Size:" ) );
    tabWidget->changeTab( tab, tr2i18n( "File" ) );
    textLabel6_2_2_2->setText( tr2i18n( "Type:" ) );
    textLabel11_2_2_2->setText( tr2i18n( "Number of frames:" ) );
    textLabel23_2_2_2_2_3->setText( tr2i18n( "Current frame" ) );
    textLabel23_2_2_2_2_4->setText( tr2i18n( "Delay:" ) );
    textLabel7_2_2_2->setText( tr2i18n( "Dimensions:" ) );
    textLabel8_2_2_2->setText( tr2i18n( "Bits per pixel:" ) );
    textLabel9_2_2_2->setText( tr2i18n( "Color space:" ) );
    textLabel10_2_2_2->setText( tr2i18n( "Compression:" ) );
    textLabel21_2_2_2->setText( tr2i18n( "Uncompressed size:" ) );
    textLabel23_2_2_2->setText( tr2i18n( "Compression ratio:" ) );
    textLabel23_2_2_2_2->setText( tr2i18n( "Interlaced:" ) );
    textLabel23_2_2_2_2_2->setText( tr2i18n( "Status:" ) );
    textType->setText( TQString::null );
    textFrames->setText( TQString::null );
    textFrame->setText( TQString::null );
    textDelay->setText( TQString::null );
    textDimensions->setText( TQString::null );
    textBpp->setText( TQString::null );
    textColorModel->setText( TQString::null );
    textCompression->setText( TQString::null );
    textUncompressed->setText( TQString::null );
    textRatio->setText( TQString::null );
    textInterlaced->setText( TQString::null );
    textStatusIcon->setText( TQString::null );
    textStatus->setText( TQString::null );
    tabWidget->changeTab( tab_2, tr2i18n( "Image" ) );
    listMeta->header()->setLabel( 0, tr2i18n( "Group" ) );
    listMeta->header()->setLabel( 1, tr2i18n( "Value" ) );
    tabWidget->changeTab( TabPage, tr2i18n( "Metadata" ) );
}

/****************************************************************************
** SQ_ImageProperties meta object code from reading C++ file 'sq_imageproperties.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 "sq_imageproperties.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 *SQ_ImageProperties::className() const
{
    return "SQ_ImageProperties";
}

TQMetaObject *SQ_ImageProperties::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_SQ_ImageProperties( "SQ_ImageProperties", &SQ_ImageProperties::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* SQ_ImageProperties::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 = {"languageChange", 0, 0 };
    static const TQUParameter param_slot_1[] = {
	{ "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In },
	{ "p", &static_QUType_varptr, "\x0e", TQUParameter::In },
	{ "z1", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_1 = {"slotContextMenu", 3, param_slot_1 };
    static const TQUMethod slot_2 = {"slotCopyString", 0, 0 };
    static const TQUMethod slot_3 = {"slotCopyAll", 0, 0 };
    static const TQUMethod slot_4 = {"slotCopyEntry", 0, 0 };
    static const TQUParameter param_slot_5[] = {
	{ "id", &static_QUType_int, 0, TQUParameter::In }
    };
    static const TQUMethod slot_5 = {"slotModeClicked", 1, param_slot_5 };
    static const TQUParameter param_slot_6[] = {
	{ "job", &static_QUType_ptr, "TDEIO::Job", TQUParameter::In }
    };
    static const TQUMethod slot_6 = {"slotStatResult", 1, param_slot_6 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected },
	{ "slotContextMenu(TQListViewItem*,const TQPoint&,int)", &slot_1, TQMetaData::Private },
	{ "slotCopyString()", &slot_2, TQMetaData::Private },
	{ "slotCopyAll()", &slot_3, TQMetaData::Private },
	{ "slotCopyEntry()", &slot_4, TQMetaData::Private },
	{ "slotModeClicked(int)", &slot_5, TQMetaData::Private },
	{ "slotStatResult(TDEIO::Job*)", &slot_6, TQMetaData::Private }
    };
    metaObj = TQMetaObject::new_metaobject(
	"SQ_ImageProperties", parentObject,
	slot_tbl, 7,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_SQ_ImageProperties.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool SQ_ImageProperties::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    case 1: slotContextMenu((TQListViewItem*)static_QUType_ptr.get(_o+1),(const TQPoint&)*((const TQPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
    case 2: slotCopyString(); break;
    case 3: slotCopyAll(); break;
    case 4: slotCopyEntry(); break;
    case 5: slotModeClicked((int)static_QUType_int.get(_o+1)); break;
    case 6: slotStatResult((TDEIO::Job*)static_QUType_ptr.get(_o+1)); break;
    default:
	return TQDialog::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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