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

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

#include "rssfeedwidget.h"

#include <ntqvariant.h>
#include <keditlistbox.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include <kurlrequester.h>
#include <ntqpushbutton.h>
#include <ntqtabwidget.h>
#include <ntqsplitter.h>
#include <ntqlistbox.h>
#include <ntqlabel.h>
#include <ntqgroupbox.h>
#include <ntqtable.h>
#include <ntqdatetimeedit.h>
#include <ntqcheckbox.h>
#include <ntqlineedit.h>
#include <ntqspinbox.h>
#include <ntqlayout.h>
#include <ntqtooltip.h>
#include <ntqwhatsthis.h>

/*
 *  Constructs a RssFeedWidget as a child of 'parent', with the
 *  name 'name' and widget flags set to 'f'.
 */
RssFeedWidget::RssFeedWidget( TQWidget* parent, const char* name, WFlags fl )
    : TQWidget( parent, name, fl )
{
    if ( !name )
	setName( "RssFeedWidget" );
    RssFeedWidgetLayout = new TQGridLayout( this, 1, 1, 2, 2, "RssFeedWidgetLayout"); 

    tabs = new TQTabWidget( this, "tabs" );
    tabs->setMargin( 2 );

    feeds = new TQWidget( tabs, "feeds" );
    feedsLayout = new TQVBoxLayout( feeds, 2, 2, "feedsLayout"); 

    splitter16 = new TQSplitter( feeds, "splitter16" );
    splitter16->setOrientation( TQSplitter::Horizontal );

    TQWidget* privateLayoutWidget = new TQWidget( splitter16, "layout2" );
    layout2 = new TQGridLayout( privateLayoutWidget, 1, 1, 2, 2, "layout2"); 

    feedlist = new TQListBox( privateLayoutWidget, "feedlist" );
    feedlist->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, feedlist->sizePolicy().hasHeightForWidth() ) );

    layout2->addMultiCellWidget( feedlist, 0, 0, 0, 1 );

    deleteFeed = new TQPushButton( privateLayoutWidget, "deleteFeed" );
    deleteFeed->setEnabled( false );

    layout2->addWidget( deleteFeed, 1, 1 );

    newFeed = new TQPushButton( privateLayoutWidget, "newFeed" );

    layout2->addWidget( newFeed, 1, 0 );

    TQWidget* privateLayoutWidget_2 = new TQWidget( splitter16, "feedLayout" );
    feedLayout = new TQGridLayout( privateLayoutWidget_2, 1, 1, 2, 2, "feedLayout"); 

    feedUrl = new KURLRequester( privateLayoutWidget_2, "feedUrl" );

    feedLayout->addWidget( feedUrl, 1, 1 );

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

    feedLayout->addWidget( feedUrlLabel, 1, 0 );

    feedBox = new TQGroupBox( privateLayoutWidget_2, "feedBox" );
    feedBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 0, feedBox->sizePolicy().hasHeightForWidth() ) );
    feedBox->setMargin( 2 );
    feedBox->setColumnLayout(0, TQt::Vertical );
    feedBox->layout()->setSpacing( 2 );
    feedBox->layout()->setMargin( 2 );
    feedBoxLayout = new TQGridLayout( feedBox->layout() );
    feedBoxLayout->setAlignment( TQt::AlignTop );
    spacer1 = new TQSpacerItem( 90, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    feedBoxLayout->addItem( spacer1, 1, 1 );

    downloadArticle = new TQPushButton( feedBox, "downloadArticle" );
    downloadArticle->setEnabled( false );

    feedBoxLayout->addWidget( downloadArticle, 1, 2 );

    feedArticles = new TQTable( feedBox, "feedArticles" );
    feedArticles->setNumRows( 0 );
    feedArticles->setNumCols( 0 );
    feedArticles->setReadOnly( true );
    feedArticles->setSelectionMode( TQTable::MultiRow );

    feedBoxLayout->addMultiCellWidget( feedArticles, 0, 0, 0, 2 );

    feedLayout->addMultiCellWidget( feedBox, 3, 3, 0, 1 );

    layout13 = new TQHBoxLayout( 0, 0, 2, "layout13"); 

    feedRefreshTimeLabel = new TQLabel( privateLayoutWidget_2, "feedRefreshTimeLabel" );
    feedRefreshTimeLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, feedRefreshTimeLabel->sizePolicy().hasHeightForWidth() ) );
    layout13->addWidget( feedRefreshTimeLabel );

    feedAutoRefresh = new TQTimeEdit( privateLayoutWidget_2, "feedAutoRefresh" );
    feedAutoRefresh->setEnabled( false );
    feedAutoRefresh->setTime( TQTime( 0, 30, 0 ) );
    layout13->addWidget( feedAutoRefresh );

    feedIgnoreTTL = new TQCheckBox( privateLayoutWidget_2, "feedIgnoreTTL" );
    layout13->addWidget( feedIgnoreTTL );
    spacer3 = new TQSpacerItem( 60, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout13->addItem( spacer3 );

    refreshFeed = new TQPushButton( privateLayoutWidget_2, "refreshFeed" );
    refreshFeed->setEnabled( false );
    layout13->addWidget( refreshFeed );

    feedLayout->addMultiCellLayout( layout13, 2, 2, 0, 1 );

    layout47 = new TQHBoxLayout( 0, 0, 2, "layout47"); 

    feedTitleLabel = new TQLabel( privateLayoutWidget_2, "feedTitleLabel" );
    feedTitleLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, feedTitleLabel->sizePolicy().hasHeightForWidth() ) );
    layout47->addWidget( feedTitleLabel );

    feedTitle = new TQLineEdit( privateLayoutWidget_2, "feedTitle" );
    layout47->addWidget( feedTitle );

    feedArticleAgeLabel = new TQLabel( privateLayoutWidget_2, "feedArticleAgeLabel" );
    feedArticleAgeLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, feedArticleAgeLabel->sizePolicy().hasHeightForWidth() ) );
    layout47->addWidget( feedArticleAgeLabel );

    feedArticleAge = new TQSpinBox( privateLayoutWidget_2, "feedArticleAge" );
    feedArticleAge->setMaxValue( 3650 );
    layout47->addWidget( feedArticleAge );

    feedActive = new TQCheckBox( privateLayoutWidget_2, "feedActive" );
    feedActive->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, feedActive->sizePolicy().hasHeightForWidth() ) );
    layout47->addWidget( feedActive );

    feedLayout->addMultiCellLayout( layout47, 0, 0, 0, 1 );
    feedsLayout->addWidget( splitter16 );
    tabs->insertTab( feeds, TQString::fromLatin1("") );

    filters = new TQWidget( tabs, "filters" );
    filtersLayout = new TQHBoxLayout( filters, 2, 2, "filtersLayout"); 

    layout28 = new TQVBoxLayout( 0, 0, 2, "layout28"); 

    groupBox12 = new TQGroupBox( filters, "groupBox12" );
    groupBox12->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 3, groupBox12->sizePolicy().hasHeightForWidth() ) );
    groupBox12->setColumnLayout(0, TQt::Vertical );
    groupBox12->layout()->setSpacing( 2 );
    groupBox12->layout()->setMargin( 2 );
    groupBox12Layout = new TQGridLayout( groupBox12->layout() );
    groupBox12Layout->setAlignment( TQt::AlignTop );

    acceptFilterList = new TQListBox( groupBox12, "acceptFilterList" );

    groupBox12Layout->addMultiCellWidget( acceptFilterList, 0, 0, 0, 1 );

    deleteAcceptFilter = new TQPushButton( groupBox12, "deleteAcceptFilter" );
    deleteAcceptFilter->setEnabled( false );

    groupBox12Layout->addWidget( deleteAcceptFilter, 1, 1 );

    newAcceptFilter = new TQPushButton( groupBox12, "newAcceptFilter" );

    groupBox12Layout->addWidget( newAcceptFilter, 1, 0 );
    layout28->addWidget( groupBox12 );

    groupBox13 = new TQGroupBox( filters, "groupBox13" );
    groupBox13->setEnabled( true );
    groupBox13->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 1, groupBox13->sizePolicy().hasHeightForWidth() ) );
    groupBox13->setColumnLayout(0, TQt::Vertical );
    groupBox13->layout()->setSpacing( 2 );
    groupBox13->layout()->setMargin( 2 );
    groupBox13Layout = new TQGridLayout( groupBox13->layout() );
    groupBox13Layout->setAlignment( TQt::AlignTop );

    rejectFilterList = new TQListBox( groupBox13, "rejectFilterList" );

    groupBox13Layout->addMultiCellWidget( rejectFilterList, 0, 0, 0, 1 );

    deleteRejectFilter = new TQPushButton( groupBox13, "deleteRejectFilter" );
    deleteRejectFilter->setEnabled( false );

    groupBox13Layout->addWidget( deleteRejectFilter, 1, 1 );

    newRejectFilter = new TQPushButton( groupBox13, "newRejectFilter" );

    groupBox13Layout->addWidget( newRejectFilter, 1, 0 );
    layout28->addWidget( groupBox13 );
    filtersLayout->addLayout( layout28 );

    layout14 = new TQVBoxLayout( 0, 0, 2, "layout14"); 

    layout9 = new TQHBoxLayout( 0, 0, 2, "layout9"); 

    filterTitleLabel = new TQLabel( filters, "filterTitleLabel" );
    filterTitleLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, filterTitleLabel->sizePolicy().hasHeightForWidth() ) );
    layout9->addWidget( filterTitleLabel );

    filterTitle = new TQLineEdit( filters, "filterTitle" );
    layout9->addWidget( filterTitle );

    filterActive = new TQCheckBox( filters, "filterActive" );
    layout9->addWidget( filterActive );
    layout14->addLayout( layout9 );

    layout12 = new TQHBoxLayout( 0, 0, 2, "layout12"); 

    filterRegExps = new KEditListBox( filters, "filterRegExps" );
    filterRegExps->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, 0, 0, filterRegExps->sizePolicy().hasHeightForWidth() ) );
    filterRegExps->setFrameShape( KEditListBox::GroupBoxPanel );
    filterRegExps->setFrameShadow( KEditListBox::Sunken );
    filterRegExps->setMargin( 0 );
    filterRegExps->setFlat( false );
    filterRegExps->setButtons( int( KEditListBox::Remove | KEditListBox::Add ) );
    layout12->addWidget( filterRegExps );

    layout11 = new TQVBoxLayout( 0, 0, 2, "layout11"); 

    layout28_2 = new TQHBoxLayout( 0, 0, 2, "layout28_2"); 

    filterSeries = new TQCheckBox( filters, "filterSeries" );
    filterSeries->setChecked( true );
    layout28_2->addWidget( filterSeries );
    spacer20 = new TQSpacerItem( 50, 21, TQSizePolicy::Preferred, TQSizePolicy::Minimum );
    layout28_2->addItem( spacer20 );

    processFilter = new TQPushButton( filters, "processFilter" );
    processFilter->setEnabled( true );
    processFilter->setMaximumSize( TQSize( 60, 32767 ) );
    layout28_2->addWidget( processFilter );
    layout11->addLayout( layout28_2 );

    seriesBox = new TQGroupBox( filters, "seriesBox" );
    seriesBox->setMaximumSize( TQSize( 32000, 32000 ) );
    seriesBox->setColumnLayout(0, TQt::Vertical );
    seriesBox->layout()->setSpacing( 2 );
    seriesBox->layout()->setMargin( 2 );
    seriesBoxLayout = new TQVBoxLayout( seriesBox->layout() );
    seriesBoxLayout->setAlignment( TQt::AlignTop );

    layout9_2 = new TQHBoxLayout( 0, 0, 2, "layout9_2"); 
    spacer7 = new TQSpacerItem( 20, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout9_2->addItem( spacer7 );

    filterSansEpisode = new TQCheckBox( seriesBox, "filterSansEpisode" );
    layout9_2->addWidget( filterSansEpisode );
    seriesBoxLayout->addLayout( layout9_2 );

    layout10 = new TQGridLayout( 0, 1, 1, 0, 2, "layout10"); 

    filterMinSeason = new TQSpinBox( seriesBox, "filterMinSeason" );

    layout10->addWidget( filterMinSeason, 0, 1 );

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

    layout10->addWidget( filterMaxEpisodeLabel, 1, 2 );

    filterMinEpisode = new TQSpinBox( seriesBox, "filterMinEpisode" );

    layout10->addWidget( filterMinEpisode, 0, 3 );

    filterMaxSeason = new TQSpinBox( seriesBox, "filterMaxSeason" );

    layout10->addWidget( filterMaxSeason, 1, 1 );

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

    layout10->addWidget( filterMaxSeasonLabel, 1, 0 );

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

    layout10->addWidget( filterMinSeasonLabel, 0, 0 );

    filterMaxEpisode = new TQSpinBox( seriesBox, "filterMaxEpisode" );

    layout10->addWidget( filterMaxEpisode, 1, 3 );

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

    layout10->addWidget( filterMinEpisodeLabel, 0, 2 );
    seriesBoxLayout->addLayout( layout10 );
    layout11->addWidget( seriesBox );
    layout12->addLayout( layout11 );
    layout14->addLayout( layout12 );

    layout33 = new TQHBoxLayout( 0, 0, 2, "layout33"); 

    testTextLabel = new TQLabel( filters, "testTextLabel" );
    testTextLabel->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)5, 0, 0, testTextLabel->sizePolicy().hasHeightForWidth() ) );
    layout33->addWidget( testTextLabel );

    testText = new TQLineEdit( filters, "testText" );
    testText->setPaletteBackgroundColor( TQColor( 255, 255, 255 ) );
    layout33->addWidget( testText );

    testTestText = new TQPushButton( filters, "testTestText" );
    testTestText->setEnabled( false );
    layout33->addWidget( testTestText );
    layout14->addLayout( layout33 );

    filterMatchesBox = new TQGroupBox( filters, "filterMatchesBox" );
    filterMatchesBox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)5, 0, 1, filterMatchesBox->sizePolicy().hasHeightForWidth() ) );
    filterMatchesBox->setColumnLayout(0, TQt::Vertical );
    filterMatchesBox->layout()->setSpacing( 2 );
    filterMatchesBox->layout()->setMargin( 2 );
    filterMatchesBoxLayout = new TQVBoxLayout( filterMatchesBox->layout() );
    filterMatchesBoxLayout->setAlignment( TQt::AlignTop );

    filterMatches = new TQTable( filterMatchesBox, "filterMatches" );
    filterMatches->setNumRows( 0 );
    filterMatches->setNumCols( 0 );
    filterMatches->setReadOnly( true );
    filterMatches->setSelectionMode( TQTable::MultiRow );
    filterMatchesBoxLayout->addWidget( filterMatches );

    layout13_2 = new TQHBoxLayout( 0, 0, 2, "layout13_2"); 

    downloadFilterMatch = new TQPushButton( filterMatchesBox, "downloadFilterMatch" );
    downloadFilterMatch->setEnabled( false );
    layout13_2->addWidget( downloadFilterMatch );
    spacer6 = new TQSpacerItem( 170, 21, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
    layout13_2->addItem( spacer6 );

    deleteFilterMatch = new TQPushButton( filterMatchesBox, "deleteFilterMatch" );
    deleteFilterMatch->setEnabled( false );
    layout13_2->addWidget( deleteFilterMatch );
    filterMatchesBoxLayout->addLayout( layout13_2 );
    layout14->addWidget( filterMatchesBox );
    filtersLayout->addLayout( layout14 );
    tabs->insertTab( filters, TQString::fromLatin1("") );

    RssFeedWidgetLayout->addWidget( tabs, 0, 0 );
    languageChange();
    resize( TQSize(798, 530).expandedTo(minimumSizeHint()) );
    clearWState( WState_Polished );

    // signals and slots connections
    connect( filterSeries, TQ_SIGNAL( toggled(bool) ), seriesBox, TQ_SLOT( setEnabled(bool) ) );
    connect( feedIgnoreTTL, TQ_SIGNAL( toggled(bool) ), feedAutoRefresh, TQ_SLOT( setEnabled(bool) ) );

    // buddies
    feedUrlLabel->setBuddy( feedUrl );
    feedRefreshTimeLabel->setBuddy( feedAutoRefresh );
    feedTitleLabel->setBuddy( feedTitle );
    filterTitleLabel->setBuddy( filterTitle );
    filterMaxSeasonLabel->setBuddy( filterMinSeason );
    filterMinSeasonLabel->setBuddy( filterMinSeason );
    testTextLabel->setBuddy( testText );
}

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

/*
 *  Sets the strings of the subwidgets using the current
 *  language.
 */
void RssFeedWidget::languageChange()
{
    setCaption( tr2i18n( "Rss Feeds" ) );
    deleteFeed->setText( tr2i18n( "De&lete" ) );
    newFeed->setText( tr2i18n( "&New" ) );
    feedUrlLabel->setText( tr2i18n( "&URL" ) );
    feedBox->setTitle( tr2i18n( "Articles" ) );
    downloadArticle->setText( tr2i18n( "Download" ) );
    feedRefreshTimeLabel->setText( tr2i18n( "Auto&refresh" ) );
    feedIgnoreTTL->setText( tr2i18n( "I&gnore TTL" ) );
    refreshFeed->setText( tr2i18n( "Refresh" ) );
    feedTitleLabel->setText( tr2i18n( "&Title" ) );
    feedArticleAgeLabel->setText( tr2i18n( "Keep Articles (days)" ) );
    feedActive->setText( tr2i18n( "&Active" ) );
    tabs->changeTab( feeds, tr2i18n( "Feeds" ) );
    groupBox12->setTitle( tr2i18n( "Accept Filters" ) );
    deleteAcceptFilter->setText( tr2i18n( "Delete" ) );
    newAcceptFilter->setText( tr2i18n( "&New" ) );
    groupBox13->setTitle( tr2i18n( "Reject Filters" ) );
    deleteRejectFilter->setText( tr2i18n( "Delete" ) );
    newRejectFilter->setText( tr2i18n( "&New" ) );
    filterTitleLabel->setText( tr2i18n( "&Title" ) );
    filterActive->setText( tr2i18n( "&Active" ) );
    filterRegExps->setTitle( tr2i18n( "Regular Expressions" ) );
    filterSeries->setText( tr2i18n( "Treat as &Series" ) );
    processFilter->setText( tr2i18n( "Process" ) );
    seriesBox->setTitle( tr2i18n( "Series Criteria" ) );
    filterSansEpisode->setText( tr2i18n( "Match Without Episode" ) );
    filterMaxEpisodeLabel->setText( tr2i18n( "Max Episode" ) );
    filterMaxSeasonLabel->setText( tr2i18n( "Max Season" ) );
    filterMinSeasonLabel->setText( tr2i18n( "Min Season" ) );
    filterMinEpisodeLabel->setText( tr2i18n( "Min Episode" ) );
    testTextLabel->setText( tr2i18n( "Test te&xt" ) );
    testTestText->setText( tr2i18n( "Te&st" ) );
    filterMatchesBox->setTitle( tr2i18n( "Filter Matches" ) );
    downloadFilterMatch->setText( tr2i18n( "Download" ) );
    deleteFilterMatch->setText( tr2i18n( "Delete" ) );
    tabs->changeTab( filters, tr2i18n( "Filters" ) );
}

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

TQMetaObject *RssFeedWidget::metaObj = 0;
static TQMetaObjectCleanUp cleanUp_RssFeedWidget( "RssFeedWidget", &RssFeedWidget::staticMetaObject );

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

#endif // TQT_NO_TRANSLATION

TQMetaObject* RssFeedWidget::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 = TQWidget::staticMetaObject();
    static const TQUMethod slot_0 = {"languageChange", 0, 0 };
    static const TQMetaData slot_tbl[] = {
	{ "languageChange()", &slot_0, TQMetaData::Protected }
    };
    metaObj = TQMetaObject::new_metaobject(
	"RssFeedWidget", parentObject,
	slot_tbl, 1,
	0, 0,
#ifndef TQT_NO_PROPERTIES
	0, 0,
	0, 0,
#endif // TQT_NO_PROPERTIES
	0, 0 );
    cleanUp_RssFeedWidget.setMetaObject( metaObj );
#ifdef TQT_THREAD_SUPPORT
    if (tqt_sharedMetaObjectMutex) tqt_sharedMetaObjectMutex->unlock();
#endif // TQT_THREAD_SUPPORT
    return metaObj;
}

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

bool RssFeedWidget::tqt_invoke( int _id, TQUObject* _o )
{
    switch ( _id - staticMetaObject()->slotOffset() ) {
    case 0: languageChange(); break;
    default:
	return TQWidget::tqt_invoke( _id, _o );
    }
    return true;
}

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

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

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