diff options
Diffstat (limited to 'kdevdesigner/src')
-rw-r--r-- | kdevdesigner/src/kdevdesigner.cpp | 22 | ||||
-rw-r--r-- | kdevdesigner/src/main.cpp | 10 |
2 files changed, 16 insertions, 16 deletions
diff --git a/kdevdesigner/src/kdevdesigner.cpp b/kdevdesigner/src/kdevdesigner.cpp index 6ef40bd0..5e54297e 100644 --- a/kdevdesigner/src/kdevdesigner.cpp +++ b/kdevdesigner/src/kdevdesigner.cpp @@ -57,7 +57,7 @@ KDevDesigner::KDevDesigner() { // now that the Part is loaded, we cast it to a Part to get // our hands on it - QStringList args; + TQStringList args; args.append("in shell"); m_part = static_cast<KParts::ReadWritePart *>(factory->create(this, "kdevdesigner_part", "KParts::ReadWritePart", args)); @@ -99,16 +99,16 @@ void KDevDesigner::load(const KURL& url) void KDevDesigner::setupActions() { -/* KStdAction::openNew(this, SLOT(fileNew()), actionCollection()); - KStdAction::open(this, SLOT(fileOpen()), actionCollection());*/ +/* KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); + KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());*/ - KStdAction::quit(kapp, SLOT(quit()), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); - m_toolbarAction = KStdAction::showToolbar(this, SLOT(optionsShowToolbar()), actionCollection()); - m_statusbarAction = KStdAction::showStatusbar(this, SLOT(optionsShowStatusbar()), actionCollection()); + m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection()); + m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection()); - KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), actionCollection()); - KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection()); + KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection()); } void KDevDesigner::saveProperties(KConfig* /*config*/) @@ -174,8 +174,8 @@ void KDevDesigner::optionsConfigureToolbars() // use the standard toolbar editor KEditToolbar dlg(factory()); - connect(&dlg, SIGNAL(newToolbarConfig()), - this, SLOT(applyNewToolbarConfig())); + connect(&dlg, TQT_SIGNAL(newToolbarConfig()), + this, TQT_SLOT(applyNewToolbarConfig())); dlg.exec(); } @@ -190,7 +190,7 @@ void KDevDesigner::fileOpen() // the Open shortcut is pressed (usually CTRL+O) or the Open toolbar // button is clicked KURL url = - KFileDialog::getOpenURL( QString::null, QString::null, this ); + KFileDialog::getOpenURL( TQString::null, TQString::null, this ); if (url.isEmpty() == false) { diff --git a/kdevdesigner/src/main.cpp b/kdevdesigner/src/main.cpp index fc0f23f7..a535f575 100644 --- a/kdevdesigner/src/main.cpp +++ b/kdevdesigner/src/main.cpp @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <qsplashscreen.h> +#include <tqsplashscreen.h> #include <kxmlguiclient.h> #include "kdevdesigner.h" @@ -56,13 +56,13 @@ int main(int argc, char **argv) else { // no session.. just start up normally - QSplashScreen * splash = 0; - QString splashFile = locate("data", "kdevelop/pics/kdevdesigner-splash.png"); + TQSplashScreen * splash = 0; + TQString splashFile = locate("data", "kdevelop/pics/kdevdesigner-splash.png"); if (!splashFile.isNull()) { - QPixmap pm; + TQPixmap pm; pm.load(splashFile); - splash = new QSplashScreen( pm ); + splash = new TQSplashScreen( pm ); splash->show(); } |