diff options
Diffstat (limited to 'src/app/bookmarkdialog.cpp')
-rw-r--r-- | src/app/bookmarkdialog.cpp | 32 |
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(); } |