summaryrefslogtreecommitdiffstats
path: root/kate/app/kateconfigplugindialogpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kate/app/kateconfigplugindialogpage.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/app/kateconfigplugindialogpage.cpp')
-rw-r--r--kate/app/kateconfigplugindialogpage.cpp26
1 files changed, 13 insertions, 13 deletions
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 <klistbox.h>
#include "kateapp.h"
-#include <qstringlist.h>
-#include <qhbox.h>
-#include <qlabel.h>
+#include <tqstringlist.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
#include <klocale.h>
-#include <qpushbutton.h>
-#include <qtooltip.h>
+#include <tqpushbutton.h>
+#include <tqtooltip.h>
#include <kiconloader.h>
-#include <qwhatsthis.h>
+#include <tqwhatsthis.h>
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<KatePluginListView *>(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)