akregator/src
Akregator::Part Class Reference
#include <akregator_part.h>
Inheritance diagram for Akregator::Part:

Detailed Description
This is a RSS Aggregator "Part".It does all the real work. It is also embeddable into other applications (e.g. for use in Kontact).
Definition at line 77 of file akregator_part.h.
Public Types | |
typedef MyBasePart | inherited |
Public Slots | |
virtual void | saveSettings () |
void | slotSaveFeedList () |
void | fileImport () |
void | fileExport () |
void | fileGetFeeds () |
void | fileSendLink () |
void | fileSendFile () |
void | fileSendArticle (bool attach=false) |
void | showOptions () |
void | showKNotifyOptions () |
Signals | |
void | showPart () |
void | signalSettingsChanged () |
Public Member Functions | |
Part (QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const QStringList &) | |
virtual | ~Part () |
virtual bool | openURL (const KURL &url) |
virtual void | openStandardFeedList () |
virtual void | fetchFeedUrl (const QString &) |
virtual void | fetchAllFeeds () |
virtual void | addFeedsToGroup (const QStringList &urls, const QString &group) |
virtual void | addFeed () |
virtual void | readProperties (KConfig *config) |
virtual void | saveProperties (KConfig *config) |
virtual bool | mergePart (KParts::Part *) |
void | loadTagSet (const QString &path) |
void | saveTagSet (const QString &path) |
Static Public Member Functions | |
static KAboutData * | createAboutData () |
Protected Slots | |
void | slotOnShutdown () |
void | slotSettingsChanged () |
Protected Member Functions | |
virtual bool | isTrayIconEnabled () const |
void | loadPlugins () |
virtual bool | openFile () |
void | importFile (const KURL &url) |
void | exportFile (const KURL &url) |
QWidget * | getMainWindow () |
virtual KParts::Part * | hitTest (QWidget *widget, const QPoint &globalPos) |
virtual void | partActivateEvent (KParts::PartActivateEvent *event) |
Constructor & Destructor Documentation
Akregator::Part::Part | ( | QWidget * | parentWidget, | |
const char * | widgetName, | |||
QObject * | parent, | |||
const char * | name, | |||
const QStringList & | ||||
) |
Akregator::Part::~Part | ( | ) | [virtual] |
Member Function Documentation
KAboutData * Akregator::Part::createAboutData | ( | ) | [static] |
bool Akregator::Part::openURL | ( | const KURL & | url | ) | [virtual] |
void Akregator::Part::openStandardFeedList | ( | ) | [virtual] |
Opens standard feedlist.
Implements Akregator::AkregatorPartIface.
Definition at line 335 of file akregator_part.cpp.
void Akregator::Part::fetchAllFeeds | ( | ) | [virtual] |
Fetch all feeds in the feed tree.
Implements Akregator::AkregatorPartIface.
Definition at line 741 of file akregator_part.cpp.
void Akregator::Part::addFeedsToGroup | ( | const QStringList & | urls, | |
const QString & | group | |||
) | [virtual] |
Add a feed to a group.
- Parameters:
-
urls The URL(s) of the feed(s) to add. group The name of the folder into which the feed is added. If the group does not exist, it is created. The feed is added as the last member of the group.
Implements Akregator::AkregatorPartIface.
Definition at line 751 of file akregator_part.cpp.
void Akregator::Part::readProperties | ( | KConfig * | config | ) | [virtual] |
This method is called when this app is restored.
The KConfig object points to the session management config file that was saved with saveProperties Calls AkregatorView's saveProperties.
Definition at line 311 of file akregator_part.cpp.
void Akregator::Part::saveProperties | ( | KConfig * | config | ) | [virtual] |
This method is called when it is time for the app to save its properties for session management purposes.
Calls AkregatorView's readProperties.
Definition at line 320 of file akregator_part.cpp.
bool Akregator::Part::mergePart | ( | KParts::Part * | ) | [virtual] |
merges a nested part's GUI into the gui of this part
- Returns:
- true iff merging was successful, i.e. the GUI factory was not NULL
Definition at line 510 of file akregator_part.cpp.
void Akregator::Part::saveSettings | ( | ) | [virtual, slot] |
Used to save settings after changing them from configuration dialog.
Calls AkregatorPart's saveSettings.
Implements Akregator::AkregatorPartIface.
Definition at line 295 of file akregator_part.cpp.
void Akregator::Part::slotSaveFeedList | ( | ) | [slot] |
Saves the standard feed list to it's default location.
Definition at line 467 of file akregator_part.cpp.
void Akregator::Part::showOptions | ( | ) | [slot] |
bool Akregator::Part::isTrayIconEnabled | ( | ) | const [protected, virtual] |
void Akregator::Part::loadPlugins | ( | ) | [protected] |
bool Akregator::Part::openFile | ( | ) | [protected, virtual] |
QWidget * Akregator::Part::getMainWindow | ( | ) | [protected] |
void Akregator::Part::partActivateEvent | ( | KParts::PartActivateEvent * | event | ) | [protected, virtual] |
reimplemented to load/unload the merged parts on selection/deselection
Definition at line 793 of file akregator_part.cpp.
The documentation for this class was generated from the following files: