summaryrefslogtreecommitdiffstats
path: root/src/setupdialogprg.h
blob: 51c3b2077552355311c990bdf6860fcca0c25d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
//
// C++ Interface: setupdialogprg
//
// Description: 
//
//
// Author: KoolDock team <[email protected]>, (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 <tqcolor.h>
#include <tqstring.h>
#include <tqcheckbox.h>
#include <tqlineedit.h>
#include <tqspinbox.h>
#include <tqfont.h>
#include <tqptrlist.h>
#include <tqtabwidget.h>
#include <tqpushbutton.h>
#include <tqradiobutton.h>

// KDE includes
#include <tdefontcombo.h>
#include <kcolorcombo.h>
#include <ktextedit.h>
#include <kdebug.h>
#include <tdeconfig.h>
#include <tdefontdialog.h> 
#include <twinmodule.h>
#include <netwm.h>
#include <klineedit.h>

/**
@author KoolDock team
*/

class KoolDock;

class SetupDialogPrg : public SetupDialog
{
  Q_OBJECT
  public:
    SetupDialogPrg(TQWidget* parent = 0, const char* name = 0);
    ~SetupDialogPrg();
    appProp* appdlg;
    TQString progPath;
    TQString menuPath;
    KWinModule* gwm;
    KLineEdit* in;
    TQPushButton* up;
    TQPushButton* down;
    int grabbing;
    int oldPos;
    TQString fileName;
    TQStringList fileList;
    TQString 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(TQDropEvent*, const TQValueList<TQIconDragItem>&);
    void buttonadd_clicked();
    void applist_clicked(TQIconViewItem*, const TQPoint&);
    void appRestart();
    void appFill();
    void appClear();
    void grabWin_clicked();
    void activeWindowChanged(WId id);
    void applist_contextMenuRequested(TQIconViewItem*, const TQPoint&);
    void removeLauncher();
    void setnewpos(int);
    void xrma_clicked();
    void left();
    void right();
  signals:
    void apply();

  private:
    void computeNewPos(int);
   
  protected:
    void closeEvent(TQCloseEvent*);
    void showEvent(TQShowEvent*);
    void hideEvent(TQHideEvent*);
};

#endif // SETUPDIALOGPRG_H