summaryrefslogtreecommitdiffstats
path: root/src/pluginselectdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /src/pluginselectdialog.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();