diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/editbookmarkdialog.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/editbookmarkdialog.h')
-rw-r--r-- | src/editbookmarkdialog.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/editbookmarkdialog.h b/src/editbookmarkdialog.h index 2156aae..20e74b2 100644 --- a/src/editbookmarkdialog.h +++ b/src/editbookmarkdialog.h @@ -24,8 +24,8 @@ #include <kdialogbase.h> class Bookmark; -class QLineEdit; -class QPushButton; +class TQLineEdit; +class TQPushButton; /** * @brief Allows to edit the icon, URL and name of a bookmark. @@ -44,6 +44,7 @@ class QPushButton; class EditBookmarkDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: virtual ~EditBookmarkDialog(); @@ -54,29 +55,29 @@ public: * @return A valid bookmark, if the user has pressed OK. Otherwise * a null bookmark is returned (see Bookmark::isNull()). */ - static KBookmark getBookmark(const QString& title, - const QString& name, + static KBookmark getBookmark(const TQString& title, + const TQString& name, const KURL& url, - const QString& icon); + const TQString& icon); protected slots: virtual void slotOk(); protected: - EditBookmarkDialog(const QString& title, - const QString& name, + EditBookmarkDialog(const TQString& title, + const TQString& name, const KURL& url, - const QString& icon); + const TQString& icon); private slots: void selectIcon(); void selectLocation(); private: - QString m_iconName; - QPushButton* m_iconButton; - QLineEdit* m_name; - QLineEdit* m_location; + TQString m_iconName; + TQPushButton* m_iconButton; + TQLineEdit* m_name; + TQLineEdit* m_location; KBookmark m_bookmark; }; #endif |