#include <akregator_part.h>
Inherits MyBasePart, and Akregator::AkregatorPartIface.
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 (TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQStringList &) | |
virtual | ~Part () |
virtual bool | openURL (const KURL &url) |
virtual void | openStandardFeedList () |
virtual void | fetchFeedUrl (const TQString &) |
virtual void | fetchAllFeeds () |
virtual void | addFeedsToGroup (const TQStringList &urls, const TQString &group) |
virtual void | addFeed () |
virtual void | readProperties (TDEConfig *config) |
virtual void | saveProperties (TDEConfig *config) |
virtual bool | mergePart (KParts::Part *) |
void | loadTagSet (const TQString &path) |
void | saveTagSet (const TQString &path) |
Static Public Member Functions | |
static TDEAboutData * | 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) |
TQWidget * | getMainWindow () |
virtual KParts::Part * | hitTest (TQWidget *widget, const TQPoint &globalPos) |
virtual void | partActivateEvent (KParts::PartActivateEvent *event) |
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.
Constructor & Destructor Documentation
◆ Part()
Akregator::Part::Part | ( | TQWidget * | parentWidget, |
const char * | widgetName, | ||
TQObject * | parent, | ||
const char * | name, | ||
const TQStringList & | |||
) |
Default constructor.
Definition at line 121 of file akregator_part.cpp.
◆ ~Part()
|
virtual |
Destructor.
Definition at line 303 of file akregator_part.cpp.
Member Function Documentation
◆ addFeedsToGroup()
|
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.
Definition at line 751 of file akregator_part.cpp.
◆ createAboutData()
|
static |
Create TDEAboutData for this KPart.
Definition at line 766 of file akregator_part.cpp.
◆ fetchAllFeeds()
|
virtual |
Fetch all feeds in the feed tree.
Definition at line 741 of file akregator_part.cpp.
◆ getMainWindow()
|
protected |
FIXME: hack to get the tray icon working.
Definition at line 529 of file akregator_part.cpp.
◆ isTrayIconEnabled()
|
protectedvirtual |
- Returns
- Whether the tray icon is enabled or not
Definition at line 497 of file akregator_part.cpp.
◆ loadPlugins()
|
protected |
loads all Akregator plugins
Definition at line 240 of file akregator_part.cpp.
◆ mergePart()
|
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 502 of file akregator_part.cpp.
◆ openFile()
|
protectedvirtual |
This must be implemented by each part.
Definition at line 390 of file akregator_part.cpp.
◆ openStandardFeedList()
|
virtual |
Opens standard feedlist.
Definition at line 337 of file akregator_part.cpp.
◆ openURL()
|
virtual |
◆ partActivateEvent()
|
protectedvirtual |
reimplemented to load/unload the merged parts on selection/deselection
Definition at line 793 of file akregator_part.cpp.
◆ readProperties()
|
virtual |
This method is called when this app is restored.
The TDEConfig object points to the session management config file that was saved with saveProperties Calls AkregatorView's saveProperties.
Definition at line 313 of file akregator_part.cpp.
◆ saveProperties()
|
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 322 of file akregator_part.cpp.
◆ saveSettings
|
virtualslot |
Used to save settings after changing them from configuration dialog.
Calls AkregatorPart's saveSettings.
Definition at line 297 of file akregator_part.cpp.
◆ showOptions
|
slot |
Shows configuration dialog.
Definition at line 778 of file akregator_part.cpp.
◆ slotSaveFeedList
|
slot |
Saves the standard feed list to it's default location.
Definition at line 459 of file akregator_part.cpp.
The documentation for this class was generated from the following files: