From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kuiviewer/kuiviewer.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kuiviewer/kuiviewer.cpp') diff --git a/kuiviewer/kuiviewer.cpp b/kuiviewer/kuiviewer.cpp index 91c54b9f..fab228b7 100644 --- a/kuiviewer/kuiviewer.cpp +++ b/kuiviewer/kuiviewer.cpp @@ -26,9 +26,9 @@ #include -#include -#include -#include +#include +#include +#include #include @@ -97,8 +97,8 @@ void KUIViewer::load(const KURL& url) void KUIViewer::setupActions() { - KStdAction::open(this, SLOT(fileOpen()), actionCollection()); - KStdAction::quit(kapp, SLOT(quit()), actionCollection()); + KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection()); + KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection()); } void KUIViewer::saveProperties(KConfig* /*config*/) @@ -122,7 +122,7 @@ void KUIViewer::fileOpen() // the Open shortcut is pressed (usually CTRL+O) or the Open toolbar // button is clicked KURL file_name = - KFileDialog::getOpenURL( QString::null, i18n("*.ui *.UI|User Interface Files"), this ); + KFileDialog::getOpenURL( TQString::null, i18n("*.ui *.UI|User Interface Files"), this ); if (file_name.isEmpty() == false) { @@ -145,7 +145,7 @@ void KUIViewer::fileOpen() } } -void KUIViewer::takeScreenshot(const QCString &filename, int w, int h){ +void KUIViewer::takeScreenshot(const TQCString &filename, int w, int h){ if(!m_part) return; showMinimized(); @@ -157,9 +157,9 @@ void KUIViewer::takeScreenshot(const QCString &filename, int w, int h){ // resize app to be as large as desired size adjustSize(); // Disable the saving of the size - setAutoSaveSettings(QString::fromLatin1("MainWindow"), false); + setAutoSaveSettings(TQString::fromLatin1("MainWindow"), false); } - QPixmap pixmap = QPixmap::grabWidget( m_part->widget() ); + TQPixmap pixmap = TQPixmap::grabWidget( m_part->widget() ); pixmap.save( filename, "PNG" ); } -- cgit v1.2.1