diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /lilo-config/kde/Details.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lilo-config/kde/Details.cpp')
-rw-r--r-- | lilo-config/kde/Details.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lilo-config/kde/Details.cpp b/lilo-config/kde/Details.cpp index 0775e8d..385b715 100644 --- a/lilo-config/kde/Details.cpp +++ b/lilo-config/kde/Details.cpp @@ -33,8 +33,8 @@ #include <tqlabel.h> #include <ui.h> -Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags /* f */) - : KDialogBase(parent, name, true, TQString::null, Ok|Cancel, Ok, true) +Details::Details(liloimage *lilo, TQWidget *tqparent, const char *name, WFlags /* f */) + : KDialogBase(tqparent, name, true, TQString(), Ok|Cancel, Ok, true) { l=lilo; @@ -101,7 +101,7 @@ Details::Details(liloimage *lilo, TQWidget *parent, const char *name, WFlags /* vga->setCurrentItem(1); else for(int i=0; i<vga->count(); i++) { - if(vga->text(i).contains("(" + mode + ")")) { + if(vga->text(i).tqcontains("(" + mode + ")")) { vga->setCurrentItem(i); break; } @@ -127,7 +127,7 @@ TQString Details::vgaMode() const if(s=="default") return ""; else if(s!="ask") { - s=s.mid(s.find('(')+1); + s=s.mid(s.tqfind('(')+1); s=s.left(s.length()-1); } return s; |