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 --- kate/app/kateconfigplugindialogpage.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kate/app/kateconfigplugindialogpage.cpp') diff --git a/kate/app/kateconfigplugindialogpage.cpp b/kate/app/kateconfigplugindialogpage.cpp index 7269d5f5b..4aa56c78d 100644 --- a/kate/app/kateconfigplugindialogpage.cpp +++ b/kate/app/kateconfigplugindialogpage.cpp @@ -24,19 +24,19 @@ #include "kateconfigdialog.h" #include #include "kateapp.h" -#include -#include -#include +#include +#include +#include #include -#include -#include +#include +#include #include -#include +#include class KatePluginListItem : public QCheckListItem { public: - KatePluginListItem(bool checked, KatePluginInfo *info, QListView *parent); + KatePluginListItem(bool checked, KatePluginInfo *info, TQListView *parent); KatePluginInfo *info() const { return mInfo; } protected: @@ -47,8 +47,8 @@ class KatePluginListItem : public QCheckListItem bool silentStateChange; }; -KatePluginListItem::KatePluginListItem(bool checked, KatePluginInfo *info, QListView *parent) - : QCheckListItem(parent, info->service->name(), CheckBox) +KatePluginListItem::KatePluginListItem(bool checked, KatePluginInfo *info, TQListView *parent) + : TQCheckListItem(parent, info->service->name(), CheckBox) , mInfo(info) , silentStateChange(false) { @@ -63,7 +63,7 @@ void KatePluginListItem::stateChange(bool b) static_cast(listView())->stateChanged(this, b); } -KatePluginListView::KatePluginListView(QWidget *parent, const char *name) +KatePluginListView::KatePluginListView(TQWidget *parent, const char *name) : KListView(parent, name) { } @@ -73,16 +73,16 @@ void KatePluginListView::stateChanged(KatePluginListItem *item, bool b) emit stateChange(item, b); } -KateConfigPluginPage::KateConfigPluginPage(QWidget *parent, KateConfigDialog *dialog):QVBox(parent) +KateConfigPluginPage::KateConfigPluginPage(TQWidget *parent, KateConfigDialog *dialog):TQVBox(parent) { myDialog=dialog; KatePluginListView* listView = new KatePluginListView(this); listView->addColumn(i18n("Name")); listView->addColumn(i18n("Comment")); - QWhatsThis::add(listView,i18n("Here you can see all available Kate plugins. Those with a check mark are loaded, and will be loaded again the next time Kate is started.")); + TQWhatsThis::add(listView,i18n("Here you can see all available Kate plugins. Those with a check mark are loaded, and will be loaded again the next time Kate is started.")); - connect(listView, SIGNAL(stateChange(KatePluginListItem *, bool)), this, SLOT(stateChange(KatePluginListItem *, bool))); + connect(listView, TQT_SIGNAL(stateChange(KatePluginListItem *, bool)), this, TQT_SLOT(stateChange(KatePluginListItem *, bool))); KatePluginList &pluginList (KatePluginManager::self()->pluginList()); for (unsigned int i=0; i < pluginList.size(); ++i) -- cgit v1.2.3