summaryrefslogtreecommitdiffstats
path: root/kpdf/shell/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/shell/shell.h')
-rw-r--r--kpdf/shell/shell.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/kpdf/shell/shell.h b/kpdf/shell/shell.h
index e36ddc78..6198aa4c 100644
--- a/kpdf/shell/shell.h
+++ b/kpdf/shell/shell.h
@@ -21,6 +21,7 @@
#endif
#include <tdeparts/mainwindow.h>
+#include "dcop.h"
class TQToolButton;
class TQPopupMenu;
@@ -43,11 +44,10 @@ namespace KPDF
* @author Wilco Greven <greven@kde.org>
* @version 0.1
*/
- class Shell : public KParts::MainWindow
+ class Shell : public KParts::MainWindow, virtual public KPDFShellDCOPIface
{
TQ_OBJECT
-
public:
/**
* Default Constructor
@@ -74,6 +74,8 @@ namespace KPDF
TabRemoveOther
};
+ const KURL currentTabURL();
+
protected:
/**
* This method is called when it is time for the app to save its
@@ -95,8 +97,9 @@ namespace KPDF
void reconfigure();
void openURL(const KURL & url);
- void slotAddTab();
- void slotRemoveTab();
+ void addTab();
+ void removeTab();
+
void slotQuit();
private slots: