From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkonq/knewmenu.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'libkonq/knewmenu.h') diff --git a/libkonq/knewmenu.h b/libkonq/knewmenu.h index ecba301e5..9039c2878 100644 --- a/libkonq/knewmenu.h +++ b/libkonq/knewmenu.h @@ -20,8 +20,8 @@ #ifndef __knewmenu_h #define __knewmenu_h -#include -#include +#include +#include #include #include @@ -58,7 +58,7 @@ public: * Constructor */ KNewMenu( KActionCollection * _collec, const char *name=0L ); - KNewMenu( KActionCollection * _collec, QWidget *parentWidget, const char *name=0L ); + KNewMenu( KActionCollection * _collec, TQWidget *parentWidget, const char *name=0L ); virtual ~KNewMenu(); /** @@ -128,12 +128,12 @@ private: enum { LINKTOTEMPLATE = 1, TEMPLATE, SEPARATOR }; struct Entry { - QString text; - QString filePath; // empty for SEPARATOR - QString templatePath; // same as filePath for TEMPLATE - QString icon; + TQString text; + TQString filePath; // empty for SEPARATOR + TQString templatePath; // same as filePath for TEMPLATE + TQString icon; int entryType; - QString comment; + TQString comment; }; // NOTE: only filePath is known before we call parseFiles @@ -141,7 +141,7 @@ private: * List of all template files. It is important that they are in * the same order as the 'New' menu. */ - static QValueList * s_templatesList; + static TQValueList * s_templatesList; class KNewMenuPrivate; KNewMenuPrivate* d; @@ -171,7 +171,7 @@ private: * True when a desktop file with Type=URL is being copied */ bool m_isURLDesktopFile; - QString m_linkURL; // the url to put in the file + TQString m_linkURL; // the url to put in the file static KDirWatch * s_pDirWatch; }; @@ -186,25 +186,25 @@ class KURLDesktopFileDlg : public KDialogBase { Q_OBJECT public: - KURLDesktopFileDlg( const QString& textFileName, const QString& textUrl ); - KURLDesktopFileDlg( const QString& textFileName, const QString& textUrl, QWidget *parent ); + KURLDesktopFileDlg( const TQString& textFileName, const TQString& textUrl ); + KURLDesktopFileDlg( const TQString& textFileName, const TQString& textUrl, TQWidget *parent ); virtual ~KURLDesktopFileDlg() {} /** * @return the filename the user entered (no path) */ - QString fileName() const; + TQString fileName() const; /** * @return the URL the user entered */ - QString url() const; + TQString url() const; protected slots: void slotClear(); - void slotNameTextChanged( const QString& ); - void slotURLTextChanged( const QString& ); + void slotNameTextChanged( const TQString& ); + void slotURLTextChanged( const TQString& ); private: - void initDialog( const QString& textFileName, const QString& defaultName, const QString& textUrl, const QString& defaultUrl ); + void initDialog( const TQString& textFileName, const TQString& defaultName, const TQString& textUrl, const TQString& defaultUrl ); /** * The line edit widget for the fileName -- cgit v1.2.1