diff options
Diffstat (limited to 'kommander/pluginmanager/mainwindow.cpp')
-rw-r--r-- | kommander/pluginmanager/mainwindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kommander/pluginmanager/mainwindow.cpp b/kommander/pluginmanager/mainwindow.cpp index 4cc67d62..94d365f5 100644 --- a/kommander/pluginmanager/mainwindow.cpp +++ b/kommander/pluginmanager/mainwindow.cpp @@ -28,14 +28,14 @@ #include <kglobal.h> #include <kstandarddirs.h> -MainWindow::MainWindow( QWidget* parent, const char *name, WFlags f ) +MainWindow::MainWindow( TQWidget* parent, const char *name, WFlags f ) : KMainWindow( parent, name, f ) { KToolBar *toolBar = new KToolBar( this ); toolBar->insertButton("fileopen", Add, true, i18n("Add") ); toolBar->insertButton("no", Remove, true, i18n("Remove") ); toolBar->insertButton("reload", Refresh, true, i18n("Refresh") ); - connect( toolBar, SIGNAL(clicked(int)), this, SLOT(toolButton(int)) ); + connect( toolBar, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(toolButton(int)) ); m_list = new KListBox( this ); setCentralWidget(m_list); @@ -67,17 +67,17 @@ void MainWindow::toolButton( int id ) void MainWindow::add() { - QString libDir = KGlobal::dirs()->findResourceDir("lib", "libkommanderplugin"); - QString plugin = KFileDialog::getOpenFileName(libDir, "lib*", this, + TQString libDir = KGlobal::dirs()->findResourceDir("lib", "libkommanderplugin"); + TQString plugin = KFileDialog::getOpenFileName(libDir, "lib*", this, i18n("Add Kommander Plugin")); add(plugin); } -void MainWindow::add(const QString &plugin) +void MainWindow::add(const TQString &plugin) { if (!m_pluginManager->add(plugin)) { - QString errMsg = i18n("<qt>Unable to load Kommander plugin<br><b>%1</b></qt>").arg(plugin); + TQString errMsg = i18n("<qt>Unable to load Kommander plugin<br><b>%1</b></qt>").arg(plugin); KMessageBox::error(this, errMsg, i18n("Cannot add plugin")); } else @@ -86,7 +86,7 @@ void MainWindow::add(const QString &plugin) void MainWindow::remove() { - QString plugin = m_list->currentText(); + TQString plugin = m_list->currentText(); if (m_pluginManager->remove(plugin)) refresh(); } |