diff options
Diffstat (limited to 'kicker/libkicker/menuinfo.cpp')
-rw-r--r-- | kicker/libkicker/menuinfo.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kicker/libkicker/menuinfo.cpp b/kicker/libkicker/menuinfo.cpp index 740d44d95..0c36ffea0 100644 --- a/kicker/libkicker/menuinfo.cpp +++ b/kicker/libkicker/menuinfo.cpp @@ -23,8 +23,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "menuinfo.h" -#include <qfile.h> -#include <qwidget.h> +#include <tqfile.h> +#include <tqwidget.h> #include <kapplication.h> #include <ksimpleconfig.h> @@ -33,15 +33,15 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <kpanelmenu.h> #include <kparts/componentfactory.h> -MenuInfo::MenuInfo(const QString& desktopFile) +MenuInfo::MenuInfo(const TQString& desktopFile) { - KSimpleConfig df(locate("data", QString::fromLatin1("kicker/menuext/%1").arg(desktopFile))); + KSimpleConfig df(locate("data", TQString::fromLatin1("kicker/menuext/%1").arg(desktopFile))); df.setGroup("Desktop Entry"); - QStringList list = df.readListEntry("X-KDE-AuthorizeAction"); + TQStringList list = df.readListEntry("X-KDE-AuthorizeAction"); if (kapp && !list.isEmpty()) { - for(QStringList::ConstIterator it = list.begin(); + for(TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { @@ -57,12 +57,12 @@ MenuInfo::MenuInfo(const QString& desktopFile) desktopfile_ = desktopFile; } -KPanelMenu* MenuInfo::load(QWidget *parent, const char *name) +KPanelMenu* MenuInfo::load(TQWidget *parent, const char *name) { if (library_.isEmpty()) return 0; return KParts::ComponentFactory::createInstanceFromLibrary<KPanelMenu>( - QFile::encodeName( library_ ), + TQFile::encodeName( library_ ), parent, name ); } |