diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/sidebar/trees/history_module/history_module.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/sidebar/trees/history_module/history_module.h')
-rw-r--r-- | konqueror/sidebar/trees/history_module/history_module.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/konqueror/sidebar/trees/history_module/history_module.h b/konqueror/sidebar/trees/history_module/history_module.h index 30295fc3f..752ff57fd 100644 --- a/konqueror/sidebar/trees/history_module/history_module.h +++ b/konqueror/sidebar/trees/history_module/history_module.h @@ -19,10 +19,10 @@ #ifndef HISTORY_MODULE_H #define HISTORY_MODULE_H -#include <qdatetime.h> -#include <qobject.h> -#include <qdict.h> -#include <qpixmap.h> +#include <tqdatetime.h> +#include <tqobject.h> +#include <tqdict.h> +#include <tqpixmap.h> #include <kglobal.h> #include <klocale.h> @@ -36,7 +36,7 @@ class KonqSidebarHistorySettings; class KonqSidebarTree; class KonqSidebarTreeItem; -class KonqSidebarHistoryModule : public QObject, public KonqSidebarTreeModule +class KonqSidebarHistoryModule : public TQObject, public KonqSidebarTreeModule { Q_OBJECT @@ -50,18 +50,18 @@ public: virtual ~KonqSidebarHistoryModule(); virtual void addTopLevelItem( KonqSidebarTreeTopLevelItem * item ); - virtual bool handleTopLevelContextMenu( KonqSidebarTreeTopLevelItem *item, const QPoint& pos ); + virtual bool handleTopLevelContextMenu( KonqSidebarTreeTopLevelItem *item, const TQPoint& pos ); - void showPopupMenu( int which, const QPoint& pos ); + void showPopupMenu( int which, const TQPoint& pos ); // called by the items void showPopupMenu(); void groupOpened( KonqSidebarHistoryGroupItem *item, bool open ); - const QDateTime& currentTime() const { return m_currentTime; } + const TQDateTime& currentTime() const { return m_currentTime; } bool sortsByName() const { return m_sortsByName; } - static QString groupForURL( const KURL& url ) { - static const QString& misc = KGlobal::staticQString(i18n("Miscellaneous")); + static TQString groupForURL( const KURL& url ) { + static const TQString& misc = KGlobal::staticQString(i18n("Miscellaneous")); return url.host().isEmpty() ? misc : url.host(); } @@ -78,7 +78,7 @@ private slots: void slotPreferences(); void slotSettingsChanged(); - void slotItemExpanded( QListViewItem * ); + void slotItemExpanded( TQListViewItem * ); void slotSortByName(); void slotSortByDate(); @@ -89,19 +89,19 @@ private: KonqSidebarHistoryGroupItem *getGroupItem( const KURL& url ); void sortingChanged(); - typedef QDictIterator<KonqSidebarHistoryGroupItem> HistoryItemIterator; - QDict<KonqSidebarHistoryGroupItem> m_dict; + typedef TQDictIterator<KonqSidebarHistoryGroupItem> HistoryItemIterator; + TQDict<KonqSidebarHistoryGroupItem> m_dict; KonqSidebarTreeTopLevelItem * m_topLevelItem; KActionCollection *m_collection; KDialogBase *m_dlg; - QPixmap m_folderClosed; - QPixmap m_folderOpen; + TQPixmap m_folderClosed; + TQPixmap m_folderOpen; bool m_initialized; bool m_sortsByName; - QDateTime m_currentTime; // used for sorting the items by date + TQDateTime m_currentTime; // used for sorting the items by date static KonqSidebarHistorySettings *s_settings; }; |