diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /akregator/src/pageviewer.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/pageviewer.cpp')
-rw-r--r-- | akregator/src/pageviewer.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/akregator/src/pageviewer.cpp b/akregator/src/pageviewer.cpp index 90bf60082..64169225f 100644 --- a/akregator/src/pageviewer.cpp +++ b/akregator/src/pageviewer.cpp @@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include "akregatorconfig.h" @@ -72,7 +72,7 @@ class PageViewer::HistoryEntry int id; HistoryEntry() {} - HistoryEntry(const KURL& u, const TQString& t=TQString::null): url(u), title(t) + HistoryEntry(const KURL& u, const TQString& t=TQString()): url(u), title(t) { id = abs( TQTime::currentTime().msecsTo( TQTime() ) ); // nasty, but should provide a reasonably unique number } @@ -95,8 +95,8 @@ class PageViewer::PageViewerPrivate }; -PageViewer::PageViewer(TQWidget *parent, const char *name) - : Viewer(parent, name), d(new PageViewerPrivate) +PageViewer::PageViewer(TQWidget *tqparent, const char *name) + : Viewer(tqparent, name), d(new PageViewerPrivate) { // this hack is necessary since the part looks for []HTML Settings] in // KGlobal::config() by default, which is wrong when running in Kontact @@ -105,7 +105,7 @@ PageViewer::PageViewer(TQWidget *parent, const char *name) setXMLFile(locate("data", "akregator/pageviewer.rc"), true); - QPair< KGuiItem, KGuiItem > backForward = KStdGuiItem::backAndForward(); + TQPair< KGuiItem, KGuiItem > backForward = KStdGuiItem::backAndForward(); d->backAction = new KToolBarPopupAction(backForward.first, KStdAccel::shortcut(KStdAccel::Back), this, @@ -393,7 +393,7 @@ void PageViewer::slotPaletteOrFontChanged() int id = obj->tqmetaObject()->findSlot("reparseConfiguration()"); if (id == -1) return; - QUObject o[1]; + TQUObject o[1]; obj->qt_invoke(id, o); |