summaryrefslogtreecommitdiffstats
path: root/src/tdedocker.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-02-24 14:33:07 +0900
committerMichele Calgaro <[email protected]>2020-02-24 14:33:07 +0900
commit7fea3c42ee6179edaa3e9f36c794540ae73fcc95 (patch)
tree4cea28ad693ec218f0c17b4702fe6b01cb2fa79e /src/tdedocker.h
parent70194b269e22711c3bbbc18d339b69aab028371e (diff)
downloadtdedocker-7fea3c42ee6179edaa3e9f36c794540ae73fcc95.tar.gz
tdedocker-7fea3c42ee6179edaa3e9f36c794540ae73fcc95.zip
Completed kdocker -> tdedocker renaming effort.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tdedocker.h')
-rw-r--r--src/tdedocker.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/tdedocker.h b/src/tdedocker.h
new file mode 100644
index 0000000..46d0e13
--- /dev/null
+++ b/src/tdedocker.h
@@ -0,0 +1,59 @@
+/*
+ * Copyright (C) 2004 Girish Ramakrishnan All Rights Reserved.
+ *
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ * USA.
+ */
+
+// $Id: tdedocker.h,v 1.11 2005/02/09 03:32:26 cs19713 Exp $
+
+#ifndef _KDOCKER_H
+#define _KDOCKER_H
+
+#include <tqapplication.h>
+#include <X11/Xlib.h>
+
+#define KDOCKER_APP_VERSION "1.3"
+
+class TrayLabelMgr;
+
+class TDEDocker : public TQApplication
+{
+ Q_OBJECT
+
+public:
+ TDEDocker(int& argc, char** argv);
+
+ TrayLabelMgr *trayLabelMgr(void) { return mTrayLabelMgr; }
+
+ void dumpState(const TQString &file);
+ void printUsage(char optopt = 'h');
+
+protected:
+ bool x11EventFilter(XEvent * event);
+ void saveState(TQSessionManager &sm);
+
+private:
+ TQString saveSession();
+ bool restoreSession();
+ void notifyPreviousInstance(Window prevInstance);
+
+ void printVersion();
+
+ Window mSelectionOwner;
+ TrayLabelMgr *mTrayLabelMgr;
+};
+
+#endif // _KDOCKER_H