diff options
Diffstat (limited to 'kexi/widget/utils/kexicontextmenuutils.h')
-rw-r--r-- | kexi/widget/utils/kexicontextmenuutils.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kexi/widget/utils/kexicontextmenuutils.h b/kexi/widget/utils/kexicontextmenuutils.h index 95258e96..2f73b18e 100644 --- a/kexi/widget/utils/kexicontextmenuutils.h +++ b/kexi/widget/utils/kexicontextmenuutils.h @@ -35,8 +35,8 @@ class KEXIGUIUTILS_EXPORT KexiContextMenuUtils public: /*! Updates title for context menu. \return true if the title has been updated. */ - static bool updateTitle(QPopupMenu *menu, const QString& objectName, - const QString& objectTypeName, const QString& iconName); + static bool updateTitle(TQPopupMenu *menu, const TQString& objectName, + const TQString& objectTypeName, const TQString& iconName); }; //! @short A context menu used for images within form and table views @@ -50,17 +50,18 @@ class KEXIGUIUTILS_EXPORT KexiContextMenuUtils class KEXIGUIUTILS_EXPORT KexiImageContextMenu : public KPopupMenu { Q_OBJECT + TQ_OBJECT public: - KexiImageContextMenu(QWidget *parent); + KexiImageContextMenu(TQWidget *tqparent); virtual ~KexiImageContextMenu(); KActionCollection* actionCollection() const; /*! Updates title for context menu. - Used in KexiDBWidgetContextMenuExtender::createTitle(QPopupMenu *menu) and KexiDBImageBox. + Used in KexiDBWidgetContextMenuExtender::createTitle(TQPopupMenu *menu) and KexiDBImageBox. \return true if the title has been updated. */ - static bool updateTitle(QPopupMenu *menu, const QString& title, const QString& iconName = QString::null); + static bool updateTitle(TQPopupMenu *menu, const TQString& title, const TQString& iconName = TQString()); public slots: void updateActionsAvailability(); @@ -84,10 +85,10 @@ class KEXIGUIUTILS_EXPORT KexiImageContextMenu : public KPopupMenu /*! Emitted before "saveAs" action was requested. You should fill \a origFilename, \a fileExtension and \a dataIsEmpty values. If \a dataIsEmpty is false, saving will be cancelled. */ - void aboutToSaveAsRequested(QString& origFilename, QString& fileExtension, bool& dataIsEmpty); + void aboutToSaveAsRequested(TQString& origFilename, TQString& fileExtension, bool& dataIsEmpty); //! Emitted when "saveAs" action was requested - void saveAsRequested(const QString& fileName); + void saveAsRequested(const TQString& fileName); //! Emitted when "cut" action was requested void cutRequested(); |