summaryrefslogtreecommitdiffstats
path: root/src/libgui/main_global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/main_global.cpp')
-rw-r--r--src/libgui/main_global.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/main_global.cpp b/src/libgui/main_global.cpp
index 8741a44..283149d 100644
--- a/src/libgui/main_global.cpp
+++ b/src/libgui/main_global.cpp
@@ -8,7 +8,7 @@
***************************************************************************/
#include "main_global.h"
-#include <qpopupmenu.h>
+#include <tqpopupmenu.h>
#include "toplevel.h"
#include "common/global/about.h"
@@ -60,16 +60,16 @@ KAction *Main::action(KStdAction::StdAction action)
return _toplevel->KMainWindow::action(KStdAction::name(action));
}
-QPopupMenu &Main::popup(const char *name)
+TQPopupMenu &Main::popup(const char *name)
{
- QPopupMenu *popup = static_cast<QPopupMenu *>(_toplevel->factory()->container(name, _toplevel));
+ TQPopupMenu *popup = static_cast<TQPopupMenu *>(_toplevel->factory()->container(name, _toplevel));
Q_ASSERT(popup);
return *popup;
}
const Device::Data *Main::deviceData()
{
- QString name = device();
+ TQString name = device();
if ( name==Device::AUTO_DATA.name )
name = DeviceEditor::guessDeviceFromFile(_projectManager->projectUrl());
return Device::lister().data(name);
@@ -77,5 +77,5 @@ const Device::Data *Main::deviceData()
Editor *Main::currentEditor() { return _editorManager->currentEditor(); }
Project *Main::project() { return _projectManager->project(); }
-QString Main::device() { return Compile::Config::device(project()); }
+TQString Main::device() { return Compile::Config::device(project()); }
const Tool::Group &Main::toolGroup() { return Compile::Config::toolGroup(project()); }