summaryrefslogtreecommitdiffabout
path: root/microkde/kapplication.cpp
Side-by-side diff
Diffstat (limited to 'microkde/kapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kapplication.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index ad0b78e..98ef2f2 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -61,5 +61,10 @@ void KApplication::showFile(QString caption, QString fn)
text = ts.read();
file.close();
-
+ KApplication::showText( caption, text );
+
+}
+
+void KApplication::showText(QString caption, QString text)
+{
QDialog dia( 0, "name", true ); ;
dia.setCaption( caption );
@@ -76,4 +81,4 @@ void KApplication::showFile(QString caption, QString fn)
#endif
dia.exec();
-
+
}