summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/kopetewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/ui/kopetewidgets.cpp')
-rw-r--r--kopete/libkopete/ui/kopetewidgets.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/kopete/libkopete/ui/kopetewidgets.cpp b/kopete/libkopete/ui/kopetewidgets.cpp
index 916b0faf..e424dc45 100644
--- a/kopete/libkopete/ui/kopetewidgets.cpp
+++ b/kopete/libkopete/ui/kopetewidgets.cpp
@@ -13,7 +13,7 @@
#include <kstandarddirs.h>
#endif
-class KopeteWidgets : public QWidgetPlugin
+class KopeteWidgets : public TQWidgetPlugin
{
public:
KopeteWidgets();
@@ -28,7 +28,7 @@ public:
return result;
}
- virtual TQWidget *create(const TQString &key, TQWidget *parent = 0, const char *name = 0);
+ virtual TQWidget *create(const TQString &key, TQWidget *tqparent = 0, const char *name = 0);
virtual TQIconSet iconSet(const TQString &key) const
{
@@ -36,7 +36,7 @@ public:
TQPixmap pix(m_widgets[key].iconSet);
#else
TQPixmap pix(locate( "data",
- TQString::fromLatin1("kopetewidgets/pics/") + m_widgets[key].iconSet));
+ TQString::tqfromLatin1("kopetewidgets/pics/") + m_widgets[key].iconSet));
#endif
return TQIconSet(pix);
}
@@ -71,41 +71,41 @@ KopeteWidgets::KopeteWidgets()
{
WidgetInfo widget;
- widget.group = TQString::fromLatin1("Input (Kopete)");
+ widget.group = TQString::tqfromLatin1("Input (Kopete)");
#ifdef EMBED_IMAGES
widget.iconSet = TQPixmap(kopete__ui__addressbooklinkwidget_xpm);
#else
- widget.iconSet = TQString::fromLatin1("kopete__ui__addressbooklinkwidget.png");
+ widget.iconSet = TQString::tqfromLatin1("kopete__ui__addressbooklinkwidget.png");
#endif
- widget.includeFile = TQString::fromLatin1("addressbooklinkwidget.h");
- widget.toolTip = TQString::fromLatin1("Address Book Link Widget (Kopete)");
- widget.whatsThis = TQString::fromLatin1("KABC::Addressee display/selector");
+ widget.includeFile = TQString::tqfromLatin1("addressbooklinkwidget.h");
+ widget.toolTip = TQString::tqfromLatin1("Address Book Link Widget (Kopete)");
+ widget.whatsThis = TQString::tqfromLatin1("KABC::Addressee display/selector");
widget.isContainer = false;
- m_widgets.insert(TQString::fromLatin1("Kopete::UI::AddressBookLinkWidget"), widget);
+ m_widgets.insert(TQString::tqfromLatin1("Kopete::UI::AddressBookLinkWidget"), widget);
- widget.group = TQString::fromLatin1("Views (Kopete)");
+ widget.group = TQString::tqfromLatin1("Views (Kopete)");
#ifdef EMBED_IMAGES
widget.iconSet = TQPixmap(kopete__ui__listview__listview_xpm);
#else
- widget.iconSet = TQString::fromLatin1("kopete__ui__listview__listview.png");
+ widget.iconSet = TQString::tqfromLatin1("kopete__ui__listview__listview.png");
#endif
- widget.includeFile = TQString::fromLatin1("kopetelistview.h");
- widget.toolTip = TQString::fromLatin1("List View (Kopete)");
- widget.whatsThis = TQString::fromLatin1("A component capable list view widget.");
+ widget.includeFile = TQString::tqfromLatin1("kopetelistview.h");
+ widget.toolTip = TQString::tqfromLatin1("List View (Kopete)");
+ widget.whatsThis = TQString::tqfromLatin1("A component capable list view widget.");
widget.isContainer = false;
- m_widgets.insert(TQString::fromLatin1("Kopete::UI::ListView::ListView"), widget);
+ m_widgets.insert(TQString::tqfromLatin1("Kopete::UI::ListView::ListView"), widget);
- widget.group = TQString::fromLatin1("Input (Kopete)");
+ widget.group = TQString::tqfromLatin1("Input (Kopete)");
#ifdef EMBED_IMAGES
widget.iconSet = TQPixmap(kopete__ui__listview__searchline_xpm);
#else
- widget.iconSet = TQString::fromLatin1("kopete__ui__listview__searchline.png");
+ widget.iconSet = TQString::tqfromLatin1("kopete__ui__listview__searchline.png");
#endif
- widget.includeFile = TQString::fromLatin1("kopetelistviewsearchline.h");
- widget.toolTip = TQString::fromLatin1("List View Search Line (Kopete)");
- widget.whatsThis = TQString::fromLatin1("Search line able to use Kopete custom list View.");
+ widget.includeFile = TQString::tqfromLatin1("kopetelistviewsearchline.h");
+ widget.toolTip = TQString::tqfromLatin1("List View Search Line (Kopete)");
+ widget.whatsThis = TQString::tqfromLatin1("Search line able to use Kopete custom list View.");
widget.isContainer = false;
- m_widgets.insert(TQString::fromLatin1("Kopete::UI::ListView::SearchLine"), widget);
+ m_widgets.insert(TQString::tqfromLatin1("Kopete::UI::ListView::SearchLine"), widget);
new KInstance("kopetewidgets");
}
@@ -113,19 +113,19 @@ KopeteWidgets::~KopeteWidgets()
{
}
-TQWidget *KopeteWidgets::create(const TQString &key, TQWidget *parent, const char *name)
+TQWidget *KopeteWidgets::create(const TQString &key, TQWidget *tqparent, const char *name)
{
- if (key == TQString::fromLatin1("Kopete::UI::AddressBookLinkWidget"))
- return new Kopete::UI::AddressBookLinkWidget(parent, name);
+ if (key == TQString::tqfromLatin1("Kopete::UI::AddressBookLinkWidget"))
+ return new Kopete::UI::AddressBookLinkWidget(tqparent, name);
- if (key == TQString::fromLatin1("Kopete::UI::ListView::ListView"))
- return new Kopete::UI::ListView::ListView(parent, name);
+ if (key == TQString::tqfromLatin1("Kopete::UI::ListView::ListView"))
+ return new Kopete::UI::ListView::ListView(tqparent, name);
- if (key == TQString::fromLatin1("Kopete::UI::ListView::SearchLine"))
- return new Kopete::UI::ListView::SearchLine(parent, 0, name);
+ if (key == TQString::tqfromLatin1("Kopete::UI::ListView::SearchLine"))
+ return new Kopete::UI::ListView::SearchLine(tqparent, 0, name);
return 0;
}
-KDE_Q_EXPORT_PLUGIN(KopeteWidgets)
+KDE_TQ_EXPORT_PLUGIN(KopeteWidgets)