diff options
Diffstat (limited to 'src/dolphincontextmenu.h')
-rw-r--r-- | src/dolphincontextmenu.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index f14419e..1b0a0c9 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -22,18 +22,18 @@ #define DOLPHINCONTEXTMENU_H #include <kpopupmenu.h> -#include <qpoint.h> -#include <qstring.h> -#include <qvaluelist.h> +#include <tqpoint.h> +#include <tqstring.h> +#include <tqvaluelist.h> #include <kmountpoint.h> -#include <qvaluevector.h> +#include <tqvaluevector.h> #include <kservice.h> #include <kpropertiesdialog.h> class KPopupMenu; class KFileItem; -class QPoint; -class QWidget; +class TQPoint; +class TQWidget; class DolphinView; /** @@ -54,16 +54,16 @@ class DolphinContextMenu { public: /** - * @parent Pointer to the dolphin view the context menu + * @tqparent Pointer to the dolphin view the context menu * belongs to. * @fileInfo Pointer to the file item the context menu * is applied. If 0 is passed, the context menu * is above the viewport. * @pos Position of the upper left edge of the context menu. */ - DolphinContextMenu(DolphinView* parent, + DolphinContextMenu(DolphinView* tqparent, KFileItem* fileInfo, - const QPoint& pos); + const TQPoint& pos); virtual ~DolphinContextMenu(); @@ -85,7 +85,7 @@ private: * to the predecessor. */ int insertOpenWithItems(KPopupMenu* popup, - QValueVector<KService::Ptr>& openWithVector); + TQValueVector<KService::Ptr>& openWithVector); /** * Inserts the 'Actions...' submenu to \a popup. @@ -95,14 +95,14 @@ private: * services. */ void insertActionItems(KPopupMenu* popup, - QValueVector<KDEDesktopMimeType::Service>& actionsVector); + TQValueVector<KDEDesktopMimeType::Service>& actionsVector); /** * Returns true, if 'menu' contains already * an entry with the name 'entryName'. */ bool containsEntry(const KPopupMenu* menu, - const QString& entryName) const; + const TQString& entryName) const; enum { restoreID = 80, @@ -115,15 +115,15 @@ private: DolphinView* m_dolphinView; KFileItem* m_fileInfo; - QPoint m_pos; + TQPoint m_pos; struct Entry { int type; - QString name; - QString filePath; // empty for separator - QString templatePath; // same as filePath for template - QString icon; - QString comment; + TQString name; + TQString filePath; // empty for separator + TQString templatePath; // same as filePath for template + TQString icon; + TQString comment; }; }; |