summaryrefslogtreecommitdiffstats
path: root/src/pluginselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginselectdialog.cpp')
-rw-r--r--src/pluginselectdialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pluginselectdialog.cpp b/src/pluginselectdialog.cpp
index 0863791c..18eef37d 100644
--- a/src/pluginselectdialog.cpp
+++ b/src/pluginselectdialog.cpp
@@ -23,13 +23,13 @@
#include "plugincontroller.h"
#include "pluginselectdialog.h"
-class PluginItem : public QCheckListItem
+class PluginItem : public TQCheckListItem
{
public:
// name - "Name", label - "GenericName", info - "Comment"
- PluginItem( TQListView * parent, TQString const & name, TQString const & label,
- TQString const & info, TQString const url = TQString::null )
- : TQCheckListItem( parent, label, TQCheckListItem::CheckBox),
+ PluginItem( TQListView * tqparent, TQString const & name, TQString const & label,
+ TQString const & info, TQString const url = TQString() )
+ : TQCheckListItem( tqparent, label, TQCheckListItem::CheckBox),
_name( name ), _info( info ), _url( url )
{}
@@ -44,8 +44,8 @@ private:
};
-PluginSelectDialog::PluginSelectDialog(TQWidget* parent, const char* name, bool modal, WFlags fl )
- : PluginSelectDialogBase( parent,name, modal,fl )
+PluginSelectDialog::PluginSelectDialog(TQWidget* tqparent, const char* name, bool modal, WFlags fl )
+ : PluginSelectDialogBase( tqparent,name, modal,fl )
{
plugin_list->setResizeMode( TQListView::LastColumn );
plugin_list->addColumn("");
@@ -137,7 +137,7 @@ void PluginSelectDialog::init( )
TQString Comment = (*it)->comment();
TQRegExp re("\\bhttp://[\\S]*");
re.search( Comment );
- Comment.replace( re, "" );
+ Comment.tqreplace( re, "" );
TQString url;
if ( re.pos() > -1 )
@@ -146,9 +146,9 @@ void PluginSelectDialog::init( )
}
PluginItem *item = new PluginItem( plugin_list, (*it)->desktopEntryName(), (*it)->genericName(), Comment, url );
- item->setOn( loadedPluginDesktopNames.contains( (*it)->desktopEntryName() ) );
+ item->setOn( loadedPluginDesktopNames.tqcontains( (*it)->desktopEntryName() ) );
- kdDebug(9000) << (*it)->desktopEntryName() << " : " << (loadedPluginDesktopNames.contains( (*it)->desktopEntryName() ) ? "YES" : "NO" ) << endl;
+ kdDebug(9000) << (*it)->desktopEntryName() << " : " << (loadedPluginDesktopNames.tqcontains( (*it)->desktopEntryName() ) ? "YES" : "NO" ) << endl;
}
TQListViewItem * first = plugin_list->firstChild();