summaryrefslogtreecommitdiffstats
path: root/src/app/bookmarkdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/app/bookmarkdialog.cpp
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/app/bookmarkdialog.cpp')
-rw-r--r--src/app/bookmarkdialog.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/app/bookmarkdialog.cpp b/src/app/bookmarkdialog.cpp
index 3a89491..d446d22 100644
--- a/src/app/bookmarkdialog.cpp
+++ b/src/app/bookmarkdialog.cpp
@@ -19,8 +19,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "bookmarkdialog.moc"
-// Qt
-#include <qlabel.h>
+// TQt
+#include <tqlabel.h>
// KDE
#include <kfile.h>
@@ -39,8 +39,8 @@ public:
BookmarkDialog::Mode mMode;
};
-BookmarkDialog::BookmarkDialog(QWidget* parent, BookmarkDialog::Mode mode)
-: KDialogBase(parent,"folderconfig",true,QString::null,Ok|Cancel)
+BookmarkDialog::BookmarkDialog(TQWidget* tqparent, BookmarkDialog::Mode mode)
+: KDialogBase(tqparent,"folderconfig",true,TQString(),Ok|Cancel)
{
d=new BookmarkDialogPrivate;
d->mContent=new BookmarkDialogBase(this);
@@ -51,17 +51,17 @@ BookmarkDialog::BookmarkDialog(QWidget* parent, BookmarkDialog::Mode mode)
d->mContent->mUrl->setMode(KFile::Directory);
d->mContent->mIcon->setIcon("folder");
- connect(d->mContent->mTitle,SIGNAL(textChanged(const QString&)),
- this, SLOT(updateOk()));
- connect(d->mContent->mIcon,SIGNAL(iconChanged(QString)),
- this, SLOT(updateOk()));
+ connect(d->mContent->mTitle,TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT(updateOk()));
+ connect(d->mContent->mIcon,TQT_SIGNAL(iconChanged(TQString)),
+ this, TQT_SLOT(updateOk()));
if (mode==BOOKMARK_GROUP) {
d->mContent->mUrlLabel->hide();
d->mContent->mUrl->hide();
} else {
- connect(d->mContent->mUrl,SIGNAL(textChanged(const QString&)),
- this, SLOT(updateOk()));
+ connect(d->mContent->mUrl,TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT(updateOk()));
}
switch (mode) {
@@ -88,27 +88,27 @@ void BookmarkDialog::updateOk() {
enableButton(Ok, enabled);
}
-void BookmarkDialog::setIcon(const QString& icon) {
+void BookmarkDialog::setIcon(const TQString& icon) {
d->mContent->mIcon->setIcon(icon);
}
-QString BookmarkDialog::icon() const {
+TQString BookmarkDialog::icon() const {
return d->mContent->mIcon->icon();
}
-void BookmarkDialog::setTitle(const QString& title) {
+void BookmarkDialog::setTitle(const TQString& title) {
d->mContent->mTitle->setText(title);
}
-QString BookmarkDialog::title() const {
+TQString BookmarkDialog::title() const {
return d->mContent->mTitle->text();
}
-void BookmarkDialog::setURL(const QString& url) {
+void BookmarkDialog::setURL(const TQString& url) {
d->mContent->mUrl->setURL(url);
}
-QString BookmarkDialog::url() const {
+TQString BookmarkDialog::url() const {
return d->mContent->mUrl->url();
}