summaryrefslogtreecommitdiffstats
path: root/keduca/keduca/keduca.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /keduca/keduca/keduca.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'keduca/keduca/keduca.cpp')
-rw-r--r--keduca/keduca/keduca.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/keduca/keduca/keduca.cpp b/keduca/keduca/keduca.cpp
index 8abc874b..2ab99ea0 100644
--- a/keduca/keduca/keduca.cpp
+++ b/keduca/keduca/keduca.cpp
@@ -28,9 +28,9 @@
#include <kparts/componentfactory.h>
-#include <qlabel.h>
+#include <tqlabel.h>
-Keduca::Keduca( QWidget* parent, const char *name, WFlags f )
+Keduca::Keduca( TQWidget* parent, const char *name, WFlags f )
: KParts::MainWindow( parent, name, f ), _part( 0 )
{
setXMLFile( "keducaui.rc" );
@@ -53,7 +53,7 @@ Keduca::Keduca( QWidget* parent, const char *name, WFlags f )
kdFatal() << "The library \"libkeducapart\" could not be found. Aborting." << endl;
}
if (!initialGeometrySet())
- resize( QSize(550, 450).expandedTo(minimumSizeHint()));
+ resize( TQSize(550, 450).expandedTo(minimumSizeHint()));
}
Keduca::~Keduca()
@@ -63,17 +63,17 @@ Keduca::~Keduca()
void Keduca::setupActions()
{
- KStdAction::open( this, SLOT( slotFileOpen() ), actionCollection() );
- (void)new KAction( i18n( "Open &Gallery..." ), 0, 0, this, SLOT( slotGallery() ),
+ KStdAction::open( this, TQT_SLOT( slotFileOpen() ), actionCollection() );
+ (void)new KAction( i18n( "Open &Gallery..." ), 0, 0, this, TQT_SLOT( slotGallery() ),
actionCollection(), "open_gallery" );
- _recentFiles = KStdAction::openRecent(this, SLOT ( slotFileOpenURL(const KURL &) ),
+ _recentFiles = KStdAction::openRecent(this, TQT_SLOT ( slotFileOpenURL(const KURL &) ),
actionCollection());
- KStdAction::quit(kapp, SLOT( quit() ), actionCollection());
+ KStdAction::quit(kapp, TQT_SLOT( quit() ), actionCollection());
}
void Keduca::slotFileOpen()
{
- KURL url = KFileDialog::getOpenURL( QString::null, "application/x-edu", this, i18n("Open Educa File") );
+ KURL url = KFileDialog::getOpenURL( TQString::null, "application/x-edu", this, i18n("Open Educa File") );
if( !url.isEmpty() )
slotFileOpenURL( url );
}
@@ -125,6 +125,6 @@ void Keduca::initGallery(const KURL &urlFile)
if( !urlFile.url().isEmpty() )
galleries.putURL( urlFile );
- if( galleries.exec() == QDialog::Accepted )
+ if( galleries.exec() == TQDialog::Accepted )
slotFileOpenURL( galleries.getURL() );
}