summaryrefslogtreecommitdiffstats
path: root/src/setupdialogprg.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-10-01 17:05:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-10-01 17:05:29 +0200
commit39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70 (patch)
treed6bc97f38d36892b14703c788cef782f13ee2a4d /src/setupdialogprg.h
downloadkooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.tar.gz
kooldock-39f2c6a84cd715b11fb3ffa82a86abf2fb9bcd70.zip
Initial import of kooldock 0.4.7
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/setupdialogprg.h')
-rw-r--r--src/setupdialogprg.h102
1 files changed, 102 insertions, 0 deletions
diff --git a/src/setupdialogprg.h b/src/setupdialogprg.h
new file mode 100644
index 0000000..5539c5a
--- /dev/null
+++ b/src/setupdialogprg.h
@@ -0,0 +1,102 @@
+//
+// C++ Interface: setupdialogprg
+//
+// Description:
+//
+//
+// Author: KoolDock team <radix@kde.cl>, (C) 2004
+//
+// Copyright: See COPYING file that comes with this distribution
+//
+//
+#ifndef SETUPDIALOGPRG_H
+#define SETUPDIALOGPRG_H
+
+#include "setupdialog.h"
+#include "apppropprg.h"
+
+// QT includes
+#include <qcolor.h>
+#include <qstring.h>
+#include <qcheckbox.h>
+#include <qlineedit.h>
+#include <qspinbox.h>
+#include <qfont.h>
+#include <qptrlist.h>
+#include <qtabwidget.h>
+#include <qpushbutton.h>
+#include <qradiobutton.h>
+
+// KDE includes
+#include <kfontcombo.h>
+#include <kcolorcombo.h>
+#include <ktextedit.h>
+#include <kdebug.h>
+#include <kconfig.h>
+#include <kfontdialog.h>
+#include <kwinmodule.h>
+#include <netwm.h>
+#include <klineedit.h>
+
+/**
+@author KoolDock team
+*/
+
+class KoolDock;
+
+class SetupDialogPrg : public SetupDialog
+{
+Q_OBJECT
+ public:
+ SetupDialogPrg(QWidget *parent = 0, const char *name = 0);
+ ~SetupDialogPrg();
+ appProp *appdlg;
+ QString progPath;
+ QString menuPath;
+ KWinModule *gwm;
+ KLineEdit *in;
+ QPushButton *up;
+ QPushButton *down;
+ int grabbing;
+ int oldPos;
+ QString fileName;
+ QStringList fileList;
+ QString filepath;
+
+ public slots:
+ void editItem();
+ void iconsChanged();
+ void configOK();
+ void configApply();
+ void configCancel();
+ void chkHidden();
+ void chkImgSlot();
+ void chkSolidSlot();
+ void chkFont();
+ void chkTask();
+ void applist_dropped(QDropEvent*,const QValueList<QIconDragItem>&);
+ void buttonadd_clicked();
+ void applist_clicked(QIconViewItem *, const QPoint&);
+ void appRestart();
+ void appFill();
+ void appClear();
+ void grabWin_clicked();
+ void activeWindowChanged(WId id);
+ void applist_contextMenuRequested(QIconViewItem*,const QPoint&);
+ void removeLauncher();
+ void setnewpos(int);
+ void xrma_clicked();
+ void left();
+ void right();
+ signals:
+ void apply();
+
+ private:
+ void computeNewPos(int);
+
+ protected:
+ void closeEvent( QCloseEvent* );
+ void showEvent ( QShowEvent * );
+ void hideEvent ( QHideEvent * );
+};
+#endif