|
|
@ -30,11 +30,11 @@
|
|
|
|
#include <kapplication.h>
|
|
|
|
#include <kapplication.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kgenericfactory.h>
|
|
|
|
#include <kgenericfactory.h>
|
|
|
|
#include <khtml_part.h>
|
|
|
|
#include <tdehtml_part.h>
|
|
|
|
#include <kiconloader.h>
|
|
|
|
#include <kiconloader.h>
|
|
|
|
#include <klibloader.h>
|
|
|
|
#include <klibloader.h>
|
|
|
|
#include <kmessagebox.h>
|
|
|
|
#include <kmessagebox.h>
|
|
|
|
#include <kparts/statusbarextension.h>
|
|
|
|
#include <tdeparts/statusbarextension.h>
|
|
|
|
#include <kprocess.h>
|
|
|
|
#include <kprocess.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
#include <kstatusbar.h>
|
|
|
|
#include <kstatusbar.h>
|
|
|
@ -62,7 +62,7 @@ KonqFeedIcon::KonqFeedIcon(TQObject *parent, const char *name, const TQStringLis
|
|
|
|
|
|
|
|
|
|
|
|
m_part = dynamic_cast<KHTMLPart*>(parent);
|
|
|
|
m_part = dynamic_cast<KHTMLPart*>(parent);
|
|
|
|
if(!m_part) { kdDebug() << "couldn't get part" << endl; return; }
|
|
|
|
if(!m_part) { kdDebug() << "couldn't get part" << endl; return; }
|
|
|
|
// FIXME: need to do this because of a bug in khtmlpart, it's fixed now for 3.4 (and prolly backported for 3.3.3?)
|
|
|
|
// FIXME: need to do this because of a bug in tdehtmlpart, it's fixed now for 3.4 (and prolly backported for 3.3.3?)
|
|
|
|
//connect(m_part->view(), TQT_SIGNAL(finishedLayout()), this, TQT_SLOT(addFeedIcon()));
|
|
|
|
//connect(m_part->view(), TQT_SIGNAL(finishedLayout()), this, TQT_SLOT(addFeedIcon()));
|
|
|
|
TQTimer::singleShot(0, this, TQT_SLOT(waitPartToLoad()));
|
|
|
|
TQTimer::singleShot(0, this, TQT_SLOT(waitPartToLoad()));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -154,7 +154,7 @@ void KonqFeedIcon::addFeedIcon()
|
|
|
|
|
|
|
|
|
|
|
|
m_feedIcon = new KURLLabel(m_statusBarEx->statusBar());
|
|
|
|
m_feedIcon = new KURLLabel(m_statusBarEx->statusBar());
|
|
|
|
|
|
|
|
|
|
|
|
// from khtmlpart's ualabel
|
|
|
|
// from tdehtmlpart's ualabel
|
|
|
|
m_feedIcon->setFixedHeight(instance()->iconLoader()->currentSize(KIcon::Small));
|
|
|
|
m_feedIcon->setFixedHeight(instance()->iconLoader()->currentSize(KIcon::Small));
|
|
|
|
m_feedIcon->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
|
|
|
|
m_feedIcon->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
|
|
|
|
m_feedIcon->setUseCursor(false);
|
|
|
|
m_feedIcon->setUseCursor(false);
|
|
|
|