diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/akregator_part.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/akregator_part.h')
-rw-r--r-- | akregator/src/akregator_part.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/akregator/src/akregator_part.h b/akregator/src/akregator_part.h index b241517f5..6d43a7f12 100644 --- a/akregator/src/akregator_part.h +++ b/akregator/src/akregator_part.h @@ -81,8 +81,8 @@ namespace Akregator typedef MyBasePart inherited; /** Default constructor.*/ - Part(QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, const QStringList&); + Part(TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, const TQStringList&); /** Destructor. */ virtual ~Part(); @@ -99,7 +99,7 @@ namespace Akregator /** Opens standard feedlist */ virtual void openStandardFeedList(); - virtual void fetchFeedUrl(const QString&); + virtual void fetchFeedUrl(const TQString&); /** Fetch all feeds in the feed tree */ virtual void fetchAllFeeds(); @@ -111,7 +111,7 @@ namespace Akregator If the group does not exist, it is created. The feed is added as the last member of the group. */ - virtual void addFeedsToGroup(const QStringList& urls, const QString& group); + virtual void addFeedsToGroup(const TQStringList& urls, const TQString& group); virtual void addFeed(); @@ -132,8 +132,8 @@ namespace Akregator @return true iff merging was successful, i.e. the GUI factory was not NULL */ virtual bool mergePart(KParts::Part*); - void loadTagSet(const QString& path); - void saveTagSet(const QString& path); + void loadTagSet(const TQString& path); + void saveTagSet(const TQString& path); public slots: /** Used to save settings after changing them from configuration dialog. Calls AkregatorPart's saveSettings. */ @@ -174,9 +174,9 @@ namespace Akregator void exportFile(const KURL& url); /** FIXME: hack to get the tray icon working */ - QWidget* getMainWindow(); + TQWidget* getMainWindow(); - virtual KParts::Part *hitTest(QWidget *widget, const QPoint &globalPos); + virtual KParts::Part *hitTest(TQWidget *widget, const TQPoint &globalPos); /** reimplemented to load/unload the merged parts on selection/deselection */ virtual void partActivateEvent(KParts::PartActivateEvent* event); @@ -187,22 +187,22 @@ namespace Akregator private: // methods - bool copyFile(const QString& backup); + bool copyFile(const TQString& backup); /** fills the font settings with system fonts, if fonts are not set */ void initFonts(); /** creates an OPML file containing the initial feeds (KDE feeds) */ - static QDomDocument createDefaultFeedList(); + static TQDomDocument createDefaultFeedList(); - bool tryToLock(const QString& backendName); + bool tryToLock(const TQString& backendName); private: // attributes class ApplyFiltersInterceptor; ApplyFiltersInterceptor* m_applyFiltersInterceptor; - QString m_standardFeedList; - QString m_tagSetPath; + TQString m_standardFeedList; + TQString m_tagSetPath; bool m_standardListLoaded; bool m_shuttingDown; @@ -210,7 +210,7 @@ namespace Akregator KParts::Part* m_mergedPart; View* m_view; - QTimer* m_autosaveTimer; + TQTimer* m_autosaveTimer; /** did we backup the feed list already? */ bool m_backedUpList; Backend::Storage* m_storage; |