summaryrefslogtreecommitdiff
path: root/noncore/apps/tinykate/tinykate.cpp
Unidiff
Diffstat (limited to 'noncore/apps/tinykate/tinykate.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/tinykate/tinykate.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/apps/tinykate/tinykate.cpp b/noncore/apps/tinykate/tinykate.cpp
index 694efc6..ea7ea45 100644
--- a/noncore/apps/tinykate/tinykate.cpp
+++ b/noncore/apps/tinykate/tinykate.cpp
@@ -184,8 +184,13 @@ void TinyKate::open(const QString & filename)
184 kd->open( filename ); 184 kd->open( filename );
185 viewCount++; 185 viewCount++;
186} 186}
187 187
188void TinyKate::setDocument(const QString& fileref)
189{
190 open( fileref );
191}
192
188void TinyKate::slotCurrentChanged( QWidget * view) 193void TinyKate::slotCurrentChanged( QWidget * view)
189{ 194{
190 if (currentView) { 195 if (currentView) {
191 196