diff options
Diffstat (limited to 'src/ksquirrel.cpp')
| -rw-r--r-- | src/ksquirrel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ksquirrel.cpp b/src/ksquirrel.cpp index 92aa892..8f2a149 100644 --- a/src/ksquirrel.cpp +++ b/src/ksquirrel.cpp @@ -514,7 +514,7 @@ void KSquirrel::createWidgets(int createFirst) m_urlbox = tdeconf->readBoolEntry("has_url", false); // main TQVBox - mainPage = new TQVBox(this, TQString::fromLatin1("SQ_BROWSER_VBOX")); + mainPage = new TQVBox(this, "SQ_BROWSER_VBOX"); mainPage->resize(size()); SQ_SplashScreen::advance(); @@ -526,7 +526,7 @@ void KSquirrel::createWidgets(int createFirst) tools = new TDEToolBar(mainPage); // location toolbar - pTLocation = new TDEToolBar(mainPage, TQString::fromLatin1("Location toolbar")); + pTLocation = new TDEToolBar(mainPage, "Location toolbar"); pTLocation->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Minimum); // main splitter @@ -1748,7 +1748,7 @@ void KSquirrel::control(const TQString &command) { int id = it.data(); - TDEAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString::fromLatin1("action_%1").arg(id)); + TDEAction *a = SQ_GLWidget::window()->actionCollection()->action(TQString("action_%1").arg(id).local8Bit()); if(a) a->activate(); } @@ -1759,7 +1759,7 @@ void KSquirrel::control(const TQString &command) for(TQMap<TQString, int>::iterator it = messages.begin();it != messages.end();++it) { - std::cerr << it.key() << std::endl; + std::cerr << it.key().local8Bit() << std::endl; } std::cerr << "******************************" << std::endl; |
