diff options
Diffstat (limited to 'src/bookmarkdialog.cpp')
-rw-r--r-- | src/bookmarkdialog.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/bookmarkdialog.cpp b/src/bookmarkdialog.cpp index 8bb610c..963f103 100644 --- a/src/bookmarkdialog.cpp +++ b/src/bookmarkdialog.cpp @@ -17,17 +17,17 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include <qdom.h> -#include <qfile.h> -#include <qdir.h> -#include <qcheckbox.h> -#include <qheader.h> -#include <qtabwidget.h> -#include <qaction.h> +#include <ntqdom.h> +#include <ntqfile.h> +#include <ntqdir.h> +#include <ntqcheckbox.h> +#include <ntqheader.h> +#include <ntqtabwidget.h> +#include <ntqaction.h> #include <kcombobox.h> #include <kcompletion.h> -#include <klocale.h> +#include <tdelocale.h> #include <klineedit.h> #include <kmessagebox.h> #include <kpushbutton.h> @@ -36,7 +36,7 @@ #include "bookmarkdialog.h" #include "kbbookmarkitem.h" -BookmarkDialog::BookmarkDialog(QWidget *parent, const char *name) +BookmarkDialog::BookmarkDialog(TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n( "Bookmarks" ), KDialogBase::Ok | KDialogBase::Help | @@ -59,13 +59,13 @@ BookmarkDialog::BookmarkDialog(QWidget *parent, const char *name) for (list<KbSiteInfo>::iterator i = m_bookmarklist.begin(); i != end_bookmarks; i++) after = new KbBookmarkItem(mp_dialog->BookmarkListView, after, &(*i)); - connect(mp_dialog->NameEdit, SIGNAL(textChanged(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->InfoEdit, SIGNAL(textChanged(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->UserEdit, SIGNAL(textChanged(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->PassEdit, SIGNAL(textChanged(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->DefaultDirectoryEdit, SIGNAL(textChanged(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->EncryptionComboBox, SIGNAL(activated(const QString&)), SLOT(SLOT_TextChanged(const QString&))); - connect(mp_dialog->ModeComboBox, SIGNAL(activated(const QString&)), SLOT(SLOT_TextChanged(const QString&))); + connect(mp_dialog->NameEdit, SIGNAL(textChanged(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->InfoEdit, SIGNAL(textChanged(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->UserEdit, SIGNAL(textChanged(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->PassEdit, SIGNAL(textChanged(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->DefaultDirectoryEdit, SIGNAL(textChanged(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->EncryptionComboBox, SIGNAL(activated(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); + connect(mp_dialog->ModeComboBox, SIGNAL(activated(const TQString&)), SLOT(SLOT_TextChanged(const TQString&))); connect(mp_dialog->AlternativeFxpCheckBox, SIGNAL(clicked()), SLOT(SLOT_StateChanged())); connect(mp_dialog->CorrectPasvCheckBox, SIGNAL(clicked()), SLOT(SLOT_StateChanged())); @@ -75,7 +75,7 @@ BookmarkDialog::BookmarkDialog(QWidget *parent, const char *name) enableButton(KDialogBase::User2, false); - QAction *deleteShortcut = new QAction( QPixmap(), "&Delete", + TQAction *deleteShortcut = new TQAction( TQPixmap(), "&Delete", Key_Delete, this, "delete" ); connect( deleteShortcut, SIGNAL( activated() ) , this, SLOT( slotUser2() ) ); @@ -125,7 +125,7 @@ void BookmarkDialog::slotOk() slotApply(); - QListViewItemIterator it(mp_dialog->BookmarkListView); + TQListViewItemIterator it(mp_dialog->BookmarkListView); while (it.current()) { newbookmarklist.push_back(*(static_cast<KbBookmarkItem*>(it.current())->GetSiteInfo())); @@ -182,7 +182,7 @@ void BookmarkDialog::SLOT_StateChanged() if (!m_newitemselected) ApplyChanges(); } -void BookmarkDialog::SLOT_TextChanged(const QString&) +void BookmarkDialog::SLOT_TextChanged(const TQString&) { if (!m_newitemselected) ApplyChanges(); } |