diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
commit | 9e5c87c89567a98c3344c90e392a27715437334c (patch) | |
tree | 6c1dd96ae0ba38b7e8f0a492d591881f44f474da /kdelirc/kcmlirc/addaction.cpp | |
parent | 53904b41cf005abbae3d468532db9adc2b04a9b4 (diff) | |
download | tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kdelirc/kcmlirc/addaction.cpp')
-rw-r--r-- | kdelirc/kcmlirc/addaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdelirc/kcmlirc/addaction.cpp b/kdelirc/kcmlirc/addaction.cpp index 7281251..9e4f21d 100644 --- a/kdelirc/kcmlirc/addaction.cpp +++ b/kdelirc/kcmlirc/addaction.cpp @@ -228,7 +228,7 @@ void AddAction::updateParameters() { Prototype p(theFunctions->currentItem()->text(2)); for(unsigned k = 0; k < p.count(); k++) - { new KListViewItem(theParameters, p.name(k).isEmpty() ? i18n( "<anonymous>" ) : p.name(k), "", p.type(k), TQString().setNum(k + 1)); + { new TDEListViewItem(theParameters, p.name(k).isEmpty() ? i18n( "<anonymous>" ) : p.name(k), "", p.type(k), TQString().setNum(k + 1)); theArguments.append(TQVariant("")); theArguments.back().cast(TQVariant::nameToType(p.type(k).utf8())); } @@ -346,14 +346,14 @@ void AddAction::updateObjects() if(names.contains(name)) continue; names += name; - KListViewItem *a = new KListViewItem(theObjects, name); + TDEListViewItem *a = new TDEListViewItem(theObjects, name); uniqueProgramMap[a] = name == TQString(*i); nameProgramMap[a] = *i; QCStringList theObjects = theClient->remoteObjects(*i); for(QCStringList::iterator j = theObjects.begin(); j != theObjects.end(); ++j) if(*j != "tdesycoca" && *j != "qt")// && getFunctions(*i, *j).count()) - new KListViewItem(a, *j); + new TDEListViewItem(a, *j); } updateFunctions(); } @@ -365,7 +365,7 @@ void AddAction::updateFunctions() { TQStringList functions = getFunctions(nameProgramMap[theObjects->currentItem()->parent()], theObjects->currentItem()->text(0)); for(TQStringList::iterator i = functions.begin(); i != functions.end(); ++i) { Prototype p((TQString)(*i)); - new KListViewItem(theFunctions, p.name(), p.argumentList(), *i); + new TDEListViewItem(theFunctions, p.name(), p.argumentList(), *i); } } updateOptions(); |